GTG

RTM sync don't work at all

Bug #581696 reported by Marko Kevac
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
GTG
Won't Fix
Undecided
Unassigned

Bug Description

Plugin -> Synchronize with RTM and this happens:

Exception in thread Thread-9:
Traceback (most recent call last):
  File "/usr/lib/python2.6/threading.py", line 532, in __bootstrap_inner
    self.run()
  File "/usr/lib/python2.6/threading.py", line 484, in run
    self.__target(*self.__args, **self.__kwargs)
  File "/home/marko/stuff/projects/gtg/GTG/plugins/rtm_sync/syncEngine.py", line 79, in synchronize
    self.synchronizeWorker()
  File "/home/marko/stuff/projects/gtg/GTG/plugins/rtm_sync/syncEngine.py", line 87, in synchronizeWorker
    self.local_proxy.generateTaskList()
  File "/home/marko/stuff/projects/gtg/GTG/plugins/rtm_sync/gtgProxy.py", line 36, in generateTaskList
    requester.get_tasks_list(status = statuses, \
AttributeError: 'Requester' object has no attribute 'get_tasks_list'

Version: Last version from repository as of 17 may 2010.
Ubuntu 10.04

Tags: rtm
Marko Kevac (mkevac)
description: updated
Revision history for this message
Luca Invernizzi (invernizzi) wrote :

Could you explain from which repository did you get this code?
If it's the trunk, then it can be easily explained (it's caused by another bug)

Changed in gtg:
status: New → Invalid
status: Invalid → Incomplete
Revision history for this message
Marko Kevac (mkevac) wrote :

[marko@marko-work gtg]$ bzr info
Standalone tree (format: unnamed)
Location:
  branch root: .

Related branches:
  parent branch: http://bazaar.launchpad.net/~gtg/gtg/trunk/

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

Ok, that is due to bug #529520. We have been rewriting big chunks of trunk for the sake of speed, and plugins are currently broken.

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

Since the rtm plugin is now being integrated in core, I'm marking it as wont fix.

Changed in gtg:
status: Incomplete → Won't Fix
Revision history for this message
Marko Kevac (mkevac) wrote :

How can I fetch version with RTM sync capability then? Or it is not yet ready?

Revision history for this message
Luca Invernizzi (invernizzi) wrote :
Revision history for this message
Tofe (chris-chapuis) wrote :

The bzr branch lp:gtg/0.2 doesn't work, it has exactly this problem. It could be fixed simply by replacing "requester.get_tasks_list" by "requester.get_active_tasks_list" in GTG/plugins/rtm_sync/gtgProxy.py. I'm aware that the latter API is now deprecated, but, well, what is the point of backporting rtm_sync to the 0.2 branch, if it doesn't work?

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

This is strange. I have been running lp:gtg/0.2 for some time on my machine and never got any error about that.
Besides, the Requester has a "get_tasks_list" method (http://bazaar.launchpad.net/~gtg/gtg/release-0.2/annotate/head:/GTG/core/requester.py), and get_active_tasks_list, it the parameter workable is set to False (this case, since we want all active tasks), is just a front end for get_tasks_list.

Could you give me the traceback of the error? That would help identifying this one.

Revision history for this message
Tofe (chris-chapuis) wrote :

Oh. I'm really sorry. Please forgive me. I was so sure I was on the lp:gtg/0.2 branch ! But I wasn't.
Now I will think about my mistake, and try to evolve a bit :-)
Anyway thanks for your quick answer!

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

No problem, we all make mistakes :)

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.