After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 578279 - Tasque crashes when RTM unavailable (unhandled RtmNet.ResponseXmlException)
Tasque crashes when RTM unavailable (unhandled RtmNet.ResponseXmlException)
Status: RESOLVED FIXED
Product: Tasque
Classification: Other
Component: Backend/RTM
git
Other Linux
: Normal major
: 0.1.10
Assigned To: tasque-maint
tasque-maint
: 578291 596002 597273 (view as bug list)
Depends on:
Blocks:
 
 
Reported: 2009-04-07 18:28 UTC by Chris Miller
Modified: 2012-08-30 13:58 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Chris Miller 2009-04-07 18:28:26 UTC
As of this morning (4/7), I get the following error on launch:

Looks like maybe RTM added something to the XML feed that tasque isn't expecting?

This occurs on Ubuntu 8.10, Gnome, mostly default settings

--------------
Xlib:  extension "RANDR" missing on display ":0.0".
[Debug]: Tasque remote control active.
[Debug]: Found Available Backend: Tasque.Backends.RtmBackend.RtmBackend
[Debug]: Tasque.exe location:  /usr/local/lib/tasque/Tasque.exe
[Info]: Searching for Backend DLLs in: /usr/local/lib/tasque
[Info]: 	Reading /usr/local/lib/tasque/RtmNet.dll
[Debug]: Storing 'Tasque.Backends.RtmBackend.RtmBackend' = 'Remember the Milk'
[Debug]: CurrentBackend specified in Preferences: Tasque.Backends.RtmBackend.RtmBackend
[Info]: Using backend: Remember the Milk (Tasque.Backends.RtmBackend.RtmBackend)
[Debug]: Found AuthToken, checking credentials...

Exception in Gtk# callback delegate
  Note: Applications can use GLib.ExceptionManager.UnhandledException to handle the exception.
RtmNet.ResponseXmlException: Invalid response received from Rtm. ---> System.InvalidOperationException: There is an error in XML document. ---> System.InvalidOperationException: <html xmlns='http://www.w3.org/1999/xhtml'> was not expected
  at System.Xml.Serialization.XmlSerializationReaderInterpreter.ReadRoot (System.Xml.Serialization.XmlTypeMapping rootMap) [0x00000] 
  at System.Xml.Serialization.XmlSerializationReaderInterpreter.ReadRoot () [0x00000] 
  at System.Xml.Serialization.XmlSerializer.Deserialize (System.Xml.Serialization.XmlSerializationReader reader) [0x00000] --- End of inner exception stack trace ---

  at System.Xml.Serialization.XmlSerializer.Deserialize (System.Xml.Serialization.XmlSerializationReader reader) [0x00000] 
  at System.Xml.Serialization.XmlSerializer.Deserialize (System.Xml.XmlReader xmlReader) [0x00000] 
  at System.Xml.Serialization.XmlSerializer.Deserialize (System.IO.TextReader textReader) [0x00000] 
  at RtmNet.Utils.Deserialize (System.String responseString) [0x00000] --- End of inner exception stack trace ---

  at RtmNet.Utils.Deserialize (System.String responseString) [0x00000] 
  at RtmNet.Rtm.GetResponse (System.Collections.Hashtable parameters) [0x00000] 
  at RtmNet.Rtm.AuthCheckToken (System.String token) [0x00000] 
  at Tasque.Backends.RtmBackend.RtmBackend.Initialize () [0x00000] 
  at Tasque.Application.set_Backend (IBackend value) [0x00000] 
  at Tasque.Application.InitializeIdle () [0x00000] 
  at GLib.Idle+IdleProxy.Handler () [0x00000] 
   at GLib.ExceptionManager.RaiseUnhandledException(System.Exception e, Boolean is_terminal)
   at GLib.Idle+IdleProxy.Handler()
   at GLib.Idle+IdleProxy.Handler()
   at Gtk.Application.gtk_main()
   at Gtk.Application.gtk_main()
   at Gtk.Application.Run()
   at Gnome.Program.Run()
   at Tasque.GnomeApplication.StartMainLoop()
   at Tasque.Application.StartMainLoop()
   at Tasque.Application.Main(System.String[] args)
--------------
Comment 1 Sandy Armstrong 2009-04-07 18:47:29 UTC
What's actually happening here is that RTM is responding with a full HTML page: http://paste2.org/p/179409

The relevant text from that response is:
"<p>Remember The Milk is temporarily unavailable. Our engineers are working on the issue, and we'll be back soon.</p>"

So, for some reason, RTM is unavailable.  We should *not* crash in this situation, though.  Instead, we should let the user know what's going on.

I'm confirming, dropping the severity to major, and targeting a fix for the next release.
Comment 2 Sandy Armstrong 2009-04-07 20:14:02 UTC
*** Bug 578291 has been marked as a duplicate of this bug. ***
Comment 3 Sandy Armstrong 2009-10-04 16:07:37 UTC
*** Bug 597273 has been marked as a duplicate of this bug. ***
Comment 4 Randall Wood 2009-11-04 19:03:31 UTC
*** Bug 596002 has been marked as a duplicate of this bug. ***
Comment 5 Mario Carrion 2010-03-25 18:02:26 UTC
Setting Component to RTM. Sorry for the spam.
Comment 6 Mario Carrion 2010-04-15 22:17:17 UTC
Sorry for the spam. Setting milestone to 0.1.10 aka "Crashes fixed Release"
Comment 7 Antonius Riha 2012-08-30 13:58:28 UTC
Fixed in 0.1.11