View Issue Details

IDProjectCategoryView StatusLast Update
0012469CentOS-7virt-managerpublic2018-05-24 17:10
Reporterjoeyallen 
PrioritynormalSeverityminorReproducibilityhave not tried
Status newResolutionopen 
PlatformOSOS Version7
Product Version 
Target VersionFixed in Version 
Summary0012469: [abrt] virt-manager: __init__.py:95:load_module:ImportError: No module named 'requests.packages.urllib3'
DescriptionVersion-Release number of selected component:
virt-manager-1.4.0-2.el7

Truncated backtrace:
__init__.py:95:load_module:ImportError: No module named 'requests.packages.urllib3'

Traceback (most recent call last):
  File "/usr/share/virt-manager/virt-manager", line 33, in <module>
    from virtinst import util as util
  File "/usr/share/virt-manager/virtinst/__init__.py", line 89, in <module>
    from virtinst.distroinstaller import DistroInstaller
  File "/usr/share/virt-manager/virtinst/distroinstaller.py", line 23, in <module>
    from . import urlfetcher
  File "/usr/share/virt-manager/virtinst/urlfetcher.py", line 34, in <module>
    import requests
  File "/usr/lib/python2.7/site-packages/requests/__init__.py", line 58, in <module>
    from . import utils
  File "/usr/lib/python2.7/site-packages/requests/utils.py", line 32, in <module>
    from .exceptions import InvalidURL
  File "/usr/lib/python2.7/site-packages/requests/exceptions.py", line 10, in <module>
    from .packages.urllib3.exceptions import HTTPError as BaseHTTPError
  File "/usr/lib/python2.7/site-packages/requests/packages/__init__.py", line 95, in load_module
    raise ImportError("No module named '%s'" % (name,))
ImportError: No module named 'requests.packages.urllib3'

Local variables in innermost frame:
real_meta_path: [<gi.importer.DynamicImporter object at 0x1013bd0>, <requests.packages.VendorAlias object at 0x18ea450>, <urllib3.packages.six._SixMetaPathImporter object at 0x193c890>]
self: <requests.packages.VendorAlias object at 0x18ea450>
m: <urllib3.packages.six._SixMetaPathImporter object at 0x193c890>
name: 'requests.packages.urllib3'
real_name: 'urllib3'
Additional Informationreporter: libreport-2.1.11.1
cmdline: /usr/bin/python2 /usr/share/virt-manager/virt-manager
executable: /usr/share/virt-manager/virt-manager
kernel: 3.10.0-514.2.2.el7.x86_64
pkg_fingerprint: 24C6 A8A7 F4A8 0EB5
pkg_vendor: CentOS
reproducible: Not sure how to reproduce the problem
runlevel: N 5
type: Python
uid: 1000
TagsNo tags attached.
abrt_hashfd69837c09f42f077fd70b4d2c54094ee0d69d53
URLhttps://retrace.fedoraproject.org/faf/reports/bthash/48e2eb328fa9b0e46d7a278f3e857326f0d81335

Activities

joeyallen

joeyallen

2016-12-21 21:00

reporter  

backtrace (1,571 bytes)
__init__.py:95:load_module:ImportError: No module named 'requests.packages.urllib3'

Traceback (most recent call last):
  File "/usr/share/virt-manager/virt-manager", line 33, in <module>
    from virtinst import util as util
  File "/usr/share/virt-manager/virtinst/__init__.py", line 89, in <module>
    from virtinst.distroinstaller import DistroInstaller
  File "/usr/share/virt-manager/virtinst/distroinstaller.py", line 23, in <module>
    from . import urlfetcher
  File "/usr/share/virt-manager/virtinst/urlfetcher.py", line 34, in <module>
    import requests
  File "/usr/lib/python2.7/site-packages/requests/__init__.py", line 58, in <module>
    from . import utils
  File "/usr/lib/python2.7/site-packages/requests/utils.py", line 32, in <module>
    from .exceptions import InvalidURL
  File "/usr/lib/python2.7/site-packages/requests/exceptions.py", line 10, in <module>
    from .packages.urllib3.exceptions import HTTPError as BaseHTTPError
  File "/usr/lib/python2.7/site-packages/requests/packages/__init__.py", line 95, in load_module
    raise ImportError("No module named '%s'" % (name,))
