[
https://issues.apache.org/jira/browse/COUCHDB-1241?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13081143#comment-13081143
]
Filipe Manana commented on COUCHDB-1241:
----------------------------------------
This is my fault here, and it certainly affects trunk.
Nathan, in case you're able to patch and build from source, here's a quick fix:
http://friendpaste.com/6g6tQIIvjnBEi7a2vkIQDc
> function_clause error when making HTTP request to external process
> ------------------------------------------------------------------
>
> Key: COUCHDB-1241
> URL: https://issues.apache.org/jira/browse/COUCHDB-1241
> Project: CouchDB
> Issue Type: Bug
> Affects Versions: 1.2
> Environment: Couchbase Single Server 2.0.0-dev4 on OS X 10.7
> Reporter: Nathan Vander Wilt
>
> A Python external helper based on the old/original protocol
> (http://wiki.apache.org/couchdb/ExternalProcesses) that worked fine under
> earlier versions of CouchDB but is exploding on Couchbase Server v2.0.0-dev4
> (1.2.0a-b11df55-git):
> [error] [<0.16764.1>] function_clause error in HTTP request
> [info] [<0.16764.1>] Stacktrace: [{couch_httpd_external,
> parse_external_response,
> [{json,
> <<"{\"json\": {\"allows_originals\":
> false, \"ok\": true}}">>}]},
> {couch_httpd_external,
> send_external_response,2},
> {couch_db_frontend,do_db_req,2},
> {couch_httpd,handle_request_int,6},
> {mochiweb_http,headers,5},
> {proc_lib,init_p_do_apply,3}]
> [info] [<0.16764.1>] 127.0.0.1 - - POST
> /photos/_local_shutterstem/folder/imgsrc-abc123/update?utility=%2FVolumes%2FEOS_DIGITAL%2FDCIM%2FShutterStem%20-%20Import%20EOS%20350D.html&token=ABC123
> 500
> My external process seems to be getting called successfully but CouchDB gets
> unhappy when trying to forward the result to the client.
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira