incubator-couchdb-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Kenneth Tyler <...@8thfold.com>
Subject Re: bad views
Date Mon, 20 Sep 2010 00:37:54 GMT
another symptom:
if i try and compact views in one of the "bad" databases, i get:
The view could not be compacted: {gen_server,call,
    [couch_view,
     {get_group_server,<<"g_wyght_47611">>,
         {group,
             <<143,227,38,213,39,16,222,38,43,128,238,78,41,80,127,81>>,
             nil,nil,<<"_design/prototype">>,<<"javascript">>,[],
             [{view,0,
                  [<<"files">>],
                  <<"function(doc) { if(doc.type=='file'){emit(doc.title,
doc);}}">>,
                  nil,[],[]},
              {view,1,
                  [<<"wikis">>],
                  <<"function(doc) { if(doc.type=='wiki'){emit(doc.title,
doc);}}">>,
                  nil,[],[]},
              {view,2,
                  [<<"breadcrumbs">>],
                  <<"function(doc) {if(doc.key){ emit(doc.key,
doc);}}">>,nil,
                  [],[]},
              {view,3,
                  [<<"prototypes">>],
                  <<"function(doc) {if(doc.type=='prototype'){
emit(doc.title, doc);}}">>,
                  nil,[],[]}],
             nil,0,0,nil,nil}}]}

i get a similar message if i try to "clean-up"

again, it really makes me wonder that importing data into couch has such
erratic effects... isn't there any kind of way to check text before
importing it to avoid these kinds of problems ????
ken tyler

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message