| View Issue Details [ Jump to Notes ] | [ Issue History ] [ Print ] | ||||||||||||
| ID | Project | Category | View Status | Date Submitted | Last Update | ||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| 0009139 | CentOS-7 | python-requests | public | 2015-07-27 14:16 | 2015-08-11 07:05 | ||||||||
| Reporter | danielbrunos | ||||||||||||
| Priority | normal | Severity | crash | Reproducibility | always | ||||||||
| Status | new | Resolution | open | ||||||||||
| Product Version | 7.1-1503 | ||||||||||||
| Target Version | Fixed in Version | ||||||||||||
| Summary | 0009139: python-requests crash after update | ||||||||||||
| Description | Today I've updated python-requests and python-urllib3 and python-requests is broken. | ||||||||||||
| Steps To Reproduce | >>> import requests | ||||||||||||
| Additional Information | Traceback (most recent call last): File "<stdin>", line 1, in <module> File "/usr/lib/python2.7/site-packages/requests/__init__.py", line 60, in <module> from .api import request, get, head, post, patch, put, delete, options File "/usr/lib/python2.7/site-packages/requests/api.py", line 14, in <module> from . import sessions File "/usr/lib/python2.7/site-packages/requests/sessions.py", line 27, in <module> from .adapters import HTTPAdapter File "/usr/lib/python2.7/site-packages/requests/adapters.py", line 29, in <module> from .packages.urllib3.exceptions import ResponseError ImportError: cannot import name ResponseError | ||||||||||||
| Tags | No tags attached. | ||||||||||||
| abrt_hash | |||||||||||||
| URL | |||||||||||||
| Attached Files |
| ||||||||||||
Notes |
|
|
PriceChild (reporter) 2015-08-10 11:10 |
sudo pip install --upgrade requests will get you going in the meantime. |
|
avij (manager) 2015-08-10 12:24 |
Unable to reproduce. Please make sure you are using CentOS-packaged versions of python, python-requests and python-urllib3. Please note that EPEL used to have their own versions of these packages as well. $ rpm -q python python-requests python-urllib3 python-2.7.5-18.el7_1.1.x86_64 python-requests-2.6.0-1.el7_1.noarch python-urllib3-1.10.2-2.el7_1.noarch $ rpm -qi python python-requests python-urllib3 Signature: RSA/SHA256, Wed 24 Jun 2015 06:05:10 AM EEST, Key ID 24c6a8a7f4a80eb5 Signature: RSA/SHA256, Wed 22 Jul 2015 11:25:10 PM EEST, Key ID 24c6a8a7f4a80eb5 Signature: RSA/SHA256, Thu 06 Aug 2015 05:16:21 AM EEST, Key ID 24c6a8a7f4a80eb5 |
|
alphacc (developer) 2015-08-10 15:22 |
I saw this on a system ; after uninstalling the python-request from EPEL, it seems some files are left behind in /usr/lib/python2.6/site-packages/requests/packages/ You can : yum remove python-requests rm -rf /usr/lib/python2.6/site-packages/requests/ yum install python-requests I am still investigating which EPEL package version is affected. -- Thomas. |
|
alphacc (developer) 2015-08-11 07:05 |
Scratch my last comment it was a mixed pip/yum issue. |
Issue History |
|||
| Date Modified | Username | Field | Change |
|---|---|---|---|
| 2015-07-27 14:16 | danielbrunos | New Issue | |
| 2015-08-10 11:10 | PriceChild | Note Added: 0023829 | |
| 2015-08-10 12:24 | avij | Note Added: 0023830 | |
| 2015-08-10 15:22 | alphacc | Note Added: 0023833 | |
| 2015-08-11 07:05 | alphacc | Note Added: 0023841 | |


