Hangs when opening and adding new tasks with RTM

Bug #457526 reported by Matt McKeon
20
This bug affects 4 people
Affects Status Importance Assigned to Milestone
Tasque
New
Undecided
Unassigned
tasque (Ubuntu)
Confirmed
Undecided
Unassigned

Bug Description

Binary package hint: tasque

Running updated Karmic 9.10 using Remember The Milk as the backend.

tasque:
  Installed: 0.1.8-4
  Candidate: 0.1.8-4
  Version table:
 *** 0.1.8-4 0
        500 http://us.archive.ubuntu.com karmic/universe Packages
        100 /var/lib/dpkg/status

First starting Tasque it takes noticeably longer then it used to in the past to load the tasks. After a bit the window shows, and stays blank for awhile before any tasks appear.
When adding/editing an existing task it hangs and usually the window greys out before anything happens.

I would expect it to load faster as it used to. Maybe some type of notification so I know its not dead and still working.

This is the output from running on the command line:

tasque --debug
** Running Mono with --debug **
[Debug]: Tasque remote control active.
[Debug]: Backend specified: --debug
[Debug]: Found Available Backend: Tasque.Backends.RtmBackend.RtmBackend
[Debug]: Found Available Backend: Tasque.Backends.Sqlite.SqliteBackend
[Debug]: Found Available Backend: Tasque.Backends.EDS.EDSBackend
[Debug]: Tasque.exe location: /usr/lib/tasque/Tasque.exe
[Info]: Searching for Backend DLLs in: /usr/lib/tasque
[Info]: Reading /usr/lib/tasque/RtmNet.dll
[Debug]: Storing 'Tasque.Backends.RtmBackend.RtmBackend' = 'Remember the Milk'
[Debug]: Storing 'Tasque.Backends.Sqlite.SqliteBackend' = 'Local File'
[Debug]: Storing 'Tasque.Backends.EDS.EDSBackend' = 'Evolution Data Server'
[Debug]: CurrentBackend specified in Preferences: Tasque.Backends.RtmBackend.RtmBackend
[Info]: Using backend: Remember the Milk (Tasque.Backends.RtmBackend.RtmBackend)
[Debug]: Found AuthToken, checking credentials...

(no window, just waiting)

[Debug]: RTM Auth Token is valid!
[Debug]: Setting configured status to true
[Debug]: ThreadState: Unstarted
[Debug]: Configuration status: True

(a blank window)

[Debug]: RtmBackend.UpdateCategories was called
[Debug]: RtmBackend.UpdateCategories is done
[Debug]: RtmBackend.UpdateTasks was called

(a blank window)

[Debug]: RtmBackend.UpdateTasks is done
[Debug]: Backend sync finished
[Debug]: Backend sync finished

(window shows RTM tasks)

Revision history for this message
Greg Grossmeier (greg.grossmeier) wrote :

Confirmed with the version of Tasque in Jaunty (0.1.8-1build2) which points to an issue with the RTM backend communication.

Changed in tasque (Ubuntu):
status: New → Confirmed
Revision history for this message
Sandy Armstrong (sanfordarmstrong) wrote :

We had to modify Tasque to enforce RTM's rule of "one request per second", or else RTM was sending corrupt responses. I believe both initial startup and adding tasks consists of multiple requests, which would explain the problem (multiple requests => multiple seconds).

Although reducing the number of requests would be a good thing, the real solution is to implement caching (aka offline support), so that when you start Tasque is loads a cache of what was there last time, and does the sync with RTM in the background so the user has a faster experience. Same with adding/editing...it would happen instantly in the UI, and the sync to RTM would occur in the background.

Patches welcome, as Tasque is not in very active development right now.

Revision history for this message
Carsten Heidmann (stranljip) wrote :

Are there any updates on this? I really like tasque as a lightweight interface to RTM, but the delay is annoying. Otherwise: Great tool, thanks for it!

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.