banshee no longer plays music gstreamer resource error NotFound

Bug #751575 reported by Pete Goodall
36
This bug affects 7 people
Affects Status Importance Assigned to Milestone
banshee (Ubuntu)
Confirmed
Medium
Unassigned

Bug Description

Binary package hint: banshee

I can no longer play locally stored music in Banshee. I get no error in Banshee but if I start banshee from the command line I get the following error when trying to play a song:

[Error 16:11:53.512] GStreamer resource error: NotFound
[Error 16:11:53.789] GStreamer resource error: NotFound
[Error 16:11:54.068] GStreamer resource error: NotFound
[Error 16:11:54.350] GStreamer resource error: NotFound
[Error 16:11:54.633] GStreamer resource error: NotFound

When I run `banshee --debug` I get the following error:

An unhandled exception was thrown: Could not read add-in description

  at Mono.Addins.Addin.get_Description () [0x00000] in <filename unknown>:0
  at Mono.Addins.TreeNode.ResetCachedData () [0x00000] in <filename unknown>:0
  at Mono.Addins.TreeNode.ResetCachedData () [0x00000] in <filename unknown>:0
  at Mono.Addins.TreeNode.ResetCachedData () [0x00000] in <filename unknown>:0
  at Mono.Addins.TreeNode.ResetCachedData () [0x00000] in <filename unknown>:0
  at Mono.Addins.ExtensionContext.ResetCachedData () [0x00000] in <filename unknown>:0
  at Mono.Addins.AddinSessionService.ResetCachedData () [0x00000] in <filename unknown>:0
  at Mono.Addins.Database.AddinDatabase.ResetCachedData () [0x00000] in <filename unknown>:0
  at Mono.Addins.Database.AddinDatabase.Update (IProgressStatus monitor, System.String domain) [0x00000] in <filename unknown>:0
  at Mono.Addins.Database.AddinDatabase.Repair (IProgressStatus monitor, System.String domain) [0x00000] in <filename unknown>:0
  at Mono.Addins.AddinRegistry.Rebuild (IProgressStatus monitor) [0x00000] in <filename unknown>:0
  at Banshee.ServiceStack.ServiceManager.InitializeAddins () [0x00000] in <filename unknown>:0
  at Banshee.ServiceStack.ServiceManager.DefaultInitialize () [0x00000] in <filename unknown>:0
  at Banshee.ServiceStack.Application.Initialize () [0x00000] in <filename unknown>:0
  at Banshee.Gui.GtkBaseClient.Initialize (Boolean registerCommonServices) [0x00000] in <filename unknown>:0
  at Banshee.Gui.GtkBaseClient..ctor (Boolean initializeDefault, System.String defaultIconName) [0x00000] in <filename unknown>:0
  at Banshee.Gui.GtkBaseClient..ctor () [0x00000] in <filename unknown>:0
  at Nereid.Client..ctor () [0x00000] in <filename unknown>:0
  at (wrapper managed-to-native) System.Reflection.MonoCMethod:InternalInvoke (object,object[],System.Exception&)
  at System.Reflection.MonoCMethod.Invoke (System.Object obj, BindingFlags invokeAttr, System.Reflection.Binder binder, System.Object[] parameters, System.Globalization.CultureInfo culture) [0x00000] in <filename unknown>:0
Exception has been thrown by the target of an invocation.

  at System.Reflection.MonoCMethod.Invoke (System.Object obj, BindingFlags invokeAttr, System.Reflection.Binder binder, System.Object[] parameters, System.Globalization.CultureInfo culture) [0x00000] in <filename unknown>:0
  at System.Reflection.MonoCMethod.Invoke (BindingFlags invokeAttr, System.Reflection.Binder binder, System.Object[] parameters, System.Globalization.CultureInfo culture) [0x00000] in <filename unknown>:0
  at System.Reflection.ConstructorInfo.Invoke (System.Object[] parameters) [0x00000] in <filename unknown>:0
  at System.Activator.CreateInstance (System.Type type, Boolean nonPublic) [0x00000] in <filename unknown>:0
  at System.Activator.CreateInstance (System.Type type) [0x00000] in <filename unknown>:0
  at Banshee.Gui.GtkBaseClient.Startup () [0x00000] in <filename unknown>:0
  at Hyena.Gui.CleanRoomStartup.Startup (Hyena.Gui.StartupInvocationHandler startup) [0x00000] in <filename unknown>:0

.NET Version: 2.0.50727.1433
OS Version: Unix 2.6.38.7

Assembly Version Information:

