← Back to team overview

gtg team mailing list archive

[Bug 612141] Re: traceback when trying to open a particular task

 

** Attachment added: "screenshot - the selected task is the one that doesn't work"
   http://launchpadlibrarian.net/52796583/faulty%20task.png

-- 
traceback when trying to open a particular task
https://bugs.launchpad.net/bugs/612141
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!: New

Bug description:
With 0.2.4, I have a task here that causes a traceback when you try to open it for editing (and so, you can never edit it). It used to work, and it's the first time I encounter this problem.

The output looks like this:

jeff@kagami:~$ gtg
Traceback (most recent call last):
  File "/usr/share/gtg/GTG/taskeditor/taskviewserial.py", line 159, in unserialize
    success = self.parsexml(content_buf, ite, element.firstChild)
  File "/usr/share/gtg/GTG/taskeditor/taskviewserial.py", line 208, in parsexml
    text = n.firstChild.nodeValue
AttributeError: 'NoneType' object has no attribute 'nodeValue'
Traceback (most recent call last):
  File "/usr/share/gtg/GTG/taskbrowser/browser.py", line 1501, in on_edit_active_task
    self.open_task(tid)
  File "/usr/share/gtg/GTG/taskbrowser/browser.py", line 847, in open_task
    clipboard = self.clipboard)
  File "/usr/share/gtg/GTG/taskeditor/editor.py", line 162, in __init__
    self.textview.insert("%s"%texte)
  File "/usr/share/gtg/GTG/taskeditor/taskview.py", line 244, in insert
    self.buff.deserialize(self.buff, self.mime_type, _iter, text)
glib.GError: Une erreur inconnue est survenue lors de la tentative de décodage de application/x-gtg-task

Attached is a screenshot. If you would like to have my xml file (containing the data), do ask and I will send it by direct mail.





References