[ubuntu-mono] [Bug 791418] Re: Xspf Playlist Import Error

Snorri 791418 at bugs.launchpad.net
Wed Jun 1 20:29:56 UTC 2011


Year it looks like the same.

In my opinion the last entry is the important one. 
The System cannot parse the date tag in my xspf file. 

snorri

** Attachment added: "~/.config/banshee-1/log"
   https://bugs.launchpad.net/ubuntu/+source/banshee/+bug/791418/+attachment/2151226/+files/log

-- 
You received this bug notification because you are a member of Ubuntu
CLI/Mono Uploaders, which is subscribed to banshee in Ubuntu.
https://bugs.launchpad.net/bugs/791418

Title:
  Xspf Playlist Import Error

Status in “banshee” package in Ubuntu:
  Incomplete

Bug description:
  Binary package hint: banshee

  hej hej,

  I would import my xspf playlists from an earlier ubuntu system. It
  fails with the following warning:

  Caught an exception - System.ArgumentOutOfRangeException: Argument is out of range.
  Parameter name: Parameters describe an unrepresentable DateTime. (in `mscorlib')
    at System.DateTime..ctor (Int32 year, Int32 month, Int32 day, Int32 hour, Int32 minute, Int32 second, Int32 millisecond) [0x00000] in <filename unknown>:0 
    at Media.Playlists.Xspf.W3CDateTime.Parse (System.String s) [0x00000] in <filename unknown>:0 
  System.FormatException: Input is not a valid W3C or RFC822 date (in `Mono.Media')
    at Media.Playlists.Xspf.W3CDateTime.Parse (System.String s) [0x00000] in <filename unknown>:0 
    at Media.Playlists.Xspf.XmlUtil.ReadDate (System.Xml.XmlNode node, System.Xml.XmlNamespaceManager xmlns, System.String xpath) [0x00000] in <filename unknown>:0 
    at Media.Playlists.Xspf.Playlist.Load (System.Xml.XmlDocument doc) [0x00000] in <filename unknown>:0 
    at Media.Playlists.Xspf.Playlist.Load (System.IO.TextReader reader) [0x00000] in <filename unknown>:0 
    at Banshee.Playlists.Formats.XspfPlaylistFormat.Load (System.IO.StreamReader stream, Boolean validateHeader) [0x00000] in <filename unknown>:0 
    at Banshee.Playlists.Formats.PlaylistFormatBase.Load (System.IO.Stream stream, Boolean validateHeader) [0x00000] in <filename unknown>:0 
    at Banshee.Playlists.Formats.PlaylistParser.Parse (Hyena.SafeUri uri) [0x00000] in <filename unknown>:0 
    at Banshee.Playlist.PlaylistFileUtil.ImportPlaylistToLibrary (System.String path, Banshee.Sources.PrimarySource source, Banshee.Collection.Database.DatabaseImportManager importer) [0x00000] in <filename unknown>:0 

  If I delete the content of the date tag on top of the xspf file, it
  works for me!

  I'm using Ubuntu 11.04 with banshee 2.0.0-2ubuntu1 .



More information about the Ubuntu-mono mailing list