System.Xml (2.0.0.0)
Banshee.Core (1.9.0.0)
Hyena.Data.Sqlite (1.9.0.0)
System.Core (3.5.0.0)
gdk-sharp (2.12.0.0)
Mono.Addins (0.4.0.0)
atk-sharp (2.12.0.0)
Hyena.Gui (1.9.0.0)
gtk-sharp (2.12.0.0)
Banshee.ThickClient (1.9.0.0)
Nereid (1.9.0.0)
NDesk.DBus.Proxies (0.0.0.0)
Mono.Posix (2.0.0.0)
Hyena (1.9.0.0)
NDesk.DBus (1.0.0.0)
glib-sharp (2.12.0.0)
System (2.0.0.0)
Banshee.Services (1.9.0.0)
Banshee (1.9.0.0)
mscorlib (2.0.0.0)

Platform Information: Linux 2.6.38-7-generic-pae i686 i386 GNU/Linux

Disribution Information:

[/etc/lsb-release]
DISTRIB_ID=Ubuntu
DISTRIB_RELEASE=11.04
DISTRIB_CODENAME=natty
DISTRIB_DESCRIPTION="Ubuntu Natty (development branch)"

[/etc/debian_version]
squeeze/sid

ProblemType: Bug
DistroRelease: Ubuntu 11.04
Package: banshee 1.9.6-1ubuntu1
ProcVersionSignature: Ubuntu 2.6.38-7.39-generic-pae 2.6.38
Uname: Linux 2.6.38-7-generic-pae i686
Architecture: i386
Date: Tue Apr 5 16:24:11 2011
InstallationMedia: Ubuntu 11.04 "Natty Narwhal" - Alpha i386 (20110218)
ProcEnviron:
 LANGUAGE=en_GB:en
 PATH=(custom, user)
 LANG=en_GB.UTF-8
 SHELL=/bin/bash
SourcePackage: banshee
UpgradeStatus: No upgrade log present (probably fresh install)

Revision history for this message
Pete Goodall (pgoodall) wrote :
Revision history for this message
Victor Vargas (kamus) wrote :

Have you checked in general if you are able to reproduce any sound, for example a video with Totem?

Changed in banshee (Ubuntu):
importance: Undecided → Low
Revision history for this message
Victor Vargas (kamus) wrote :

Pete, any news about this issue?

Revision history for this message
RichAustin (richaustin1961) wrote :

This is an old bug. It's something to do with the library being corrupt. I just had it in Ubuntu Natty after I re-imported my library. The fix is to remove "banshee.db" located in ~/config/banshee-1. Then run Banshee and rebuild the database.

HTH

Rich

Revision history for this message
Victor Vargas (kamus) wrote :

We are closing this bug report because it lacks the information we need to investigate the problem, as described in the previous comments. Please reopen it if you can give us the missing information, and don't hesitate to submit bug reports in the future. To reopen the bug report you can click on the current status, under the Status column, and change the Status back to "New". Thanks again!

Changed in banshee (Ubuntu):
status: New → Invalid
Revision history for this message
Eric Ongerth (ericongerth) wrote :

This should be reopened! I'm seeing a lot of internet chatter about the same issue. Banshee at some point (this is within 24 hours of a completely fresh install of Ubuntu 11.04 with the default installation of banshee) just stops playing music. I have only imported a single time, which brought in approximately six thousand tracks, all of which were from an iTunes folder so 100% of them are likely to be playable with no codec problems.

Who knows what caused it, but the evidence of the error was as follows, when banshee was started from terminal and I then attempted to play files:
[Error 09:07:18.856] GStreamer resource error: NotFound
[Error 09:07:19.124] GStreamer resource error: NotFound
[Error 09:07:19.395] GStreamer resource error: NotFound

(one of these lines per attempt to click the Play button).

Unfortunately I cannot answer Kamus' questions asked to Pete above, because I have already deleted ~/config/banshee-1/banshee.db and then re-imported my media, and it fixed the problem.

Please do not close this issue; it's real and not someone's imagination. But I realize you have to do that if someone does not answer. If you ask me follow-up questions I will attempt to answer them to the best of my ability.

Revision history for this message
Eric Ongerth (ericongerth) wrote :

By the way, if it happens again I will try the test Kamus suggested to Pete in the messages above -- I will try playing other media in other ways, such as opening a video with Totem, etc. and make sure system sound and other media players are working. But I will have to wait until (if) the problem happens again.

Victor Vargas (kamus)
Changed in banshee (Ubuntu):
importance: Low → Medium
status: Invalid → New
Revision history for this message
Eric Ongerth (ericongerth) wrote :

OK, one day later the problem is back. There are only two real changes I made to my Ubuntu 11.04 system since yesterday when I deleted banshee's media db and re-imported media which caused it to work properly again.

