GTG

GTG crashes when trying to restore a previously opened task

Bug #655068 reported by Lionel Dricot
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
GTG
Fix Released
Critical
Izidor Matušov

Bug Description

1. Open a task
2 Close GTG without closing the task
3. Reopen GTG:

Setting XDG vars to use default dataset.
Traceback (most recent call last):
  File "./gtg", line 69, in <module>
    sys.exit(GTG.gtg.main(options, args))
  File "/home/ploum/gtg.local/GTG/gtg.py", line 106, in main
    manager = Manager(req)
  File "/home/ploum/gtg.local/GTG/gtk/manager.py", line 70, in __init__
    self.browser = TaskBrowser(self.req, self)
  File "/home/ploum/gtg.local/GTG/gtk/browser/browser.py", line 136, in __init__
    self.restore_state_from_conf()
  File "/home/ploum/gtg.local/GTG/gtk/browser/browser.py", line 494, in restore_state_from_conf
    ted = self.vmanager.open_task(t)
  File "/home/ploum/gtg.local/GTG/gtk/manager.py", line 168, in open_task
    clipboard = self.clipboard)
  File "/home/ploum/gtg.local/GTG/gtk/editor/editor.py", line 157, in __init__
    self.pengine = PluginEngine()
  File "/home/ploum/gtg.local/GTG/core/plugins/engine.py", line 165, in __init__
    for path in self.plugin_path:
TypeError: 'NoneType' object is not iterable

Revision history for this message
Lionel Dricot (ploum-deactivatedaccount) wrote :

Luca, I assign that to you as it seems it was introduced by you when porting the plugin API

Changed in gtg:
assignee: nobody → Luca Invernizzi (invernizzi)
importance: Undecided → Critical
milestone: none → 0.3
status: New → Confirmed
Changed in gtg:
milestone: 0.3 → 0.2.9
Changed in gtg:
assignee: Luca Invernizzi (invernizzi) → Izidor Matušov (izidor)
Izidor Matušov (izidor)
Changed in gtg:
status: Confirmed → Fix Committed
Revision history for this message
Izidor Matušov (izidor) wrote :

I wasn't able to reproduce that in current trunk. I suppose it was fixed in the meanwhile.

Izidor Matušov (izidor)
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.

Other bug subscribers

Remote bug watches

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