← Back to team overview

gtg team mailing list archive

Re: [Bug 579189] Re: Program crashes on start (tags.xml size is 0)

 

On Thu, May 13, 2010 at 09:22:23PM -0000, Pablo Olmos de Aguilera Corradini wrote:
> I'm afraid I got the same bug... sadly for me I lost the file and I have
> to create an empty tags.xml with two lines, and lose  all the color tags
> and subtags... :(. After that, I recovered all my tasks with their
> respective tag, but as I was saying - no color nor sub-tags.
> 
> I don't know what happened, I think it was a X crash, but I don't know
> hot to debug it (the only thing I know that it was today).
> 
> It wouldn't be a bad idea to backup the file the same way the xml for
> the tasks is backed up.

I have seen this same bug multiple times myself.  I haven't reported it
before because I've never been able to identify the specific steps to
reproduce it.  It seems to happen when there is a crash while gtg is in
the middle of saving stuff or something.  I've taken to doing regular
backups, so when it happens and tags.xml is 0, I can restore that file
from the most recent backup.

I agree it would be most appropriate for gtg to keep a backup of this
file like it does for tasks.

Bryce

-- 
Program crashes on start (tags.xml size is 0)
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!: Incomplete

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.





References