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 516961 - Import playlist does nothing or causes crash
Import playlist does nothing or causes crash
Status: RESOLVED INCOMPLETE
Product: banshee
Classification: Other
Component: general
0.13.2
Other Linux
: Normal normal
: 2.x
Assigned To: Banshee Maintainers
Banshee Maintainers
Depends on:
Blocks:
 
 
Reported: 2008-02-17 09:13 UTC by Asaf
Modified: 2008-06-06 15:46 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
here is the playlist that causes the crash (146.37 KB, audio/x-mpegurl)
2008-02-17 09:14 UTC, Asaf
Details

Description Asaf 2008-02-17 09:13:38 UTC
When importing a playlist nothing happens, the playlist is not imported.

It seems that banshee is trying  to do something, since there is a progress bar, but then nothing happens.

In a specific playlist that I will try to attach, banshee crashes.

This is the debug report:

(Banshee:28396): GdkPixbuf-WARNING **: GdkPixbufLoader finalized without calling gdk_pixbuf_loader_close() - this is not allowed. You must explicitly end the data stream to the loader before dropping the last reference.

Unhandled Exception: System.ApplicationException: URI could not be converted to local file path
  at Banshee.Base.SafeUri.UriToFilename (System.String uri) [0x00043] in /home/family/banshee-stable/src/Core/Banshee.Base/SafeUri.cs:105 
  at Banshee.Base.SafeUri.get_AbsolutePath () [0x00016] in /home/family/banshee-stable/src/Core/Banshee.Base/SafeUri.cs:154 
  at Banshee.Base.SafeUri.get_LocalPath () [0x00000] in /home/family/banshee-stable/src/Core/Banshee.Base/SafeUri.cs:162 
  at Banshee.Base.UriList.get_LocalPaths () [0x0007e] in /home/family/banshee-stable/src/Core/Banshee.Base/UriList.cs:127 
  at Banshee.Base.ImportManager+<>c__CompilerGenerated64.<>c__AnonymousMethod197 () [0x00000] in /home/family/banshee-stable/src/Core/Banshee.Base/ImportManager.cs:168 
  at (wrapper delegate-invoke) System.MulticastDelegate:invoke_void ()


I just tried to import a playlist that was in banshee akready.
I exported the playlist, changed the playlist name and contents, and then tried in various ways to import it as a new playlist. In more playlists nothing happens. In a specific one that was created from a smartplaylist banshee crashes.
Comment 1 Asaf 2008-02-17 09:14:37 UTC
Created attachment 105422 [details]
here is the playlist that causes the crash
Comment 2 Andrew Conkling 2008-02-21 22:05:16 UTC
Looks like those paths are not absolute. Can you do some find-and-replace action to make absolute paths and try importing that? Let me know if you need help with that (or tell me the full path to your "Music" folder) and I'll try to help.
Comment 3 Andrew Conkling 2008-03-11 14:38:32 UTC
Downstream comments indicate absolute path playlists do seem to work, but there was no crash reported there: https://bugs.launchpad.net/ubuntu/+source/banshee/+bug/181141.
Comment 4 Andrew Conkling 2008-03-11 15:45:30 UTC
Reported bug #521783 to cover the relative path playlists, this bug continues to cover this crash.

I exported a playlist and then re-imported it. It failed, but didn't crash.
Comment 5 Andrew Conkling 2008-06-06 15:46:18 UTC
Closing this bug report as no further information has been provided. Please feel free to reopen this bug if you can provide the information asked for.
Thanks!