incubator-couchdb-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From afshin afzali <a.afzali2...@gmail.com>
Subject Unable To Get Python External Process Works
Date Sun, 20 Jun 2010 10:47:19 GMT
Hi Guys,

On CouchDB 0.11 (Ubuntu 10.04 LTS X64 Server Edition)

I've followed the http://wiki.apache.org/couchdb/ExternalProcesses.
But it seems there is something wrong to access my python's handler.
The log contains this trace :

{badarg,[{erlang,port_command,
                    [#Port<0.1748>,
                     [123,
                      [34,<<"info">>,34],
                      58,
                      [123,
                       [34,"db_name",34],
                       58,
                       [34,<<"afshindb">>,34],
                       44,
                       [34,"doc_count",34],
                       58,"0",44,
                       [34,"doc_del_count",34],
                       58,"0",44,
                       [34,"update_seq",34],
                       58,"0",44,
                       [34,"purge_seq",34],
                       58,"0",44,
                       [34,"compact_running",34],
                       58,<<"false">>,44,
                       [34,"disk_size",34],
                       58,"79",44,
                       [34,"instance_start_time",34],
                       58,
                       [34,<<"1277026411565516">>,34],
                       44,
                       [34,"disk_format_version",34],
                       58,"5",125],
                      44,
                      [34,<<"id">>,34],
                      58,<<"null">>,44,
                      [34,<<"method">>,34],
                      58,
                      [34,"GET",34],
                      44,
                      [34,<<"path">>,34],
                      58,
                      [91,[34,<<"afshindb">>,34],44,[34,<<"_cdr">>,34],93],
                      44,
                      [34,<<"query">>,34],
                      58,<<"{}">>,44,
                      [34,<<"headers">>,34],
                      58,
                      [123,
                       [34,<<"Accept">>,34],
                       58,
                       [34,<<"*/*">>,34],
                       44,
                       [34,<<"Host">>,34],
                       58,
                       [34,<<"192.168.128.36:5984">>,34],
                       44,
                       [34,<<"User-Agent">>,34],
                       58,
                       [34,
                        <<"curl/7.19.7 (x86_64-pc-linux-gnu)
libcurl/7.19.7 OpenSSL/0.9.8k zl
ib/1.2.3.3 libidn/1.15">>,
                        34],
                       125],
                      44,
                      [34,<<"body">>,34],
                      58,
                      [34,"undefined",34],
                      44,
                      [34,<<"peer">>,34],
                      58,
                      [34,<<"192.168.128.36">>,34],
                      44,
                      [34,<<"form">>,34],
                      58,<<"{}">>,44,
                      [34,<<"cookie">>,34],
                      58,<<"{}">>,44,
                      [34,<<"userCtx">>,34],
                      58,
                      [123,
                       [34,<<"db">>,34],
                       58,
                       [34,<<"afshindb">>,34],
                       44,
                       [34,<<"name">>,34],
                       58,<<"null">>,44,
                       [34,<<"roles">>,34],
                       58,<<"[]">>,125],
                      125,10]]},
            {couch_os_process,writeline,2},
            {couch_os_process,writejson,2},
            {couch_os_process,handle_call,3},
            {gen_server,handle_msg,5},
            {proc_lib,init_p_do_apply,3}]}

appreciate all comments,
-- afshin

Mime
View raw message