Bug 1380530 - [abrt] virt-manager: __init__.py:61:<module>:ImportError: cannot import name DependencyWarning
Summary: [abrt] virt-manager: __init__.py:61:<module>:ImportError: cannot import name ...
Keywords:
Status: CLOSED CANTFIX
Alias: None
Product: Fedora
Classification: Fedora
Component: virt-manager
Version: 24
Hardware: x86_64
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Cole Robinson
QA Contact: Fedora Extras Quality Assurance
URL: https://retrace.fedoraproject.org/faf...
Whiteboard: abrt_hash:f28f233caffa3586818aadabb79...
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2016-09-29 21:29 UTC by Mikael
Modified: 2016-12-13 17:03 UTC (History)
3 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2016-12-13 17:03:56 UTC
Type: ---


Attachments (Terms of Use)
File: backtrace (7.13 KB, text/plain)
2016-09-29 21:29 UTC, Mikael
no flags Details
File: environ (4.88 KB, text/plain)
2016-09-29 21:29 UTC, Mikael
no flags Details

Description Mikael 2016-09-29 21:29:44 UTC
Description of problem:
Following instructions at 
https://fedoraproject.org/wiki/Getting_started_with_virtualization?rd=Virtualization_Quick_Start
to get started with/learn about virtualization. 
1. Installed the virtualization group via 
  $ su -c "dnf install @virtualization"
2. Started libvirtd successfully
3a. Tried to look at the help 
  $ virt-install --help 
3b. ...as well as tried the graphical interface via 
  $ virt-manager 
Both  complain that:

> from .packages.urllib3.exceptions import DependencyWarning
> ImportError: cannot import name DependencyWarning

According to pip, urllib3 is already installed.

Version-Release number of selected component:
virt-manager-1.4.0-3.fc24

Additional info:
reporter:       libreport-2.7.2
cmdline:        /usr/bin/python2 /usr/share/virt-manager/virt-manager
dso_list:       virt-manager-common-1.4.0-3.fc24.noarch
executable:     /usr/share/virt-manager/virt-manager
kernel:         4.7.4-200.fc24.x86_64
pkg_fingerprint: 73BD E983 81B4 6521
pkg_vendor:     Fedora Project
runlevel:       N 5
type:           Python
uid:            1000

Truncated backtrace:
#1 <module> in /usr/lib/python2.7/site-packages/requests/__init__.py:61
#2 <module> in /usr/share/virt-manager/virtinst/urlfetcher.py:34
#3 <module> in /usr/share/virt-manager/virtinst/distroinstaller.py:23
#4 <module> in /usr/share/virt-manager/virtinst/__init__.py:89
#5 <module> in /usr/share/virt-manager/virt-manager:33

Comment 1 Mikael 2016-09-29 21:29:51 UTC
Created attachment 1206054 [details]
File: backtrace

Comment 2 Mikael 2016-09-29 21:29:52 UTC
Created attachment 1206055 [details]
File: environ

Comment 3 Cole Robinson 2016-12-13 17:03:56 UTC
Pretty sure this is an issue with python-requests, possibly a conflict between a system installed version, and a pip installed version. Do a 'find / -name requests' to try and locate the culprit. If that doesn't pinpoint it, feel free to reopen


Note You need to log in before you can comment on or make changes to this bug.