Since yesterday I set up the Empathy Internet Messaging widget that is I guess part of Unity, and I installed mysql, mysql-client and mysql-workbench. I don't think any of those things are likely to have caused a sound problem. Also I have logged out and shut down the system since then, then came back today and booted up. See additional idea about mounted volumes below.

Sound is working on my system in other ways. Chat notifications make a beep. Totem Movie Player 2.32.0 works properly (its "about" window shows "using GStreamer 0.10.32".

But I still get the same "GStreamer resource error: NotFound" errors if I run banshee from terminal and then try to play songs from my media library or a playlist.

I think I found a clue to this. When I right click on any of my tracks and choose "Open Containing Folder" an error dialog pops up saying "The folder could not be found. Please check that the track's location is accessible by the system."

All of my tracks were imported from an NTFS-formatted internal hard drive that I had on this computer when it was a single-boot Windows 7 system. It is now a dual-boot with Ubuntu, and Ubuntu has become my primary OS. So I went and imported all of my old iTunes folder from one of the old Windows drives into Banshee. That part is no problem, it imports nearly six thousand tracks and plays them correctly.

But it looks like maybe sometimes when I start the system and open Banshee it can't find my files because the source drive is not mounted or something. What do I have to do to keep that from going wrong?

Thanks!

Revision history for this message
Eric Ongerth (ericongerth) wrote :

I should have realized it while I was typing my previous message. All I have to do is manually mount the source drive before I try to play the files in Banshee.

So it's not exactly a bug, but it is a usability issue. Some new users (especially newcomers to Ubuntu) will not understand why their files import and play correctly but stop working after a reboot. Of course experienced users will immediately know it is because the media needs to be mounted.

Maybe Banshee should detect this condition and either mount the media automatically, or at least give an error message that tells what the user needs to do.

Revision history for this message
Eric Ongerth (ericongerth) wrote :

One more observation. Today I forgot to mount my media drive before starting Banshee and trying to play from a playlist. When I clicked the play button, in the past it has just not worked, though sometimes Banshee made at least some sort of visual indication that I had clicked the button, but nothing more. Today something more happened, which is probably a bug. Today I was doing this on the second monitor of my two-display desktop, and when the play button failed to work, a terminal window that I had on that second monitor moved itself from the second monitor to the first. That is strange...

Well anyway, the workaround is just to manually mount the media drive before trying to play anything from Banshee. But I'll repeat that Banshee should probably mount the drive if it's not mounted, or at least give a meaningful error message instead of silently failing (with side effects).

Changed in banshee (Ubuntu):
status: New → Confirmed
Revision history for this message
David Gómez (dabisu) wrote :

Ubuntu 11.04 here, so this bug is still quite alive. Banshee seemed to ignore the gstreamer errors :(, so it just was doing nothing you try to play a song.

Removing banshee.db and rebuilding the database solved the bug. At least banshee should show some error message "database corrupt, rebuild it" or something like that. But happilly ignore library errors...

Revision history for this message
omarly666 (omarly666) wrote :

same issue here?
local files is played but no netaccess, or podcasts. vlc works fine.

i think it's maybe after i updated kdenlive w http://ppa.launchpad.net/sunab/kdenlive-svn/ubuntu oneric??
or maybe something w my phone sony-ericsson xperia 10 mini (old) which i had connected for charging a couple of times during updates??

just throwing in my thoughts

running 11.10 w i386

Revision history for this message
gare-calhoun (gare-calhoun) wrote :

Hi -

Tools > Rescan Music Library

fixed my situation.

I was getting the GStreamer resource error: NotFound error after I reinstalled Banshee, watching it from terminal

> banshee --degug.

I had changed my music library since uninstall, and Banshee did not know it.

Revision history for this message
Michael Chirico (michaelchirico4) wrote :

Confirmed Eric Ongerth's issue. I also have a repurposed music hard drive from my (recently past) Windows days.

I can force Banshee to work by first navigating to the file system & hitting open with Banshee, but this is a huge pain in the ass to do every time I boot my computer. If not, it tells me it can't find the file, etc.

I'm also new enough at this game not to know a simple way to mount the drive every time I log in. Any quick pointers for simple ways to do this? I'm talking one line in terminal...

Revision history for this message
Eric Ongerth (ericongerth) wrote :

It's still not a bug, just a difference between what newer Linux users may expect and normal Ubuntu behavior.

When I posted in 2011 I was still new to using Linux on a system with multiple hard drives, though I had used it for longer on a single-drive system. Ubuntu, and Linux distros in general, are never going to auto-mount hard drives by default. The fact that Windows does so is an interesting difference (which wastes a lot of electricity) but it should not influence the Linux world.

The apparent banshee bug filed here has a simple explanation: the drive(s) containing the music in your banshee library must be mounted before you try to play your music. When people (including myself) noticed that re-scanning the library appeared to fix the problem, that was only true because they actually had to mount the drives before they scanned the library. And they perhaps did not notice that the drives became mounted as a necessary side-effect of going to look at them manually in their file manager.

Regardless of my innocence in 2011, I think it's clear that it's not banshee's problem if you want to play music located on a drive that is currently not mounted. Mounting and unmounting drives is an subject whose primary issues are power conservation and connection or disconnection from resources, allowing the facts of whether those resources are local or remote to be nicely abstracted over. That subject has nothing at all to do with a music player, which is only one of endless programs which may need to access content on a drive.

If banshee were to add the behavior of mounting drives when we go to play music from them, it would not be responsible to leave them mounted once banshee was closed, but it also would be wrong to unmount them on closing banshee because other applications may be using them. So there again these are two issues at right angles to each other.

@michaelchirico4: Even easier (for some at least) than one line in the terminal -- just open nautilus or whichever file manager you use and you'll see your drives listed in its left column. A single click on each one that you want to mount should get it going. The only waste of time or space with this is that you then have a file manager window open that you may not have needed. But the drive(s) will stay mounted if you close that window, or you can just minimize it based on the assumption that you might end up needing a file manager view during your session.

Even simpler than that is that Ubuntu can show your drives in the launcher so you can mount them from there. Unfortunately as of 14.04 there is no right-click option to mount a drive, so you just click it and this still opens a file manager window, but it does accomplish the mounting so that's one click less. Ideally the launcher view of drives would by default show (visually) their mount status and have a right-click option to mount.

Revision history for this message
Michael Chirico (michaelchirico4) wrote :

Point taken about manual mounting for power conservation.

However, this problem just continues to get worse for me.

Apparently the solution of telling it to mount was only a one-time fix.

Actually, for me it seems my extra drives are mounted by default (when I first log in and right click the drive I'm presented with the option to unmount).

Anyway, now I can mount and unmount and re-mount to my heart's content. Banshee still doesn't play anything.

Even my original duct tape of playing some random track from the file browser to trick Banshee into believing it knew where everything was no longer works.

Frustratingly, this happens:
1) Pick track to play; locate in browser and hit "Open with Banshee"
2) Track plays--Banshee seems to know where track is located
3) Select the SAME track from my library view. Fail. X appears next to track name and "Open Folder" produces the error mentioned above.

