← Back to team overview

gtg team mailing list archive

[Bug 589025] Re: XML parsing error (crash) on start

 

Have  a look in /home/goodmami/.local/share/gtg. You should have a
backup file called /home/goodmami/.local/share/gtg/ac56bd02-1989-484a-
87a6-4962226b815b.xml.bak.0 (or something similar). If you open it with
a text editor, you should be able to see all your tasks.

If you rename it with the same name listed inside
/home/goodmami/.local/share/gtg/projects.xml, GTG should load it.


This is very critical and has to be fixed for the next release

** Changed in: gtg
       Status: New => Confirmed

** Changed in: gtg
   Importance: Undecided => Critical

** Changed in: gtg
   Importance: Critical => High

** Changed in: gtg
    Milestone: None => 0.3

-- 
XML parsing error (crash) on start
https://bugs.launchpad.net/bugs/589025
You received this bug notification because you are a member of Gtg
contributors, which is subscribed to Getting Things GNOME!.

Status in Getting Things GNOME!: Confirmed

Bug description:
OS: Ubuntu 10.04, 64-bit
GTG: 0.2.4-1ubuntu1
Python: 2.6.5

I think GTG may have crashed as I was closing it (thus I did not notice the crash at first) because it did not finish writing an XML file. Actually, it appears nothing was written at all; the file is completely blank. This causes GTG to fail to start. I get the following error message:

goodmami@goodmami-tablet:~$ gtg -d
2010-06-02 22:31:58,498 - DEBUG - gtg:main:105 - Debug output enabled.
Error parsing XML file /home/goodmami/.local/share/gtg/ac56bd02-1989-484a-87a6-4962226b815b.xml: no element found: line 1, column 0

Removing the XML file seems to allow GTG to start, though my tasks are all gone (if they were ever saved in the first place)





References