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 462652 - Podcast plugin fails to load
Podcast plugin fails to load
Status: RESOLVED DUPLICATE of bug 440172
Product: banshee
Classification: Other
Component: Podcasting
0.12.1
Other All
: Normal major
: 2.x
Assigned To: Mike Urbanski
Mike Urbanski
Depends on:
Blocks:
 
 
Reported: 2007-08-02 01:11 UTC by David Nielsen
Modified: 2007-08-20 13:03 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description David Nielsen 2007-08-02 01:11:10 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
Comment 1 David Nielsen 2007-08-02 01:18:15 UTC
I assume you'll be requiring my database so a copy can be found here:

http://www.lovesunix.net/bugs/banshee.db
Comment 2 Mike Urbanski 2007-08-02 15:50:04 UTC
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.
Comment 3 David Nielsen 2007-08-02 16:36:10 UTC
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.
Comment 4 Mike Urbanski 2007-08-02 17:48:15 UTC
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
Comment 5 David Nielsen 2007-08-02 19:34:08 UTC
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.
Comment 6 David Nielsen 2007-08-10 19:23:14 UTC
Mike do you have something I can try?
Comment 7 Aaron Bockover 2007-08-13 18:49:35 UTC
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.
Comment 8 David Nielsen 2007-08-13 19:38:25 UTC
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 
Comment 9 David Nielsen 2007-08-20 13:03:01 UTC
This looks like a dup of #440172 (Unable to load Podcast plugin)

*** This bug has been marked as a duplicate of 440172 ***