Steps to reproduce:
1. Create a task 'Lunch'
2. Create a subtask for it called '@buy Milk'
3. Open and close an editor of 'Lunch' task few times
After a while the task editor can't be opened and there is a traceback in terminal:
Traceback (most recent call last):
File "/home/izidor/projekte/gtg/gtg/GTG/gtk/editor/taskviewserial.py", line 159, in unserialize
success = self.parsexml(content_buf, ite, element.firstChild)
File "/home/izidor/projekte/gtg/gtg/GTG/gtk/editor/taskviewserial.py", line 208, in parsexml
text = n.firstChild.nodeValue
AttributeError: 'NoneType' object has no attribute 'nodeValue'
Traceback (most recent call last):
File "/home/izidor/projekte/gtg/gtg/GTG/gtk/browser/browser.py", line 1041, in on_edit_active_task
self.vmanager.open_task(tid)
File "/home/izidor/projekte/gtg/gtg/GTG/gtk/manager.py", line 177, in open_task
clipboard = self.clipboard)
File "/home/izidor/projekte/gtg/gtg/GTG/gtk/editor/editor.py", line 130, in __init__
self.textview.insert("%s"%texte)
File "/home/izidor/projekte/gtg/gtg/GTG/gtk/editor/taskview.py", line 269, in insert
self.buff.deserialize(self.buff, self.mime_type, _iter, text)
glib.GError: Unknown error when trying to deserialize application/x-gtg-task
Steps to reproduce:
1. Create a task 'Lunch'
2. Create a subtask for it called '@buy Milk'
3. Open and close an editor of 'Lunch' task few times
After a while the task editor can't be opened and there is a traceback in terminal:
Traceback (most recent call last): izidor/ projekte/ gtg/gtg/ GTG/gtk/ editor/ taskviewserial. py", line 159, in unserialize content_ buf, ite, element.firstChild) izidor/ projekte/ gtg/gtg/ GTG/gtk/ editor/ taskviewserial. py", line 208, in parsexml nodeValue izidor/ projekte/ gtg/gtg/ GTG/gtk/ browser/ browser. py", line 1041, in on_edit_active_task vmanager. open_task( tid) izidor/ projekte/ gtg/gtg/ GTG/gtk/ manager. py", line 177, in open_task izidor/ projekte/ gtg/gtg/ GTG/gtk/ editor/ editor. py", line 130, in __init__ textview. insert( "%s"%texte) izidor/ projekte/ gtg/gtg/ GTG/gtk/ editor/ taskview. py", line 269, in insert buff.deserializ e(self. buff, self.mime_type, _iter, text) x-gtg-task
File "/home/
success = self.parsexml(
File "/home/
text = n.firstChild.
AttributeError: 'NoneType' object has no attribute 'nodeValue'
Traceback (most recent call last):
File "/home/
self.
File "/home/
clipboard = self.clipboard)
File "/home/
self.
File "/home/
self.
glib.GError: Unknown error when trying to deserialize application/