GTG

RTM Plugin sync stops

Bug #516704 reported by Chris Johnston
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
GTG
Fix Released
Low
Luca Invernizzi

Bug Description

After upgrading gtg this morning, I am no longer able to sync with RTM. The progress bar shows approximately 50% and then holds. The window says deleting tasks from RTM, and the progress bar says Adding <task name>.

Output from command line:

chris@titan:~$ gtg

** (gtg:13217): CRITICAL **: atk_object_set_name: assertion `name != NULL' failed
Exception in thread Thread-4:
Traceback (most recent call last):
  File "/usr/lib/python2.6/threading.py", line 525, in __bootstrap_inner
    self.run()
  File "/usr/lib/python2.6/threading.py", line 477, in run
    self.__target(*self.__args, **self.__kwargs)
  File "/usr/share/gtg/GTG/plugins/rtm_sync/syncEngine.py", line 83, in synchronize
    self.synchronizeWorker()
  File "/usr/share/gtg/GTG/plugins/rtm_sync/syncEngine.py", line 147, in synchronizeWorker
    self.remote_proxy)
  File "/usr/share/gtg/GTG/plugins/rtm_sync/syncEngine.py", line 234, in _process_deleted_tasks
    tasks_to_remove = self._task_ids_to_tasks(ids_to_remove, all_tasks)
  File "/usr/share/gtg/GTG/plugins/rtm_sync/syncEngine.py", line 219, in _task_ids_to_tasks
    return map(lambda id: id_to_task[id], id_list)
  File "/usr/share/gtg/GTG/plugins/rtm_sync/syncEngine.py", line 219, in <lambda>
    return map(lambda id: id_to_task[id], id_list)
KeyError: '90283277'

Revision history for this message
Chris Johnston (cjohnston) wrote :

I also have multiple copies of some tasks..

Revision history for this message
Luca Invernizzi (invernizzi) wrote :

Hi Chris,
first of all, backup your tasks:
tar czf gtg_data.tgz .local/share/gtg

then try:
rm .local/share/gtg/plugins/rtm-sync/taskpairs

Changed in gtg:
importance: Undecided → Medium
assignee: nobody → Luca Invernizzi (invernizzi)
importance: Medium → High
status: New → Confirmed
milestone: none → 0.3
Revision history for this message
Luca Invernizzi (invernizzi) wrote :

ok, those lines solve this. Yt was due to the new features. keeping the bug open to investigate why it happened.

Changed in gtg:
importance: High → Low
Changed in gtg:
status: Confirmed → Fix Committed
Changed in gtg:
milestone: 0.3 → 0.2.2
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.