Details
-
Improvement
-
Status: Closed
-
Minor
-
Resolution: Won't Fix
-
0.10
-
None
-
None
-
Ubuntu Lucid Lynx
-
Regular Contributors Level (Easy to Medium)
Description
When defining the path to a view server and using a non-existing target, the error message in my case was
[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}},
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>},
,
16,<<"web">>,"/var/lib/couchdb/0.10.0/web.couch",
[],[],nil,
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">>,
,
[]}],
,
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
Why not just printing a message like "ERROR: Path not found: /path/fo/file" ?
The way above makes it hard to guess the problem.
Attachments
Issue Links
- is duplicated by
-
COUCHDB-2197 Invalid couchjs raises EPIPE, should raise (useful) ENOENT
- Closed