View Issue Details

IDProjectCategoryView StatusLast Update
0016159CentOS-7system-config-printerpublic2019-06-06 20:25
Reporterpapacap 
PrioritynormalSeverityminorReproducibilityhave not tried
Status newResolutionopen 
PlatformOSOS Version7
Product Version 
Target VersionFixed in Version 
Summary0016159: [abrt] system-config-printer: jobviewer.py:27:<module>:NameError: name 'gi' is not defined
DescriptionDescription of problem:
try to remove printer notification applet

Version-Release number of selected component:
system-config-printer-1.4.1-21.el7

Truncated backtrace:
#1 <module> in /usr/share/system-config-printer/jobviewer.py:27
#2 <module> in /usr/share/system-config-printer/system-config-printer.py:79
Additional Informationreporter: libreport-2.1.11.1
cmdline: /usr/bin/python /usr/share/system-config-printer/system-config-printer.py
dso_list: system-config-printer-libs-1.4.1-21.el7.noarch
executable: /usr/share/system-config-printer/system-config-printer.py
kernel: 3.10.0-957.12.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: 1031
TagsNo tags attached.
abrt_hash6889c706427d761bc48653bda67f54670fb8b8b9
URLhttps://retrace.fedoraproject.org/faf/reports/bthash/85c7a99d0884243ab86e286a71ef7bbb579cd840

Activities

papacap

papacap

2019-06-06 20:25

reporter  

backtrace (6,735 bytes)
jobviewer.py:27:<module>:NameError: name 'gi' is not defined

Traceback (most recent call last):
  File "/usr/share/system-config-printer/system-config-printer.py", line 79, in <module>
    import jobviewer
  File "/usr/share/system-config-printer/jobviewer.py", line 27, in <module>
    gi.require_version('Notify', '0.7')
NameError: name 'gi' is not defined

