GTG

traceback when trying to open a particular task

Bug #612141 reported by Jeff Fortin Tam
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
GTG
Fix Released
High
Unassigned

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.

Revision history for this message
Jeff Fortin Tam (kiddo) wrote :
Izidor Matušov (izidor)
Changed in gtg:
milestone: none → 0.2.9
Revision history for this message
Lionel Dricot (ploum-deactivatedaccount) wrote :

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

Changed in gtg:
status: New → Incomplete
importance: Undecided → High
Changed in gtg:
milestone: 0.2.9 → none
Revision history for this message
Jeff Fortin Tam (kiddo) wrote :

Confirming as fixed with trunk.

Changed in gtg:
status: Incomplete → Fix Committed
Revision history for this message
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  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.