Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

crawler: ERROR / had unhandled exception: 'response' #27

Open
viciu opened this issue Jan 26, 2012 · 0 comments
Open

crawler: ERROR / had unhandled exception: 'response' #27

viciu opened this issue Jan 26, 2012 · 0 comments

Comments

@viciu
Copy link

viciu commented Jan 26, 2012

When running ./manage.py crawlurls I get error like this:

crawler     : INFO     START: link to /projects with parameters {}
crawler     : INFO     /projects: link to / with parameters {}
crawler     : ERROR    / had unhandled exception: 'response'
Traceback (most recent call last):
  File "/usr/local/lib/python2.6/dist-packages/test_utils/crawler/base.py", line 121, in run
    resp, returned_urls = self.get_url(from_url, to_url)
  File "/usr/local/lib/python2.6/dist-packages/test_utils/crawler/base.py", line 87, in get_url
    test_signals.post_request.send(self, url=to_url, response=resp)
  File "/usr/local/lib/python2.6/dist-packages/django/dispatch/dispatcher.py", line 172, in send
    response = receiver(signal=self, sender=sender, **named)
  File "/usr/local/lib/python2.6/dist-packages/test_utils/crawler/plugins/sanitize.py", line 28, in post_request
    fo.write(kwargs['response'].content)
KeyError: 'response'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant