Return-Path: Delivered-To: apmail-couchdb-user-archive@www.apache.org Received: (qmail 90228 invoked from network); 20 Jun 2010 10:47:53 -0000 Received: from unknown (HELO mail.apache.org) (140.211.11.3) by 140.211.11.9 with SMTP; 20 Jun 2010 10:47:53 -0000 Received: (qmail 66896 invoked by uid 500); 20 Jun 2010 10:47:52 -0000 Delivered-To: apmail-couchdb-user-archive@couchdb.apache.org Received: (qmail 66350 invoked by uid 500); 20 Jun 2010 10:47:49 -0000 Mailing-List: contact user-help@couchdb.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: user@couchdb.apache.org Delivered-To: mailing list user@couchdb.apache.org Received: (qmail 66342 invoked by uid 99); 20 Jun 2010 10:47:47 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 20 Jun 2010 10:47:47 +0000 X-ASF-Spam-Status: No, hits=3.1 required=10.0 tests=AWL,FREEMAIL_ENVFROM_END_DIGIT,FREEMAIL_FROM,RCVD_IN_DNSWL_NONE,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of a.afzali2003@gmail.com designates 209.85.214.52 as permitted sender) Received: from [209.85.214.52] (HELO mail-bw0-f52.google.com) (209.85.214.52) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 20 Jun 2010 10:47:41 +0000 Received: by bwz16 with SMTP id 16so1333568bwz.11 for ; Sun, 20 Jun 2010 03:47:19 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:received:date:message-id :subject:from:to:content-type; bh=fWrwqUC/Bg0DI4Ncxq4ks9CruIJW3ljPlqJlxMpkkQA=; b=cNhJJ0yDJpNh7W2mbXTxeVs39X2clbcIjsDvS4evLYe7srs5jOKTabq3nRQUyfxlKr d0H2iQ7xpfrzrOQBFZXZpGpkeuNJpRZQpuKqNEBL1TvKKLegs6UuasEsO2r8GYcufJ0d +KJQQ5KwlR6TlUqP/cBbmmYx1l1bjrZ42Y2u4= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:date:message-id:subject:from:to:content-type; b=A3pCTrWt3ThnGaHXercmDZrfeOzF4ibJRoeWNbVfE3q4l8LMKvm08TgVBKX5lr3VXW fXyon87+7VtioHxPtGJ+vTqZ0Ar80hn7Q3ilhwMHuyEIbGtiAlPaNm3XIH6GeehjSHDk rVVebURuRZjUVX/956+lpozZMYZMzbzXl3URc= MIME-Version: 1.0 Received: by 10.204.131.132 with SMTP id x4mr1689460bks.183.1277030839770; Sun, 20 Jun 2010 03:47:19 -0700 (PDT) Received: by 10.204.54.131 with HTTP; Sun, 20 Jun 2010 03:47:19 -0700 (PDT) Date: Sun, 20 Jun 2010 14:17:19 +0330 Message-ID: Subject: Unable To Get Python External Process Works From: afshin afzali To: user Content-Type: text/plain; charset=ISO-8859-1 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