Custom Query (2152 matches)

Filters
 
Or
 
  
 
Columns

Show under each result:


Results (2149 - 2151 of 2152)

Ticket Resolution Summary Owner Reporter
#795 duplicate "Match up" GEMINI2 "metadata point of contact" with registered entities thejimmyg johnbywater

Reported by johnbywater, 3 years ago.

Description

TM wants to know how this will be "matched up". I don't know whether this always the data provider, or sometimes the publisher.

#1395 fixed "Import Error: cannot import name UnicodeMultiDict" when installing ckan from source seanh

Reported by seanh, 3 years ago.

Description

At the paster db init command when installing ckan from source I get the error "Import Error: cannot import name UnicodeMultiDict?" (happens with both ckan 1.4.2 and today's latest bleeding edge code, on Ubuntu 10.04.3).

UnicodeMultiDict? has been removed in a recent version of python-webob, and the pip install ... lucid_missing.txt causes a too-new version of python-webob to be installed into ckan's virtualenv (the new webob gets installed as a dependency of formalchemy).

I manually did pip uninstall webob and then ran paster db init again and it worked.

#1206 fixed "Content-Type json" header scuppers package POST wwaites dread

Reported by dread, 3 years ago.

Description

Compare these two requests to create a package:

curl http://test.ckan.net/api/rest/package -d '{name:"test"}' -H 'Content-Type: application/json' -H 'X-CKAN-API-KEY: tester'
curl http://test.ckan.net/api/rest/package -d '{name:"test"}' -H 'X-CKAN-API-KEY: tester'

The second one gets the payload through (ckan log):

Retrieving request params: UnicodeMultiDict([('{name:"test"}', u'')])

But the first one causes a ServerError? because the payload (name:"test") doesn't make it to request.POST or request.params:

Retrieving request params: UnicodeMultiDict([])

The only difference is the "ContentType?: application/json" header, which seems a reasonable thing to include. Javascript lib backbone.js (for example) inserts this automatically.

So why does this header cause the payload to not get through to the request object?

Note: See TracQuery for help on using queries.