Hi Julian, I was actually experiencing the same problem in Ubuntu 10.04, and it was actually the path that was wrong. I followed the instructions found here http://packages.python.org/CouchDB/views.html, which are wrong.
Rachel, thanks for pointing the correct path. Regards, Fidel. On 7/5/10, Julian Moritz <[email protected]> wrote: > Hi, > > Am Montag, den 05.07.2010, 11:43 +0100 schrieb Rachel Willmer: >> Do you have the python query server installed and in the place >> expected by the couchdb config? >> > > I had the wrong path, I've confused /usr/bin and /usr/local/bin... > > Regards > Julian > >> For example, I have 0.11 installed in Lucid from source, my >> /etc/couchdb/local.ini has this: >> >> [query_servers] >> python=/usr/local/bin/couchpy >> >> And IIRC, I had to change the config from the standard >> /usr/bin/couchpy given in the documentation. >> >> Rachel >> >> On 4 July 2010 09:55, Julian Moritz <[email protected]> wrote: >> > Hi, >> > >> > I've installed couchdb-bin from lucid lynx repository and additionally >> > installed couchdb via pip (and removed python-couchdb from my system). >> > >> > So I've got installed version 0.10.0 and 0.7. >> > >> > When I call the default temporary python view in futon, a window pops up >> > and reads >> > >> > "Error: unknown_error >> > >> > epipe" >> > >> > The log-file reads >> > >> > [Sun, 04 Jul 2010 08:48:06 GMT] [error] [<0.108.0>] ** Generic server >> > <0.108.0> terminating >> > ** Last message in was {'EXIT',<0.111.0>,epipe} >> > ** When Server state == {group_state,undefined,<<"web">>, >> > {"/var/lib/couchdb/0.10.0",<<"web">>, >> > {group, >> > >> > <<54,48,77,50,3,129,147,16,223,202,27,98,9,139,74, >> > 233>>, >> > >> > {db,<0.71.0>,<0.72.0>,nil,<<"1278233277155316">>, >> > <0.69.0>,<0.75.0>, >> > {db_header,4,16,0, >> > {738330,{8,1}}, >> > {739403,9}, >> > nil,0,nil,nil,1000}, >> > 16, >> > {btree,<0.69.0>, >> > {738330,{8,1}}, >> > #Fun<couch_db_updater.8.117532479>, >> > #Fun<couch_db_updater.9.105507025>, >> > #Fun<couch_db_updater.7.32442936>, >> > #Fun<couch_db_updater.10.43662179>}, >> > {btree,<0.69.0>, >> > {739403,9}, >> > #Fun<couch_db_updater.11.41695917>, >> > #Fun<couch_db_updater.12.6934644>, >> > #Fun<couch_btree.5.124754102>, >> > #Fun<couch_db_updater.13.28245598>}, >> > >> > {btree,<0.69.0>,nil,#Fun<couch_btree.0.83553141>, >> > #Fun<couch_btree.1.30790806>, >> > #Fun<couch_btree.2.124754102>,nil}, >> > >> > 16,<<"web">>,"/var/lib/couchdb/0.10.0/web.couch", >> > [],[],nil, >> > {user_ctx,null,[]}, >> > nil,1000, >> > [before_header,after_header,on_file_open]}, >> > nil,<<"_temp">>,<<"python">>,[], >> > [{view,0, >> > [<<"_temp">>], >> > <<"def fun(doc):\n yield None, >> > doc">>,nil,[]}], >> > nil,0,0,nil,nil}}, >> > {group, >> > >> > <<54,48,77,50,3,129,147,16,223,202,27,98,9,139,74,233>>, >> > >> > {db,<0.71.0>,<0.72.0>,nil,<<"1278233277155316">>, >> > <0.69.0>,<0.75.0>, >> > {db_header,4,16,0, >> > {738330,{8,1}}, >> > {739403,9}, >> > nil,0,nil,nil,1000}, >> > 16, >> > {btree,<0.69.0>, >> > {738330,{8,1}}, >> > #Fun<couch_db_updater.8.117532479>, >> > #Fun<couch_db_updater.9.105507025>, >> > #Fun<couch_db_updater.7.32442936>, >> > #Fun<couch_db_updater.10.43662179>}, >> > {btree,<0.69.0>, >> > {739403,9}, >> > #Fun<couch_db_updater.11.41695917>, >> > #Fun<couch_db_updater.12.6934644>, >> > #Fun<couch_btree.5.124754102>, >> > #Fun<couch_db_updater.13.28245598>}, >> > >> > {btree,<0.69.0>,nil,#Fun<couch_btree.0.83553141>, >> > #Fun<couch_btree.1.30790806>, >> > #Fun<couch_btree.2.124754102>,nil}, >> > >> > 16,<<"web">>,"/var/lib/couchdb/0.10.0/web.couch", >> > [],[],nil, >> > {user_ctx,null,[]}, >> > nil,1000, >> > [before_header,after_header,on_file_open]}, >> > <0.109.0>,<<"_temp">>,<<"python">>,[], >> > [{view,0, >> > [<<"_temp">>], >> > <<"def fun(doc):\n yield None, doc">>, >> > {btree,<0.109.0>,nil, >> > #Fun<couch_btree.3.83553141>, >> > #Fun<couch_btree.4.30790806>, >> > #Fun<couch_view.less_json_keys.2>, >> > #Fun<couch_view_group.11.46347864>}, >> > []}], >> > >> > {btree,<0.109.0>,nil,#Fun<couch_btree.0.83553141>, >> > #Fun<couch_btree.1.30790806>, >> > #Fun<couch_btree.2.124754102>,nil}, >> > 0,0,nil,nil}, >> > <0.111.0>,nil,false, >> > [{{<0.74.0>,#Ref<0.0.0.673>},16}], >> > <0.112.0>} >> > ** Reason for termination == >> > ** epipe >> > >> > What's wrong here? >> > >> > Regards >> > Julian >> > >> > > > >
