lanto03 / couchdb-python

Automatically exported from code.google.com/p/couchdb-python
Other
0 stars 0 forks source link

default python temporary view under ubuntu does not work #140

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. Install couchdb under ubuntu from repository (0.10.0)
2. Remove python-couchdb and install couchdb via pip
3. Call the default temporary view

What is the expected output? What do you see instead?

Expected: Simple default view test output. Instead:

[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 version of the product are you using? On what operating system?

Couchdb 0.10.0, couchdb 0.7, ubuntu lucid lynx

Please provide any additional information below.

Original issue reported on code.google.com by maili...@julianmoritz.de on 4 Jul 2010 at 8:51

GoogleCodeExporter commented 8 years ago
I think this is because our view server is outdated. Duping to issue #146.

Original comment by djc.ochtman on 22 Dec 2010 at 9:13