-
-
Notifications
You must be signed in to change notification settings - Fork 33
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
'HTTPResponse' object has no attribute 'chunked' #18
Comments
Thank you! But I thought pip is a package manager, why doesn't it check for the requests package version when installing lastversion? |
dvershinin
added a commit
that referenced
this issue
Apr 4, 2020
There was no specific version requirement set by lastversion, so |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Installed using pip
lastversion https://github.com/php/php-src
Traceback (most recent call last):
File "/usr/bin/lastversion", line 9, in
load_entry_point('lastversion==1.1.1', 'console_scripts', 'lastversion')()
File "/usr/lib/python2.7/site-packages/lastversion/lastversion.py", line 195, in main
args.shorter_urls, args.major)
File "/usr/lib/python2.7/site-packages/lastversion/lastversion.py", line 53, in latest
release = s.get_latest(pre_ok=pre_ok, major=major)
File "/usr/lib/python2.7/site-packages/lastversion/GitHubRepoSession.py", line 137, in get_latest
r = self.get('https://{}/{}/releases.atom'.format(self.hostname, self.repo))
File "/usr/lib/python2.7/site-packages/lastversion/GitHubRepoSession.py", line 46, in get
r = super(GitHubRepoSession, self).get(url, **kwargs)
File "/usr/lib/python2.7/site-packages/requests/sessions.py", line 498, in get
return self.request('GET', url, **kwargs)
File "/usr/lib/python2.7/site-packages/requests/sessions.py", line 486, in request
resp = self.send(prep, **send_kwargs)
File "/usr/lib/python2.7/site-packages/requests/sessions.py", line 598, in send
r = adapter.send(request, **kwargs)
File "/usr/lib64/python2.7/site-packages/cachecontrol/adapter.py", line 53, in send
resp = super(CacheControlAdapter, self).send(request, **kw)
File "/usr/lib/python2.7/site-packages/requests/adapters.py", line 437, in send
return self.build_response(request, resp)
File "/usr/lib64/python2.7/site-packages/cachecontrol/adapter.py", line 107, in build_response
if response.chunked:
AttributeError: 'HTTPResponse' object has no attribute 'chunked'
The text was updated successfully, but these errors were encountered: