Public bug reported:
Hi,
first of all, thks for this software. I'm just staring to use it but i'm
quite enthusiastic !
I met a quite critical bug :
- I had a task A with a tag
- I wanted to add a subtask using the right-click button over the tree.
- It added my new subtask, but below the tag in the text area of the task A
- Because I have my subtasks lists before the tag, i wanted to copy/paste this
new subtask to put it over the tag
- This crashed GTG
Then I wanted to reproduced this bug but simply by doing copy/paste of subtasks
that already exist, in the task editor
- I use my task A
- Tried to change the order of the subtasks by copy/pasting the last one to the
1st place of subtasks
- Crashed GTG
Now I cannot restart GTG :
representa...@representante:~$ gtg
Traceback (most recent call last):
File "/usr/bin/gtg", line 33, in <module>
sys.exit(GTG.gtg.main())
File "/var/lib/python-support/python2.6/GTG/gtg.py", line 89, in main
backends_list = config.get_backends_list()
File "/var/lib/python-support/python2.6/GTG/core/__init__.py", line 139, in
get_backends_list
back = classobj.Backend(b)
File "/var/lib/python-support/python2.6/GTG/backends/localfile.py", line 81,
in __init__
self.doc, self.xmlproj = cleanxml.openxmlfile(self.zefile,"project")
File "/var/lib/python-support/python2.6/GTG/tools/cleanxml.py", line 69, in
openxmlfile
doc = xml.dom.minidom.parse(zefile)
File "/usr/lib/python2.6/xml/dom/minidom.py", line 1918, in parse
return expatbuilder.parse(file)
File "/usr/lib/python2.6/xml/dom/expatbuilder.py", line 924, in parse
result = builder.parseFile(fp)
File "/usr/lib/python2.6/xml/dom/expatbuilder.py", line 211, in parseFile
parser.Parse("", True)
xml.parsers.expat.ExpatError: no element found: line 1, column 0
The problem is that it deleted the XML as its size is now at zero (in
/home/user/.local/share/gtg)
To solve it i just renamed the last XML backup file (thanks to your
frequent backup system !)
** Affects: gtg
Importance: Undecided
Status: New
--
Copy/Paste of a subtask in the task editor shut down GTG
https://bugs.launchpad.net/bugs/418907
You received this bug notification because you are a member of Gtg
developers, which is the registrant for Getting Things GNOME!.
Status in Getting Things GNOME!: New
Bug description:
Hi,
first of all, thks for this software. I'm just staring to use it but i'm quite
enthusiastic !
I met a quite critical bug :
- I had a task A with a tag
- I wanted to add a subtask using the right-click button over the tree.
- It added my new subtask, but below the tag in the text area of the task A
- Because I have my subtasks lists before the tag, i wanted to copy/paste this
new subtask to put it over the tag
- This crashed GTG
Then I wanted to reproduced this bug but simply by doing copy/paste of subtasks
that already exist, in the task editor
- I use my task A
- Tried to change the order of the subtasks by copy/pasting the last one to the
1st place of subtasks
- Crashed GTG
Now I cannot restart GTG :
representa...@representante:~$ gtg
Traceback (most recent call last):
File "/usr/bin/gtg", line 33, in <module>
sys.exit(GTG.gtg.main())
File "/var/lib/python-support/python2.6/GTG/gtg.py", line 89, in main
backends_list = config.get_backends_list()
File "/var/lib/python-support/python2.6/GTG/core/__init__.py", line 139, in
get_backends_list
back = classobj.Backend(b)
File "/var/lib/python-support/python2.6/GTG/backends/localfile.py", line 81,
in __init__
self.doc, self.xmlproj = cleanxml.openxmlfile(self.zefile,"project")
File "/var/lib/python-support/python2.6/GTG/tools/cleanxml.py", line 69, in
openxmlfile
doc = xml.dom.minidom.parse(zefile)
File "/usr/lib/python2.6/xml/dom/minidom.py", line 1918, in parse
return expatbuilder.parse(file)
File "/usr/lib/python2.6/xml/dom/expatbuilder.py", line 924, in parse
result = builder.parseFile(fp)
File "/usr/lib/python2.6/xml/dom/expatbuilder.py", line 211, in parseFile
parser.Parse("", True)
xml.parsers.expat.ExpatError: no element found: line 1, column 0
The problem is that it deleted the XML as its size is now at zero (in
/home/user/.local/share/gtg)
To solve it i just renamed the last XML backup file (thanks to your frequent
backup system !)
_______________________________________________
Mailing list: https://launchpad.net/~gtg
Post to : [email protected]
Unsubscribe : https://launchpad.net/~gtg
More help : https://help.launchpad.net/ListHelp