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

requests_cache rikki? #43

Open
jlehtoma opened this issue Jan 2, 2013 · 0 comments
Open

requests_cache rikki? #43

jlehtoma opened this issue Jan 2, 2013 · 0 comments
Assignees

Comments

@jlehtoma
Copy link
Contributor

jlehtoma commented Jan 2, 2013

Asensin datavaaleja uudelle läppärille (openSUSE 12.2 64-bit) ja tuli ongelmia requests_cache:n kanssa. run-importers.py antaa virheen:

Traceback (most recent call last):
  File "./run-importers.py", line 6, in <module>
    import requests_cache
  File "/home/jlehtoma/dev/envs/datavaalit/lib/python2.7/site-packages/requests_cache/__init__.py", line 28, in <module>
    from requests_cache.core import(
  File "/home/jlehtoma/dev/envs/datavaalit/lib/python2.7/site-packages/requests_cache/core.py", line 22, in <module>
    _original_request_send = Request.send
AttributeError: type object 'Request' has no attribute 'send'

Versiot:

requests==1.0.4
requests-cache==0.1.3

Ilmeisesti requests 1.0.0 toteutti kasan uudistuksia, jotka rikkoivat taaksepäin yhteensopivuuden:
https://github.com/kennethreitz/requests/blob/master/HISTORY.rst#100-2012-12-17

Vanhempi versio 0.14.2 saattaisi toimia

@ghost ghost assigned juyrjola Jan 2, 2013
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

2 participants