GTG

GTG crashes, does not start

Bug #1216807 reported by Zickzackzuck
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
GTG
New
Undecided
Unassigned

Bug Description

I tried to start gtg today, but it crashes and does not start.

Re-install does not change anything. Changing the project.xml in ~/.local/share/gtg does not change anything.

Debug-Modus gives this

Fontconfig warning: "/etc/fonts/conf.d/50-user.conf", line 9: reading configurations from ~/.fonts.conf is deprecated.
Traceback (most recent call last):
  File "/usr/bin/gtg", line 85, in <module>
    main()
  File "/usr/bin/gtg", line 81, in main
    sys.exit(gtg.main(options, args))
  File "/usr/share/gtg/GTG/gtg.py", line 120, in main
    manager = Manager(req)
  File "/usr/share/gtg/GTG/gtk/manager.py", line 75, in __init__
    self.browser = TaskBrowser(self.req, self)
  File "/usr/share/gtg/GTG/gtk/browser/browser.py", line 129, in __init__
    self.restore_state_from_conf()
  File "/usr/share/gtg/GTG/gtk/browser/browser.py", line 521, in restore_state_from_conf
    self.tagtreeview.expand_node(path)
AttributeError: 'NoneType' object has no attribute 'expand_node'

Related branches

Revision history for this message
Zickzackzuck (therkcompany) wrote :

This command make it work again:

mv ~/.config/gtg/gtg.conf ~/.config/gtg/gtg.conf.bak

Found it here:

https://answers.launchpad.net/gtg/+question/201979

Revision history for this message
Parin Porecha (parinporecha) wrote :

@Zickzackzuck,

This bug and bug #1218093 both arise from same source - Wrong parsing of tag and task paths leading to malformed tuples being saved and read from '~/.config/gtg/gtg.conf'

This is why Re-install and changing the project.xml in ~/.local/share/gtg did not change anything.
Because your backup conf file did not contain such errors, replacing gtg.conf with it made it work again.

Revision history for this message
Parin Porecha (parinporecha) wrote :

This bug has been patched in revision 1309.

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.