Custom Query (2152 matches)

Filters
 
Or
 
  
 
Columns

Show under each result:


Results (1279 - 1281 of 2152)

Ticket Resolution Summary Owner Reporter
#1172 fixed Remove all try: except: blocks that don't re-raise the original exception dread thejimmyg

Reported by thejimmyg, 3 years ago.

Description

The current codebase has one or two try: except; blocks that don't catch specific exceptions. Under no circumstances should any broad try: except: blocks be allowed unless the exceptions they catch are immediately re-raised. Uncaught exceptions are wasting us quite a lot of time when trying to track down problems.

#1173 fixed Offer a DCat representation for packages in the API amercader amercader

Reported by amercader, 3 years ago.

Description

/api/rest/package/foo.rdf should return a DCat representation of the package. To create it, we will use the functions in ckanext-rdf.

#1176 fixed unicode_body exception thejimmyg dread

Reported by dread, 3 years ago.

Description

We seem to occasionally get this exception on ckan.net.

User agents causing this include:

  • Alexa ia_archiver (3/6/11)
  • Maxthon browser (17/5/11)
Module ckan.controllers.error:32 in document
<<              return original_response.body
               # Otherwise, decorate original response with error template.
               c.content = literal(original_response.unicode_body) or cgi.escape(request.GET.get('message', ''))
               c.prefix=request.environ.get('SCRIPT_NAME', ''),
               c.code=cgi.escape(request.GET.get('code', str(original_response.status_int))),
>>  c.content = literal(original_response.unicode_body) or cgi.escape(request.GET.get('message', ''))
AttributeError: 'NoneType' object has no attribute 'unicode_body'
Note: See TracQuery for help on using queries.