lehmannro / pyhkal2

IRC bot with bling bling
7 stars 2 forks source link

415 Unsupported Media Type #26

Closed lehmannro closed 14 years ago

lehmannro commented 14 years ago

contrib.karma.karma_edit causes this HTTP error:

[IRCClient,client] Starting factory <HTTPClientFactory: http://localhost:5984/pyhkal/_view/karma/getKarma?key=%22karma%22&include_docs=true>
[HTTPPageGetter,client] Starting factory <HTTPClientFactory: http://localhost:5984/pyhkal/>
[HTTPPageGetter,client] Stopping factory <HTTPClientFactory: http://localhost:5984/pyhkal/_view/karma/getKarma?key=%22karma%22&include_docs=true>
[HTTPPageGetter,client] Unhandled error in Deferred:
[HTTPPageGetter,client] Unhandled Error
          Traceback (most recent call last):
          Failure: twisted.web.error.Error: 415 Unsupported Media Type
[HTTPPageGetter,client] Stopping factory <HTTPClientFactory: http://localhost:5984/pyhkal/>

New CouchDB version is the likely culprit again. _design/karma/_getKarma has been confirmed OK; contrib.karma.karma_say works just fine. include_docs is the only visible difference between these two queries.

obama commented 14 years ago

solved?

lehmannro commented 14 years ago

Indeed fixed in c1ffbc071b48cbcb3338d2e7c985c6ace614dc08. Thanks!