Local variables in innermost frame:
dbus: None
__warningregistry__: 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'>, '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
__package__: None
authconn: None
asyncconn: None
__name__: None
cups: None
__doc__: None
backtrace (6,735 bytes)
environ (4,515 bytes)
XAUTHORITY=/run/gdm/auth-for-cap-M5lH8J/database
LOADEDMODULES=
GROUP=cap
LIBBDPLUS_PATH=/usr/lib64/libmmbd.so.0
MATE_DESKTOP_SESSION_ID=this-is-deprecated
PERL_MM_OPT=INSTALL_BASE=/home/myhome/perl5
LESSOPEN=||/usr/bin/lesspipe.sh %s
LC_CTYPE=en_US.UTF-8
mydev=/nfs/dev/home/myhome
OSTYPE=linux
XDG_SESSION_TYPE=x11
QT_IM_MODULE=xim
LOGNAME=cap
USER=cap
mydolphin=/nfs/ida/home/myhome
XDG_VTNR=1
QTDIR=/usr/lib64/qt-3.3
GTK_IM_MODULE=gtk-im-context-simple
LD_LIBRARY_PATH=/usr/local/lib:/local/lib:/lib64:/usr/lib64:/usr/lib:/local/apps/lib:/local/MAKEMKV/lib
SSH_AGENT_PID=1409
LANG=en_US.UTF-8
QTLIB=/usr/lib64/qt-3.3/lib
TERM=xterm-256color
SHELL=/bin/tcsh
TEXINPUTS=:/home/myhome/Tex/ppower4:/home/myhome/Tex/foiltex:/home/myhome/Tex/texslides:/home/myhome/Tex/inputs
SESSION_MANAGER=local/unix:@/tmp/.ICE-unix/1429,unix/unix:/tmp/.ICE-unix/1429
QTINC=/usr/lib64/qt-3.3/include
arch=x86_64
VISUAL=vi
DISPLAY=:0.0
LIBAACS_PATH=/usr/lib64/libmmbd.so.0
WINDOWID=50378791
GTK_OVERLAY_SCROLLING=0
EDITOR=vi
MANPATH=/usr/share/man:/usr/man:/usr/man/preformat:/local/man:/local/man/man1:/usr/X11/man:/usr/X11R6/man:/local/apps/man:/local/apps2/man
QT_PLUGIN_PATH=/usr/lib64/kde4/plugins:/usr/lib/kde4/plugins
IMSETTINGS_INTEGRATE_DESKTOP=yes
XDG_CURRENT_DESKTOP=MATE
GDMSESSION=mate
MOZILLA_HOME=/opt/netscape
COLORTERM=truecolor
USERNAME=cap
IMSETTINGS_MODULE=none
LC_ALL=en_US.UTF-8
XPRINTER=hpcolor
XDG_RUNTIME_DIR=/run/user/1031
KDEDIRS=/usr
HOME=/home/myhome
SSH_AUTH_SOCK=/run/user/1031/keyring/ssh
VTE_VERSION=5202
PATH=/local/texlive/2017/bin/x86_64-linux:.:/home/myhome:/home/bin:/home/sbin:/usr/local/bin:/local/bin:/local/apps/bin:/local/apps2/bin:/local/GS/bin:/local/MAKEMKV/bin:/bin:/usr/bin:/sbin:/usr/sbin:/usr/bin/X11:/usr/local/X11/bin
XMODIFIERS=@im=none
HOST=sun
HOSTTYPE=x86_64-linux
T1LIB_CONFIG=/usr/local/share/t1lib/t1lib.config
QT_GRAPHICSSYSTEM_CHECKED=1
mymarkos=/nfs/markos/home/myhome
XDG_SESSION_ID=2755
DBUS_SESSION_BUS_ADDRESS=unix:abstract=/tmp/dbus-wehtaZB3ZV,guid=39cb3a595c8526fc9d61c7785cf75757
WINDOWPATH=1:1
MODULEPATH=/usr/share/Modules/modulefiles:/etc/modulefiles
PERL5LIB=/home/myhome/perl5/lib/perl5
DESKTOP_SESSION=mate
MACHTYPE=x86_64
AWKPATH=/local/share/slidemaker
PERL_LOCAL_LIB_ROOT=/home/myhome/perl5
type=-bitstream-terminal-bold-r-normal--18-140-100-100-c-110-iso8859-1
HOSTNAME=sun
LC_TIME=en_US.UTF-8
GDM_LANG=en_US.UTF-8
MODULESHOME=/usr/share/Modules
VENDOR=unknown
SHLVL=2
PWD=/usr/share/system-config-printer
PERL_HOMEDIR=1
NPX_PLUGIN_PATH=/usr/java/jdk1.3.1_01/jre/plugin/i386/ns600
PERL_MB_OPT=--install_base /home/myhome/perl5
MAIL=/var/spool/mail/cap
XDG_SESSION_DESKTOP=mate
LS_COLORS=rs=0:di=38;5;27:ln=38;5;51:mh=44;38;5;15:pi=40;38;5;11:so=38;5;13:do=38;5;5:bd=48;5;232;38;5;11:cd=48;5;232;38;5;3:or=48;5;232;38;5;9:mi=05;48;5;232;38;5;15:su=48;5;196;38;5;15:sg=48;5;11;38;5;16:ca=48;5;196;38;5;226:tw=48;5;10;38;5;16:ow=48;5;10;38;5;21:st=48;5;21;38;5;15:ex=38;5;34:*.tar=38;5;9:*.tgz=38;5;9:*.arc=38;5;9:*.arj=38;5;9:*.taz=38;5;9:*.lha=38;5;9:*.lz4=38;5;9:*.lzh=38;5;9:*.lzma=38;5;9:*.tlz=38;5;9:*.txz=38;5;9:*.tzo=38;5;9:*.t7z=38;5;9:*.zip=38;5;9:*.z=38;5;9:*.Z=38;5;9:*.dz=38;5;9:*.gz=38;5;9:*.lrz=38;5;9:*.lz=38;5;9:*.lzo=38;5;9:*.xz=38;5;9:*.bz2=38;5;9:*.bz=38;5;9:*.tbz=38;5;9:*.tbz2=38;5;9:*.tz=38;5;9:*.deb=38;5;9:*.rpm=38;5;9:*.jar=38;5;9:*.war=38;5;9:*.ear=38;5;9:*.sar=38;5;9:*.rar=38;5;9:*.alz=38;5;9:*.ace=38;5;9:*.zoo=38;5;9:*.cpio=38;5;9:*.7z=38;5;9:*.rz=38;5;9:*.cab=38;5;9:*.jpg=38;5;13:*.jpeg=38;5;13:*.gif=38;5;13:*.bmp=38;5;13:*.pbm=38;5;13:*.pgm=38;5;13:*.ppm=38;5;13:*.tga=38;5;13:*.xbm=38;5;13:*.xpm=38;5;13:*.tif=38;5;13:*.tiff=38;5;13:*.png=38;5;13:*.svg=38;5;13:*.svgz=38;5;13:*.mng=38;5;13:*.pcx=38;5;13:*.mov=38;5;13:*.mpg=38;5;13:*.mpeg=38;5;13:*.m2v=38;5;13:*.mkv=38;5;13:*.webm=38;5;13:*.ogm=38;5;13:*.mp4=38;5;13:*.m4v=38;5;13:*.mp4v=38;5;13:*.vob=38;5;13:*.qt=38;5;13:*.nuv=38;5;13:*.wmv=38;5;13:*.asf=38;5;13:*.rm=38;5;13:*.rmvb=38;5;13:*.flc=38;5;13:*.avi=38;5;13:*.fli=38;5;13:*.flv=38;5;13:*.gl=38;5;13:*.dl=38;5;13:*.xcf=38;5;13:*.xwd=38;5;13:*.yuv=38;5;13:*.cgm=38;5;13:*.emf=38;5;13:*.axv=38;5;13:*.anx=38;5;13:*.ogv=38;5;13:*.ogx=38;5;13:*.aac=38;5;45:*.au=38;5;45:*.flac=38;5;45:*.mid=38;5;45:*.midi=38;5;45:*.mka=38;5;45:*.mp3=38;5;45:*.mpc=38;5;45:*.ogg=38;5;45:*.ra=38;5;45:*.wav=38;5;45:*.axa=38;5;45:*.oga=38;5;45:*.spx=38;5;45:*.xspf=38;5;45:
PAGER=less -XsCi
XDG_DATA_DIRS=/home/myhome/.local/share/flatpak/exports/share/:/var/lib/flatpak/exports/share/:/usr/local/share/:/usr/share/
XDG_SEAT=seat0
environ (4,515 bytes)
machineid (135 bytes)
systemd=b11c9e652b13433eb5d03c5dffa0ed41
sosreport_uploader-dmidecode=8efd90a581c1978ecc1cfe7f8840c25cd6d453d0d756a7e4b046436c942f4ee0
machineid (135 bytes)

Issue History

Date Modified Username Field Change
2019-06-06 20:25 papacap New Issue
2019-06-06 20:25 papacap File Added: backtrace
2019-06-06 20:25 papacap File Added: environ
2019-06-06 20:25 papacap File Added: machineid