incubator-couchdb-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ishi soichi <soichi...@gmail.com>
Subject couchdb.http.ServerError: (500
Date Sun, 09 Dec 2012 09:09:51 GMT
Python 27 with vertualenv
MacOSX SnowLeopard
Apache CouchDB 1.2.0

I am trying to execute the following code
https://github.com/ptwobrussell/Mining-the-Social-Web/blob/master/python_code/the_tweet__count_entities_in_tweets.py
but it gives a large (?) error (the error is show after the message).

I cannot figure out the cause of error at all.
Could anyone help me out?

soichi

P.S.The error looks like this

[info] [<0.264.0>] 127.0.0.1 - - PUT /tweets-user-timeline-soujiro0725 412
[info] [<0.264.0>] 127.0.0.1 - - HEAD /tweets-user-timeline-soujiro0725 200
[error] [emulator] Error in process <0.856.0> with exit value:
{{nocatch,{'EXIT',{{badmatch,[]},[{couch_query_servers,new_process,3,[{file,"couch_query_servers.erl"},{line,472}]},{couch_query_servers,lang_proc,3,[{file,"couch_query_servers.erl"},{line,462}]},{couch_query_servers,handle_call...



=ERROR REPORT==== 9-Dec-2012::17:56:43 ===
Error in process <0.856.0> with exit value:
{{nocatch,{'EXIT',{{badmatch,[]},[{couch_query_servers,new_process,3,[{file,"couch_query_servers.erl"},{line,472}]},{couch_query_servers,lang_proc,3,[{file,"couch_query_servers.erl"},{line,462}]},{couch_query_servers,handle_call...

[error] [<0.849.0>] ** Generic server <0.849.0> terminating
** Last message in was {'EXIT',<0.853.0>,
                        {{nocatch,
                          {'EXIT',
                           {{badmatch,[]},
                            [{couch_query_servers,new_process,3,

[{file,"couch_query_servers.erl"},{line,472}]},
                             {couch_query_servers,lang_proc,3,

[{file,"couch_query_servers.erl"},{line,462}]},
                             {couch_query_servers,handle_call,3,

[{file,"couch_query_servers.erl"},{line,334}]},
                             {gen_server,handle_msg,5,
                              [{file,"gen_server.erl"},{line,588}]},
                             {proc_lib,init_p_do_apply,3,
                              [{file,"proc_lib.erl"},{line,227}]}]}}},
                         [{couch_query_servers,get_os_process,1,
                           [{file,"couch_query_servers.erl"},{line,578}]},
                          {couch_query_servers,start_doc_map,3,

... omitted...

    stack_size: 24
    reductions: 1189
  neighbours:
[info] [<0.264.0>] 127.0.0.1 - - POST
/tweets-user-timeline-soujiro0725/_temp_view 500
Traceback (most recent call last):
  File "view_couchdb2.py", line 42, in <module>
    show_by_rt_count(db, 1)
  File "view_couchdb2.py", line 32, in show_by_rt_count
    results_new = [_result for _result in results if _result.key > rt_min]
  File
"/Users/soichi/domains/py27/lib/python2.7/site-packages/couchdb/client.py",
line 984, in __iter__
    return iter(self.rows)
  File
"/Users/soichi/domains/py27/lib/python2.7/site-packages/couchdb/client.py",
line 1003, in rows
    self._fetch()
  File
"/Users/soichi/domains/py27/lib/python2.7/site-packages/couchdb/client.py",
line 990, in _fetch
    data = self.view._exec(self.options)
  File
"/Users/soichi/domains/py27/lib/python2.7/site-packages/couchdb/client.py",
line 914, in _exec
    }, **self._encode_options(options))
  File
"/Users/soichi/domains/py27/lib/python2.7/site-packages/couchdb/http.py",
line 399, in post_json
    status, headers, data = self.post(*a, **k)
  File
"/Users/soichi/domains/py27/lib/python2.7/site-packages/couchdb/http.py",
line 381, in post
    **params)
  File
"/Users/soichi/domains/py27/lib/python2.7/site-packages/couchdb/http.py",
line 419, in _request
    credentials=self.credentials)
  File
"/Users/soichi/domains/py27/lib/python2.7/site-packages/couchdb/http.py",
line 310, in request
    raise ServerError((status, error))
couchdb.http.ServerError: (500, (u'EXIT', u'{{badmatch,[]},\n
[{couch_query_servers,new_process,3,\n
[{file,"couch_query_servers.erl"},{line,472}]},\n
 {couch_query_servers,lang_proc,3,\n
[{file,"couch_query_servers.erl"},{line,462}]},\n
 {couch_query_servers,handle_call,3,\n
[{file,"couch_query_servers.erl"},{line,334}]},\n
 {gen_server,handle_msg,5,[{file,"gen_server.erl"},{line,588}]},\n
 {proc_lib,init_p_do_apply,3,[{file,"proc_lib.erl"},{line,227}]}]}'))

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