traceback when trying to open a particular task

Bug #612141 reported by Jeff Fortin Tam on 2010-07-31
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Getting Things GNOME!
High
Lionel Dricot

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.

Izidor Matušov (izidor) on 2011-08-13
Changed in gtg:
milestone: none → 0.2.9
Lionel Dricot (ploum) wrote :

Can you try to reproduce that with trunk, using ./scripts/import_my_task ?

Changed in gtg:
status: New → Incomplete
importance: Undecided → High
Lionel Dricot (ploum) on 2011-08-25
Changed in gtg:
milestone: 0.2.9 → none
Jeff Fortin Tam (kiddo) wrote :

Confirming as fixed with trunk.

Changed in gtg:
status: Incomplete → Fix Committed
Izidor Matušov (izidor) wrote :

Marking it as properly fixed (so it "disappears" with the next release of GTG)

Changed in gtg:
milestone: none → 0.3
assignee: nobody → Lionel Dricot (ploum)
Changed in gtg:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers