GNOME Bugzilla – Bug 578279
Tasque crashes when RTM unavailable (unhandled RtmNet.ResponseXmlException)
Last modified: 2012-08-30 13:58:28 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) --------------
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.
*** Bug 578291 has been marked as a duplicate of this bug. ***
*** Bug 597273 has been marked as a duplicate of this bug. ***
*** Bug 596002 has been marked as a duplicate of this bug. ***
Setting Component to RTM. Sorry for the spam.
Sorry for the spam. Setting milestone to 0.1.10 aka "Crashes fixed Release"
Fixed in 0.1.11