GTG

GTG crashes on exit when bugzilla plugin is enabled and pynotify is not installed

Bug #1264846 reported by WilliWerWolf
40
This bug affects 10 people
Affects Status Importance Assigned to Milestone
GTG
Fix Released
Low
Parin Porecha

Bug Description

When exiting from first use after installation, GTG crashes:

Traceback (most recent call last):
  File "/usr/lib/python2.7/atexit.py", line 24, in _run_exitfuncs
    func(*targs, **kargs)
  File "/usr/share/gtg/GTG/plugins/bugzilla/notification.py", line 64, in uinit_pynotify
    pynotify.uninit()
NameError: global name 'pynotify' is not defined

Distro: Siduction (Debian unstable/testing mix), python version is 2.7

Changed in gtg:
assignee: nobody → Parin Porecha (parinporecha)
importance: Undecided → Low
Changed in gtg:
milestone: none → 0.3.2
summary: - GTG crashes on exit from first time use
+ GTG crashes on exit when bugzilla plugin is enabled and pynotify is not
+ installed
Revision history for this message
Parin Porecha (parinporecha) wrote :

Thanks for reporting this bug, WilliWerWolf.
This was caused because you don't have 'pynotify' installed, or the bugzilla plugin was not able to import it.

Fixed in revision 1338.

Changed in gtg:
status: New → Fix Committed
Revision history for this message
Dmitry Tantsur (divius) wrote :

Note that the title is wrong: crash happens even with disabled bugzilla plugin

Revision history for this message
Anurag (anurag1008) wrote :

python-notify2 0.3-3/ python3-notify2 0.3-3 is installed and bugzilla plugin and send task by email is disabled but even then it crashes and gives out the following error:

WARNING - __init__:__init__:74 - Backend backend_evolution could not be loaded: No module named evolution
2015-11-07 09:27:51,326 - WARNING - __init__:__init__:74 - Backend backend_mantis could not be loaded: No module named suds.client
/usr/bin/notify-send
Error in atexit._run_exitfuncs:
Traceback (most recent call last):
  File "/usr/lib/python2.7/atexit.py", line 24, in _run_exitfuncs
    func(*targs, **kargs)
  File "/usr/share/gtg/GTG/plugins/bugzilla/notification.py", line 64, in uinit_pynotify
    pynotify.uninit()
NameError: global name 'pynotify' is not defined
Error in sys.exitfunc:
Traceback (most recent call last):
  File "/usr/lib/python2.7/atexit.py", line 24, in _run_exitfuncs
    func(*targs, **kargs)
  File "/usr/share/gtg/GTG/plugins/bugzilla/notification.py", line 64, in uinit_pynotify
    pynotify.uninit()
NameError: global name 'pynotify' is not defined

Ubuntu 15.10; python 2.7.9-1; gtg 0.3.1-1; python-notify2 0.3-3/ python3-notify2 0.3-3

Joel D Inman (joeldi4)
Changed in gtg:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Duplicates of this bug

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.