← Back to team overview

gtg team mailing list archive

[Bug 579189] Re: tags.xml is sometimes deleted

 

Indeed, we should have an automated backup solutions for tag.xml. If the
tag.xml cannot be loaded, then the backup should be used.

Maybe there's also some point in the code where we keep the file opened
without reason ?


There's already a backup code available in tools/cleanxml.py

** Summary changed:

- Program crashes on start (tags.xml size is 0)
+ tags.xml is sometimes deleted

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

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

-- 
tags.xml is sometimes deleted
https://bugs.launchpad.net/bugs/579189
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:
Getting Things Gnome! 0.2.4
LinuxMint 7.

yuriy@ynix ~ $ /home/yuriy/YuriyInstalledSoft/gtg-0.2.4/gtg
Error parsing XML file /home/yuriy/.local/share/gtg/tags.xml: no element found: line 1, column 0

The size of tags.xml file is 0. It is empty.
Fortunately I have had backup of my config files and restored tags.xml.





Follow ups

References