ptwobrussell/Mining-the-Social-Web — Issue #11: Same issue with 'the_tweet_search.py' code
Author: digitalpaula
Created: 2011-11-20 19:05:52+00:00
State: open

Hi Matthew,

I thought I could move on in the book but came across the same problem when running the tweet search code.

I entered teaparty as the argument in the PythonWin argument line and got the same error.

error: [Errno 10061] No connection could be made because the target machine actively refused it

This is the error code that proceeded the above:

File "C:\Python27\Lib\site-packages\pythonwin\pywin\framework\scriptutils.py", line 325, in RunScript
exec codeObject in __main__.__dict__
File "C:\Python27\search.py", line 23, in
db = server.create(DB)
File "build\bdist.win32\egg\couchdb\client.py", line 193, in create
self.resource.put_json(validate_dbname(name))
File "build\bdist.win32\egg\couchdb\http.py", line 405, in put_json
status, headers, data = self.put(*a, **k)
File "build\bdist.win32\egg\couchdb\http.py", line 384, in put
return self._request('PUT', path, body=body, headers=headers, **params)
File "build\bdist.win32\egg\couchdb\http.py", line 419, in _request
credentials=self.credentials)
File "build\bdist.win32\egg\couchdb\http.py", line 239, in request
resp = _try_request_with_retries(iter(self.retry_delays))
File "build\bdist.win32\egg\couchdb\http.py", line 205, in _try_request_with_retries
raise e

Would really love to run the tweet search code on other topics. Please advise.

Thanks.

Regards,
Paula