GNOME Bugzilla – Bug 462652
Podcast plugin fails to load
Last modified: 2007-08-20 13:03:01 UTC
Please describe the problem: I'm seeing the podcast plugin suddenly fail to load, the following can be seen as terminal output when starting Banshee: Unable to load Podcast DB System.FormatException: String was not recognized as a valid DateTime. at System.DateTime.Parse (System.String s, IFormatProvider fp, DateTimeStyles styles) [0x00000] at System.DateTime.Parse (System.String s, IFormatProvider fp) [0x00000] at System.DateTime.Parse (System.String s) [0x00000] at Mono.Data.SqliteClient.SqliteDataReader.ReadpVm (IntPtr pVm, Int32 version, Mono.Data.SqliteClient.SqliteCommand cmd) [0x00000] at Mono.Data.SqliteClient.SqliteDataReader..ctor (Mono.Data.SqliteClient.SqliteCommand cmd, IntPtr pVm, Int32 version) [0x00000] at (wrapper remoting-invoke-with-check) Mono.Data.SqliteClient.SqliteDataReader:.ctor (Mono.Data.SqliteClient.SqliteCommand,intptr,int) at Mono.Data.SqliteClient.SqliteCommand.ExecuteReader (CommandBehavior behavior, Boolean want_results, System.Int32& rows_affected) [0x00000] at Mono.Data.SqliteClient.SqliteCommand.ExecuteReader (CommandBehavior behavior) [0x00000] at Mono.Data.SqliteClient.SqliteCommand.ExecuteReader () [0x00000] at Banshee.Database.QueuedSqliteCommand.Execute () [0x00000] Warning: [08/02/2007 03:02:37] (Could not refresh stations cache) - There is no available network connection I assume I added a podcast with a non conformant feed or a non conformant update was issued to a feed I am subscribed to, though since I can't access my podcasts I can't extract the feed data (or rather I'm to dumb to do so). Steps to reproduce: 1. Start banshee Actual results: No podcast plugin loaded Expected results: Glorious state of the art podcast support Does this happen every time? 100% Other information: Running Ubuntu Gutsy (20070801) on i386
I assume you'll be requiring my database so a copy can be found here: http://www.lovesunix.net/bugs/banshee.db
The symptom is caused by a simple oversight, though I have no clue how the invalid date made its way into the db. I'll put a fix in SVN.
Excellent, I'll be able to test that as soon as #461992 is fixed (building against nautilus-cd-burner 2.19.x, or I find a way to disable that check.. why one wonders is burning a CD considered mandatory instead of a plugin). Mike I definitely owe you a beer.
Hold off on the beer, I think my previous assumption was wrong. I'll look into it further when I get off of work. Could you please repost your db? ~Mike
Okay I just took it down expecting this was fixed and thus the db was unneeded. No need to have personal information wastefully taking up webspace and all that. It's back up at the same location.
Mike do you have something I can try?
David: I have a feeling this is a similar locale issue from the recommendation bug. Would you run Banshee using --debug and post the trace again so I can see line numbers? Mike: JFYI, dates in sqlite should be stored as unix timestamps. There is DateTimeUtils in Banshee to convert to and from dates. This avoids the funny locale/parsing issues that this bug probably exhibits.
Indeed I can my good man, one debug run coming right up. ** Running Banshee in Debug Mode ** ** Running Mono with --debug ** /bin/sh: /usr/bin/esd: not found Debug: [13-08-2007 21:36:08] (Loading audio profiles) - /usr//share/banshee/audio-profiles Debug: [13-08-2007 21:36:10] (GStreamer pipeline does not run) - audioconvert ! xingenc bitrate=128 ! id3v2mux Debug: [13-08-2007 21:36:10] (GStreamer pipeline does not run) - audioconvert ! fluwmaenc bitrate=64000 vbr=false ! fluasfmux Debug: [13-08-2007 21:36:10] (Standard afspillermotor) - GStreamer 0.10 Debug: [13-08-2007 21:36:10] (Lyd-cd-kerne initialiseret) - Warning: [13-08-2007 21:36:10] (Power Management Call Failed) - Cannot find GNOME Power Manager: Name org.gnome.PowerManager has no owner Debug: [13-08-2007 21:36:10] (Enabled multimedia keys support) - Using org.gnome.SettingsDaemon Debug: [13-08-2007 21:36:10] (Audioscrobbler starting protocol engine) - Building initial DAAP database from local library... Kunne ikke indlæse podcast-database System.FormatException: String was not recognized as a valid DateTime. at System.DateTime.Parse (System.String s, IFormatProvider fp, DateTimeStyles styles) [0x00000] at System.DateTime.Parse (System.String s, IFormatProvider fp) [0x00000] at System.DateTime.Parse (System.String s) [0x00000] at Mono.Data.SqliteClient.SqliteDataReader.ReadpVm (IntPtr pVm, Int32 version, Mono.Data.SqliteClient.SqliteCommand cmd) [0x00000] at Mono.Data.SqliteClient.SqliteDataReader..ctor (Mono.Data.SqliteClient.SqliteCommand cmd, IntPtr pVm, Int32 version) [0x00000] at (wrapper remoting-invoke-with-check) Mono.Data.SqliteClient.SqliteDataReader:.ctor (Mono.Data.SqliteClient.SqliteCommand,intptr,int) at Mono.Data.SqliteClient.SqliteCommand.ExecuteReader (CommandBehavior behavior, Boolean want_results, System.Int32& rows_affected) [0x00000] at Mono.Data.SqliteClient.SqliteCommand.ExecuteReader (CommandBehavior behavior) [0x00000] at Mono.Data.SqliteClient.SqliteCommand.ExecuteReader () [0x00000] at Banshee.Database.QueuedSqliteCommand.Execute () [0x00034] in /usr/src/banshee/src/Core/Banshee.Base/QueuedSqliteDatabase.cs:207
This looks like a dup of #440172 (Unable to load Podcast plugin) *** This bug has been marked as a duplicate of 440172 ***