Startup crash with wrong value in collapsed_tasks option
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
GTG |
Won't Fix
|
Undecided
|
Unassigned |
Bug Description
GTG fails to start with the following stack trace when the collapsed_tasks option in .config/
Traceback (most recent call last):
File "./gtg", line 90, in <module>
main()
File "./gtg", line 85, in main
sys.
File "/home/
manager = Manager(req)
File "/home/
self.browser = TaskBrowser(
File "/home/
self.
File "/home/
self.
File "../liblarch/
node_id = llpath[
IndexError: tuple index out of range
Some of the values that make it fail are these two:
collapsed_tasks = ""
collapsed_tasks = (,)
In my case, somehow I ended up with the first value while testing GTG. However, I haven't been able to reproduce it again. I found the second value by modifying the configuration file by hand.
Strangely, I haven't been able to reproduce the bug with the Python 2 version of GTG.
Related branches
- Gtg developers: Pending requested
-
Diff: 49 lines (+17/-9)1 file modifiedGTG/gtk/browser/browser.py (+17/-9)
Changed in gtg: | |
status: | New → Won't Fix |
The linked branch solves the problem in trunk.