ptwobrussell / Mining-the-Social-Web

The official online compendium for Mining the Social Web (O'Reilly, 2011)
http://bit.ly/135dHfs
Other
1.21k stars 491 forks source link

Error for example 5-3 #37

Open li-xia opened 11 years ago

li-xia commented 11 years ago

Hi Russell,

I had error when ran example 5-3, here is the error I got: * Reason for termination == * {'EXIT', {{badmatch, {error,{bad_return_value,{os_process_error,{exit_status,4}}}}}, [{couch_query_servers,new_process,3, [{file,"d:/relax/couchdb/src/couchdb/couch_query_servers.erl"}, {line,477}]}, {couch_query_servers,lang_proc,3, [{file,"d:/relax/couchdb/src/couchdb/couch_query_servers.erl"}, {line,462}]}, {couch_query_servers,handle_call,3, [{file,"d:/relax/couchdb/src/couchdb/couch_query_servers.erl"}, {line,334}]}, {gen_server,handle_msg,5,[{file,"gen_server.erl"},{line,578}]}, {proc_lib,init_p_do_apply,3,[{file,"proc_lib.erl"},{line,227}]}]}}

Any reason? Thanks

li-xia commented 11 years ago

There is something wrong with KW['since_id'] = int([_id for _id in db.view('index/max_tweet_id')][0].value), i replaced it with KW['since_id'] = 1, and it works fine. Then I started doing example 5-4, and it threw error too, which seems something error with the view 'max_tweet_id' and 'entity_count_by_doc'.

ptwobrussell commented 11 years ago

Did you make any additional progress troubleshooting this issue?