View Issue Details

IDProjectCategoryView StatusLast Update
0014570CentOS-7virt-managerpublic2018-03-10 06:38
Reporteruzzal2k5 
PrioritynormalSeverityminorReproducibilityhave not tried
Status newResolutionopen 
PlatformOSOS Version7
Product Version 
Target VersionFixed in Version 
Summary0014570: [abrt] virt-manager: __init__.py:60:<module>:ImportError: cannot import name DependencyWarning
DescriptionDescription of problem:
Facing probelm to run Virtual Machine Manager showing ' a problem on virt-manager-1.4.1-7.el7 has detected'
 when I try to run from GUI on my centos server where.
`uname -a`
Linux uzzal 3.10.0-693.21.1.el7.x86_64 #1 SMP Wed Mar 7 19:03:37 UTC 2018 x86_64 x86_64 x86_64 GNU/Linux

Also this showing following error when I run from terminal as bellow
[root@uzzal shafiq]# virt-manager
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 60, in <module>
    from .packages.urllib3.exceptions import DependencyWarning
ImportError: cannot import name DependencyWarning

Version-Release number of selected component:
virt-manager-1.4.1-7.el7

Truncated backtrace:
#1 <module> in /usr/lib/python2.7/site-packages/requests/__init__.py:60
#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
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-693.17.1.el7.x86_64
pkg_fingerprint: 24C6 A8A7 F4A8 0EB5
pkg_vendor: CentOS
reproducible: The problem occurs regularly
runlevel: N 5
type: Python
uid: 1004
TagsNo tags attached.
abrt_hashdfbf8e2d2c080424e67bb1d5f62e02c784014461
URLhttps://retrace.fedoraproject.org/faf/reports/bthash/e582cf593e55e2d2ca28c2c64c3543311f00047d

Activities

uzzal2k5

uzzal2k5

2018-03-10 06:38

reporter  

backtrace (7,300 bytes)
__init__.py:60:<module>:ImportError: cannot import name DependencyWarning

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 60, in <module>
    from .packages.urllib3.exceptions import DependencyWarning
ImportError: cannot import name DependencyWarning

