← Back to team overview

gtg team mailing list archive

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

 

Don't we added a way to detect when the xml file size is 0 a while ago ?
see bug #579189

-- 
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)





Follow ups

References