ImportError: No module named 'requests.packages.urllib3'

Local variables in innermost frame:
real_meta_path: [<gi.importer.DynamicImporter object at 0x1013bd0>, <requests.packages.VendorAlias object at 0x18ea450>, <urllib3.packages.six._SixMetaPathImporter object at 0x193c890>]
self: <requests.packages.VendorAlias object at 0x18ea450>
m: <urllib3.packages.six._SixMetaPathImporter object at 0x193c890>
name: 'requests.packages.urllib3'
real_name: 'urllib3'
backtrace (1,571 bytes)
dso_list (75 bytes)
virt-manager-common-1.4.0-2.el7.noarch
python-requests-2.6.0-1.el7_1.noarch
dso_list (75 bytes)
joeyallen

joeyallen

2016-12-21 21:00

reporter  

environ (824 bytes)
HOSTNAME=n40l.localdomain
MATE_DESKTOP_SESSION_ID=this-is-deprecated
LESSOPEN=||/usr/bin/lesspipe.sh %s
LOGNAME=user1
USER=user1
PATH=/usr/local/bin:/bin:/usr/bin:/usr/local/sbin:/usr/sbin:/home/user1/.local/bin:/home/user1/bin
HOME=/home/user1
DISPLAY=:1
LANG=en_GB.UTF-8
SHELL=/bin/bash
SESSION_MANAGER=local/unix:@/tmp/.ICE-unix/2249,unix/unix:/tmp/.ICE-unix/2249
SHLVL=3
HISTSIZE=1000
GTK_OVERLAY_SCROLLING=0
GPG_AGENT_INFO=/run/user/1000/keyring/gpg:0:1
XDG_RUNTIME_DIR=/run/user/1000
SSH_AUTH_SOCK=/run/user/1000/keyring/ssh
QT_GRAPHICSSYSTEM_CHECKED=1
XDG_CURRENT_DESKTOP=MATE
XDG_SESSION_ID=c1
DBUS_SESSION_BUS_ADDRESS=unix:abstract=/tmp/dbus-yWUKyH4pTC,guid=a1c031d80e0a1c269ccf4275585ae9f1
_=/bin/mate-session
VNCDESKTOP=n40l.localdomain:1 (user1)
HISTCONTROL=ignoredups
PWD=/home/user1
MAIL=/var/spool/mail/user1
environ (824 bytes)
joeyallen

joeyallen

2016-12-21 21:00

reporter  

machineid (135 bytes)
systemd=96b11b478d744c358e59013c97f4a258
sosreport_uploader-dmidecode=ee06bd5ddc73e6994c9ba91adf09b62ee7052df3887a259064301d2e8dc80354
machineid (135 bytes)
Conercao

Conercao

2018-05-24 17:10

reporter   ~0031913

Another user experienced a similar problem:

Ran a recent update of multiple packages. The package python-urllib3.noarch 0:1.10.2-5.el7 continually fails and seems
to be related to Virtual Machine Manager failing to open in GUI mode. Virtual machines are still present however and
respond to commands.

reporter: libreport-2.1.11.1
cmdline: /usr/bin/python2 /usr/share/virt-manager/virt-manager
executable: /usr/share/virt-manager/virt-manager
kernel: 3.10.0-862.3.2.el7.x86_64
package: virt-manager-1.4.3-3.el7
pkg_fingerprint: 24C6 A8A7 F4A8 0EB5
pkg_vendor: CentOS
reason: __init__.py:95:load_module:ImportError: No module named 'requests.packages.urllib3'
reproducible: Not sure how to reproduce the problem
runlevel: N 3
type: Python
uid: 1000

Issue History

Date Modified Username Field Change
2016-12-21 20:59 joeyallen New Issue
2016-12-21 21:00 joeyallen File Added: backtrace
2016-12-21 21:00 joeyallen File Added: dso_list
2016-12-21 21:00 joeyallen File Added: environ
2016-12-21 21:00 joeyallen File Added: machineid
2018-05-24 17:10 Conercao Note Added: 0031913