You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@couchdb.apache.org by "Nathan Vander Wilt (JIRA)" <ji...@apache.org> on 2011/08/08 17:56:27 UTC
[jira] [Created] (COUCHDB-1241) function_clause error when making
HTTP request to external process
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
[jira] [Commented] (COUCHDB-1241) function_clause error when making
HTTP request to external process
Posted by "Filipe Manana (JIRA)" <ji...@apache.org>.
[ 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
[jira] [Resolved] (COUCHDB-1241) function_clause error when making
HTTP request to external process
Posted by "Filipe Manana (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/COUCHDB-1241?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Filipe Manana resolved COUCHDB-1241.
------------------------------------
Resolution: Fixed
Fix applied to trunk
> 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
> Assignee: Filipe Manana
>
> 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
[jira] [Assigned] (COUCHDB-1241) function_clause error when making
HTTP request to external process
Posted by "Filipe Manana (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/COUCHDB-1241?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Filipe Manana reassigned COUCHDB-1241:
--------------------------------------
Assignee: Filipe Manana
> 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
> Assignee: Filipe Manana
>
> 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
[jira] [Commented] (COUCHDB-1241) function_clause error when making
HTTP request to external process
Posted by "Paul Joseph Davis (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/COUCHDB-1241?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13081026#comment-13081026 ]
Paul Joseph Davis commented on COUCHDB-1241:
--------------------------------------------
Can you verify that this affects CouchDB? If its CouchBase specific you'll want to submit it downstream.
> 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