Local variables in innermost frame:
__copyright__: None
packages: None
__build__: None
__license__: None
warnings: None
__builtins__: {'bytearray': <type 'bytearray'>, 'IndexError': <type 'exceptions.IndexError'>, 'all': <built-in function all>, 'help': Type help() for interactive help, or help(object) for help about object., 'vars': <built-in function vars>, 'SyntaxError': <type 'exceptions.SyntaxError'>, 'unicode': <type 'unicode'>, 'UnicodeDecodeError': <type 'exceptions.UnicodeDecodeError'>, 'memoryview': <type 'memoryview'>, 'isinstance': <built-in function isinstance>, 'copyright': Copyright (c) 2001-2013 Python Software Foundation.
All Rights Reserved.

Copyright (c) 2000 BeOpen.com.
All Rights Reserved.

Copyright (c) 1995-2001 Corporation for National Research Initiatives.
All Rights Reserved.

Copyright (c) 1991-1995 Stichting Mathematisch Centrum, Amsterdam.
All Rights Reserved., 'NameError': <type 'exceptions.NameError'>, 'BytesWarning': <type 'exceptions.BytesWarning'>, 'dict': <type 'dict'>, 'input': <built-in function input>, 'oct': <built-in function oct>, 'bin': <built-in function bin>, 'SystemExit': <type 'exceptions.SystemExit'>, 'StandardError': <type 'exceptions.StandardError'>, 'format': <built-in function format>, 'repr': <built-in function repr>, 'sorted': <built-in function sorted>, 'False': False, 'RuntimeWarning': <type 'exceptions.RuntimeWarning'>, 'list': <type 'list'>, 'iter': <built-in function iter>, 'reload': <built-in function reload>, 'Warning': <type 'exceptions.Warning'>, '__package__': None, 'round': <built-in function round>, 'dir': <built-in function dir>, 'cmp': <built-in function cmp>, 'set': <type 'set'>, 'bytes': <type 'str'>, 'reduce': <built-in function reduce>, 'intern': <built-in function intern>, 'issubclass': <built-in function issubclass>, 'Ellipsis': Ellipsis, 'EOFError': <type 'exceptions.EOFError'>, 'locals': <built-in function locals>, 'BufferError': <type 'exceptions.BufferError'>, 'slice': <type 'slice'>, 'FloatingPointError': <type 'exceptions.FloatingPointError'>, 'sum': <built-in function sum>, 'getattr': <built-in function getattr>, 'abs': <built-in function abs>, 'exit': Use exit() or Ctrl-D (i.e. EOF) to exit, 'print': <built-in function print>, 'True': True, 'FutureWarning': <type 'exceptions.FutureWarning'>, 'ImportWarning': <type 'exceptions.ImportWarning'>, 'None': None, 'hash': <built-in function hash>, 'ReferenceError': <type 'exceptions.ReferenceError'>, 'len': <built-in function len>, 'credits':     Thanks to CWI, CNRI, BeOpen.com, Zope Corporation and a cast of thousands
    for supporting Python development.  See www.python.org for more information., 'frozenset': <type 'frozenset'>, '__name__': '__builtin__', 'ord': <built-in function ord>, 'super': <type 'super'>, '_': <bound method NullTranslations.gettext of <gettext.NullTranslations instance at 0x900758>>, 'TypeError': <type 'exceptions.TypeError'>, 'license': See http://www.python.org/2.7/license.html, 'KeyboardInterrupt': <type 'exceptions.KeyboardInterrupt'>, 'UserWarning': <type 'exceptions.UserWarning'>, 'filter': <built-in function filter>, 'range': <built-in function range>, 'staticmethod': <type 'staticmethod'>, 'SystemError': <type 'exceptions.SystemError'>, 'BaseException': <type 'exceptions.BaseException'>, 'pow': <built-in function pow>, 'RuntimeError': <type 'exceptions.RuntimeError'>, 'float': <type 'float'>, 'MemoryError': <type 'exceptions.MemoryError'>, 'StopIteration': <type 'exceptions.StopIteration'>, 'globals': <built-in function globals>, 'divmod': <built-in function divmod>, 'enumerate': <type 'enumerate'>, 'apply': <built-in function apply>, 'LookupError': <type 'exceptions.LookupError'>, 'open': <built-in function open>, 'quit': Use quit() or Ctrl-D (i.e. EOF) to exit, 'basestring': <type 'basestring'>, 'UnicodeError': <type 'exceptions.UnicodeError'>, 'zip': <built-in function zip>, 'hex': <built-in function hex>, 'long': <type 'long'>, 'next': <built-in function next>, 'ImportError': <type 'exceptions.ImportError'>, 'chr': <built-in function chr>, 'xrange': <type 'xrange'>, 'type': <type 'type'>, '__doc__': "Built-in functions, exceptions, and other objects.\n\nNoteworthy: None is the `nil' object; Ellipsis represents `...' in slices.", 'Exception': <type 'exceptions.Exception'>, 'tuple': <type 'tuple'>, 'UnicodeTranslateError': <type 'exceptions.UnicodeTranslateError'>, 'reversed': <type 'reversed'>, 'UnicodeEncodeError': <type 'exceptions.UnicodeEncodeError'>, 'IOError': <type 'exceptions.IOError'>, 'hasattr': <built-in function hasattr>, 'delattr': <built-in function delattr>, 'setattr': <built-in function setattr>, 'raw_input': <built-in function raw_input>, 'SyntaxWarning': <type 'exceptions.SyntaxWarning'>, 'compile': <built-in function compile>, 'ArithmeticError': <type 'exceptions.ArithmeticError'>, 'str': <type 'str'>, 'property': <type 'property'>, 'GeneratorExit': <type 'exceptions.GeneratorExit'>, 'int': <type 'int'>, '__import__': <built-in function __import__>, 'KeyError': <type 'exceptions.KeyError'>, 'coerce': <built-in function coerce>, 'PendingDeprecationWarning': <type 'exceptions.PendingDeprecationWarning'>, 'file': <type 'file'>, 'EnvironmentError': <type 'exceptions.EnvironmentError'>, 'unichr': <built-in function unichr>, 'id': <built-in function id>, 'OSError': <type 'exceptions.OSError'>, 'DeprecationWarning': <type 'exceptions.DeprecationWarning'>, 'min': <built-in function min>, 'UnicodeWarning': <type 'exceptions.UnicodeWarning'>, 'execfile': <built-in function execfile>, 'any': <built-in function any>, 'complex': <type 'complex'>, 'bool': <type 'bool'>, 'ValueError': <type 'exceptions.ValueError'>, 'NotImplemented': NotImplemented, 'map': <built-in function map>, 'buffer': <type 'buffer'>, 'max': <built-in function max>, 'object': <type 'object'>, 'TabError': <type 'exceptions.TabError'>, 'callable': <built-in function callable>, 'ZeroDivisionError': <type 'exceptions.ZeroDivisionError'>, 'eval': <built-in function eval>, '__debug__': True, 'IndentationError': <type 'exceptions.IndentationError'>, 'AssertionError': <type 'exceptions.AssertionError'>, 'classmethod': <type 'classmethod'>, 'UnboundLocalError': <type 'exceptions.UnboundLocalError'>, 'NotImplementedError': <type 'exceptions.NotImplementedError'>, 'AttributeError': <type 'exceptions.AttributeError'>, 'OverflowError': <type 'exceptions.OverflowError'>}
__file__: None
__title__: None
__package__: None
__path__: None
__author__: None
__name__: None
__version__: None
__doc__: None
backtrace (7,300 bytes)
dso_list (75 bytes)
virt-manager-common-1.4.1-7.el7.noarch
python-requests-2.6.0-1.el7_1.noarch
dso_list (75 bytes)
uzzal2k5

uzzal2k5

2018-03-10 06:38

reporter  

environ (1,487 bytes)
SSH_ASKPASS=/usr/libexec/openssh/gnome-ssh-askpass
GNOME_DESKTOP_SESSION_ID=this-is-deprecated
GJS_DEBUG_OUTPUT=stderr
LESSOPEN=||/usr/bin/lesspipe.sh %s
XDG_SESSION_TYPE=x11
QT_IM_MODULE=xim
LOGNAME=shafiq
USER=shafiq
PATH=/usr/lib64/qt-3.3/bin:/usr/local/bin:/usr/local/sbin:/usr/bin:/usr/sbin:/bin:/sbin
XDG_VTNR=1
QTDIR=/usr/lib64/qt-3.3
DISPLAY=:0
PT5HOME=/opt/pt
LANG=en_US.utf8
QTLIB=/usr/lib64/qt-3.3/lib
TERM=dumb
SHELL=/bin/bash
XAUTHORITY=/run/gdm/auth-for-shafiq-kTofJd/database
SESSION_MANAGER=local/unix:@/tmp/.ICE-unix/4784,unix/unix:/tmp/.ICE-unix/4784
QTINC=/usr/lib64/qt-3.3/include
QT_QPA_PLATFORMTHEME=qgnomeplatform
HISTSIZE=1000
WINDOWPATH=1
IMSETTINGS_INTEGRATE_DESKTOP=yes
GIO_LAUNCHED_DESKTOP_FILE_PID=18198
SSH_AGENT_PID=4985
HOME=/home/shafiq
USERNAME=shafiq
IMSETTINGS_MODULE=none
GIO_LAUNCHED_DESKTOP_FILE=/usr/share/applications/virt-manager.desktop
XDG_RUNTIME_DIR=/run/user/1004
SSH_AUTH_SOCK=/run/user/1004/keyring/ssh
PT6HOME=/opt/pt
GDMSESSION=gnome-classic
XMODIFIERS=@im=none
GNOME_SHELL_SESSION_MODE=classic
MAIL=/var/spool/mail/shafiq
QT_GRAPHICSSYSTEM_CHECKED=1
XDG_CURRENT_DESKTOP=GNOME-Classic:GNOME
XDG_SESSION_ID=1
DBUS_SESSION_BUS_ADDRESS=unix:abstract=/tmp/dbus-OAyTUw3wYh,guid=4f2df21948c62516c0453e165a814f39
DESKTOP_SESSION=gnome-classic
HOSTNAME=uzzal
GDM_LANG=en_US.utf8
HISTCONTROL=ignoredups
SHLVL=1
PWD=/home/shafiq
CVS_RSH=ssh
XDG_MENU_PREFIX=gnome-
XDG_SESSION_DESKTOP=gnome-classic
GJS_DEBUG_TOPICS=JS ERROR;JS LOG
XDG_SEAT=seat0
environ (1,487 bytes)
machineid (135 bytes)
systemd=e75936d317ce45dc8ec342662011606f
sosreport_uploader-dmidecode=9152e5f7d22733796e9e9f72fa76ed9da2e39213d747be54a50525c71ecb1e9f
machineid (135 bytes)

Issue History

Date Modified Username Field Change
2018-03-10 06:38 uzzal2k5 New Issue
2018-03-10 06:38 uzzal2k5 File Added: backtrace
2018-03-10 06:38 uzzal2k5 File Added: dso_list
2018-03-10 06:38 uzzal2k5 File Added: environ
2018-03-10 06:38 uzzal2k5 File Added: machineid