Any suggestions where to start??

As an exasperated aside I am incredibly frustrated with Linux. Nothing works as it should. I am incredibly disappointed with the failure of open source content I've met so far. It seems like every minor thing I want to do becomes tied up in an endless web of (to me) meaningless terminal jargon, and even this only leads to a solution about 50% of the time.

Revision history for this message
Chow Loong Jin (hyperair) wrote : Re: [Bug 751575] Re: banshee no longer plays music gstreamer resource error NotFound

On Wed, Apr 30, 2014 at 03:36:08AM -0000, Michael Chirico wrote:
> Frustratingly, this happens:
> 1) Pick track to play; locate in browser and hit "Open with Banshee"
> 2) Track plays--Banshee seems to know where track is located
> 3) Select the SAME track from my library view. Fail. X appears next to track name and "Open Folder" produces the error mentioned above.
>
> Any suggestions where to start??

The entries in Banshee's library point to a specific file path. If your disk is
now mounted somewhere else instead of the original mount path, the file has
effectively moved somewhere else and Banshee won't be able to find it. You can
try right clicking on an item in Banshee and clicking "Open containing folder"
to see where Banshee is trying to look for your file.

If what I'm thinking is right, you'll probably need to delete Banshee's database
(~/.config/banshee-1/banshee.db) and re-import your entire music library.

--
Kind regards,
Loong Jin

Revision history for this message
Eric Ongerth (ericongerth) wrote :

Hi Michael, I agree with Chow Loong Jin that deleting your banshee database and re-importing your library will most likely fix everything in your latest description.

I'm sorry to hear of your frustration with Linux. That was my opinion circa 2008-9, but in recent years I have been much more pleased. I think I may have adjusted my use patterns. I agree that an open-source operating system just does not come with anyone who is paid to care about the problems we experience. But on the other hand, closed systems sort of don't have support either unless you are willing to go through a process that is at least as difficult, often worse. In the long run I am quite pleased with 14.04 and it's leaps and bounds ahead of where my first Ubuntu box was with 10.04.

Best of luck with everything.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.