GNOME Bugzilla – Bug 591250
No song will playback (but will with Rythmbox)
Last modified: 2020-03-17 08:21:43 UTC
Please describe the problem: I use rythmbox and it works perfectly, all my songs playback In banshee an X goes beside the song I try to play and the next five until it gives up, Ive tried reinstalling and I have tried to reimport all my music or just one song and every time it will not play anything. I have all the necessary codecs Steps to reproduce: 1. Import Music 2. Try to play any song 3. It immediatly fails on five in a row Actual results: Expected results: Does this happen every time? Yes it happens every time Other information:
Please provide more info, e.g. what kind of files you refer to. If you start banshee in a terminal window and reproduce this, is there any output?
(In reply to comment #1) > Please provide more info, e.g. what kind of files you refer to. > > If you start banshee in a terminal window and reproduce this, is there any > output? > My bad, it is actually 1.4.3 and I am trying to play .mp3 files Here is the output [code] alex@alex-laptop:~$ banshee [Info 20:45:20.642] Running Banshee 1.4.3: [Ubuntu jaunty (development branch) (linux-gnu, i486) @ 2009-03-22 18:04:14 UTC] [Warn 20:45:24.554] Cannot connect to NetworkManager - An available working network connection will be assumed [Info 20:45:25.614] All services are started 4.147895s [Info 20:45:27.073] nereid Client Started (Banshee:4127): GStreamer-CRITICAL **: Trying to dispose element playbin, but it is not in the NULL state. You need to explicitly set elements to the NULL state before dropping the final reference, to allow them to clean up. [Error 20:45:45.886] GStreamer resource error: OpenWrite [Error 20:45:45.946] GStreamer core error: StateChange [Error 20:45:46.525] GStreamer resource error: OpenWrite (Banshee:4127): GStreamer-CRITICAL **: Trying to dispose element playbin, but it is not in the NULL state. You need to explicitly set elements to the NULL state before dropping the final reference, to allow them to clean up. [Error 20:45:46.871] GStreamer resource error: OpenWrite [Error 20:45:46.872] GStreamer core error: StateChange [Error 20:45:47.285] GStreamer resource error: OpenWrite (Banshee:4127): GStreamer-CRITICAL **: Trying to dispose element playbin, but it is not in the NULL state. You need to explicitly set elements to the NULL state before dropping the final reference, to allow them to clean up. [Error 20:45:47.651] GStreamer resource error: OpenWrite [Error 20:45:47.652] GStreamer core error: StateChange [Error 20:45:48.192] GStreamer resource error: OpenWrite [Error 20:45:48.526] GStreamer resource error: OpenWrite (Banshee:4127): GStreamer-CRITICAL **: Trying to dispose element playbin, but it is not in the NULL state. You need to explicitly set elements to the NULL state before dropping the final reference, to allow them to clean up. [Error 20:45:49.166] GStreamer resource error: OpenWrite [Error 20:45:49.168] GStreamer core error: StateChange (Banshee:4127): GStreamer-CRITICAL **: Trying to dispose element playbin, but it is not in the NULL state. You need to explicitly set elements to the NULL state before dropping the final reference, to allow them to clean up. [Error 20:45:49.519] GStreamer resource error: OpenWrite [Error 20:45:49.520] GStreamer core error: StateChange (Banshee:4127): GStreamer-CRITICAL **: Trying to dispose element playbin, but it is not in the NULL state. You need to explicitly set elements to the NULL state before dropping the final reference, to allow them to clean up. [Error 20:45:49.856] GStreamer resource error: OpenWrite [Error 20:45:49.856] GStreamer core error: StateChange [Error 20:45:50.200] GStreamer resource error: OpenWrite [Error 20:45:50.535] GStreamer resource error: OpenWrite [Error 20:45:50.989] GStreamer resource error: OpenWrite [Error 20:45:51.390] GStreamer resource error: OpenWrite [/code]
Your problem seems related to GStreamer, but the fact that everything is fine with Rhythmbox is strange. Are you able to play your files with totem ? Which version of gstreamer do you have on your system ? Could you run "banshee --debug" from a terminal, try to play a file and post the output here ? It might tell us something interesting.
It works perfectly in Rythmbox Totem plays the files although no sound is emitted Banshee has an error and the songs never play I have GStreamer 0.10.22-1 Here is what the debug shows (a bit of the top was cut off because I am using AWN terminal, although I think everything needed is written there) .bansheeproject.CollectionIndexer [Debug 17:50:15.178] Core service started (CollectionIndexerService, 0.007531s) [Debug 17:50:15.211] Adding icon theme search path: /usr/share/banshee-1/icons [Debug 17:50:15.212] Core service started (GtkElementsService, 0.033908s) [Debug 17:50:15.309] Core service started (InterfaceActionService, 0.097131s) [Debug 17:50:15.312] Album artwork path set to /home/alex/.cache/album-art [Debug 17:50:15.312] Core service started (ArtworkManager, 0.002325s) [Debug 17:50:16.417] Registering remote object /org/bansheeproject/Banshee/ClientWindow (Nereid.PlayerInterface) on org.bansheeproject.Banshee [Debug 17:50:16.417] Core service started (NereidPlayerInterface, 1.105293s) [Debug 17:50:16.419] Extension service started (DapService, 0.001094s) [Debug 17:50:16.421] Extension service started (DaapService, 0.0015s) [Debug 17:50:16.427] Using GNOME 2.22 API for Multimedia Keys [Debug 17:50:16.427] Extension service started (MultimediaKeysService, 0.006045s) [Debug 17:50:16.444] Extension service started (BookmarksService, 0.01665s) [Debug 17:50:16.454] Extension service started (CoverArtService, 0.009244s) [Debug 17:50:16.834] Extension service started (NotificationAreaService, 0.380278s) [Debug 17:50:16.883] Extension service started (AudioCdService, 0.049029s) [Debug 17:50:16.905] Extension service started (LastfmRecommendationService, 0.021531s) [Warn 17:50:16.937] Cannot connect to NetworkManager - An available working network connection will be assumed [Debug 17:50:16.938] Core service started (Network, 0.004368s) [Debug 17:50:16.938] Audioscrobbler state: connected [Debug 17:50:16.941] Extension service started (AudioscrobblerService, 0.036252s) [Debug 17:50:16.944] Extension service started (GnomeService, 0.003085s) [Debug 17:50:17.183] Extension service started (PodcastService, 0.238748s) [Debug 17:50:17.562] GStreamer pipeline does not run: audioconvert ! xingenc bitrate=128 ! id3v2mux [Debug 17:50:17.775] GStreamer pipeline does not run: audioconvert ! fluwmaenc bitrate=64000 vbr=false ! fluasfmux [Debug 17:50:17.775] Extension service started (GStreamerCoreService, 0.591784s) [Debug 17:50:17.878] Player state change: NotReady -> Ready [Debug 17:50:17.900] Player state change: Ready -> Idle [Debug 17:50:17.911] (libbanshee:player) Disabled ReplayGain [Info 17:50:17.913] All services are started 4.27738s [Debug 17:50:18.778] Loaded IScreensaverManager: Banshee.GnomeBackend.GnomeScreensaverManager [Debug 17:50:18.786] Registering remote object /org/bansheeproject/Banshee/SourceManager/PlayQueue (Banshee.PlayQueue.PlayQueueSource) on org.bansheeproject.Banshee [Debug 17:50:18.978] Creating Pango.Layout, configuring Cairo.Context [Debug 17:50:19.020] Creating Pango.Layout, configuring Cairo.Context [Debug 17:50:19.100] Creating new surface cache for 9216 KB (max) images, capped at 1 MB (113 items) [Debug 17:50:19.176] Creating Pango.Layout, configuring Cairo.Context [Info 17:50:19.438] nereid Client Started [Debug 17:50:19.442] Delayed Initializating Banshee.Podcasting.PodcastService [Debug 17:50:19.514] Refreshing any podcasts that haven't been updated in over an hour [Debug 17:50:19.518] Delayed Initializating Banshee.Dap.DapService [Debug 17:50:19.529] Dap support extension loaded: Banshee.Dap.MassStorage [Debug 17:50:19.841] Dap support extension loaded: Banshee.Dap.Mtp [Debug 17:50:20.067] Dap support extension loaded: Banshee.Dap.Ipod [Debug 17:50:20.282] Delayed Initializating Banshee.Daap.DaapService [Debug 17:50:33.560] Player state change: Idle -> Loading (Banshee:4423): GStreamer-CRITICAL **: Trying to dispose element playbin, but it is not in the NULL state. You need to explicitly set elements to the NULL state before dropping the final reference, to allow them to clean up. [Debug 17:50:33.840] (libbanshee:player) bp_stop: setting state to GST_STATE_NULL [Debug 17:50:33.841] Player state change: Loading -> Idle [Error 17:50:33.845] GStreamer resource error: OpenWrite [Debug 17:50:33.922] (libbanshee:player) bp_stop: setting state to GST_STATE_NULL [Error 17:50:33.922] GStreamer core error: StateChange [Debug 17:50:34.175] Querying model for track to play in Linear:Next mode [Debug 17:50:34.182] Player state change: Idle -> Loading [Debug 17:50:34.271] Querying model for track to play in Linear:Next mode [Debug 17:50:34.307] (libbanshee:player) bp_stop: setting state to GST_STATE_NULL [Debug 17:50:34.310] Player state change: Loading -> Idle [Debug 17:50:34.314] Player state change: Idle -> Loading [Debug 17:50:34.407] (libbanshee:player) bp_stop: setting state to GST_STATE_NULL [Debug 17:50:34.407] Player state change: Loading -> Idle [Error 17:50:34.411] GStreamer resource error: OpenWrite [Debug 17:50:34.709] Querying model for track to play in Linear:Next mode [Debug 17:50:34.753] Player state change: Idle -> Loading [Debug 17:50:34.847] (libbanshee:player) bp_stop: setting state to GST_STATE_NULL [Debug 17:50:34.847] Player state change: Loading -> Idle [Error 17:50:34.850] GStreamer resource error: OpenWrite [Debug 17:50:35.102] Querying model for track to play in Linear:Next mode [Debug 17:50:35.105] Player state change: Idle -> Loading [Debug 17:50:35.232] (libbanshee:player) bp_stop: setting state to GST_STATE_NULL [Debug 17:50:35.232] Player state change: Loading -> Idle [Error 17:50:35.236] GStreamer resource error: OpenWrite [Debug 17:50:35.239] (libbanshee:player) bp_stop: setting state to GST_STATE_NULL ^Z [1]+ Stopped banshee --debug alex@alex-laptop:~$
The same thing happens to me also! I am running Ubuntu 10.10.
"Me too" comments are not helpful - please provide logs instead. Thanks!
I experience the same symptoms. The log above does not seem to contain useful/related messages, but I think this one is more relevant: [7 Warn 12:31:07.928] Caught an exception - System.ArgumentOutOfRangeException: Must be > 0 Parameter name: length (in `Banshee.Services') at Banshee.Web.BaseHttpServer.WriteResponseStream (System.Net.Sockets.Socket client, System.IO.Stream response, Int64 length, System.String filename, Int64 offset) [0x00000] in <filename unknown>:0 at Banshee.Daap.DaapProxyWebServer.StreamTrack (System.Net.Sockets.Socket client, Daap.Database database, Daap.Track song, Int64 offset) [0x00000] in <filename unknown>:0 at Banshee.Daap.DaapProxyWebServer.HandleValidRequest (System.Net.Sockets.Socket client, System.String[] split_request, System.String[] body_request) [0x00000] in <filename unknown>:0 [1 Debug 12:31:08.048] (libbanshee:player) bp_stop: setting state to GST_STATE_NULL [1 Debug 12:31:08.048] Player state change: Loading -> Idle [1 Error 12:31:08.052] GStreamer resource error: OpenRead [1 Debug 12:31:08.304] Querying model for track to play in off:Next mode [1 Debug 12:31:08.306] Player state change: Idle -> Loading [1 Debug 12:31:08.314] (libbanshee:player) Audiosink has volume: YES [1 Debug 12:31:08.413] (libbanshee:player) bp_stop: setting state to GST_STATE_NULL [1 Debug 12:31:08.413] Player state change: Loading -> Idle Moreover, I think this Ubuntu bug is related (or the same and more accurate): https://bugs.launchpad.net/ubuntu/+source/banshee/+bug/834188
Created attachment 204086 [details] [review] daap patch handle response <> OK Hi, Can you check with this patch? I think the issue come from the fact that daap answer is not OK.
Review of attachment 204086 [details] [review]: The original issue has apparently nothing to do with DAAP, so I think the log from Reinhard Tartler is not relevant. The patch might be valid, but I don't think it has anything to do with this bug. In addition, it has several unwanted changes. Reinhard, if your issue is related to DAAP, please file a new bug : http://banshee.fm/contribute/file-bugs/
filed as https://bugzilla.gnome.org/show_bug.cgi?id=667508
Banshee is not under active development anymore and had its last code changes more than three years ago. Its codebase has been archived. Closing this report as WONTFIX as part of Bugzilla Housekeeping to reflect reality. Please feel free to reopen this ticket (or rather transfer the project to GNOME Gitlab, as GNOME Bugzilla is being shut down) if anyone takes the responsibility for active development again. See https://gitlab.gnome.org/Infrastructure/Infrastructure/issues/264 for more info.