banshee fails to "see" mounted mass storage media player

Bug #646482 reported by Scott Sweeny
30
This bug affects 5 people
Affects Status Importance Assigned to Milestone
Banshee
Fix Released
Medium
banshee (Ubuntu)
Fix Released
Undecided
Unassigned
Maverick
Fix Released
Undecided
Unassigned

Bug Description

Binary package hint: banshee

On Ubuntu 10.10 beta, when I plug in my N900 I get the media player prompt and choose to open banshee. When it opens there is no source entry for the phone.

When launching banshee from the command line this is the output:
[Info 19:55:54.067] Running Banshee 1.7.6: [Ubuntu maverick (development branch) (linux-gnu, x86_64) @ 2010-09-18 21:00:29 UTC]
[Info 19:55:54.405] Starting collection of anonymous usage data
[Info 19:55:55.116] Updating web proxy from GConf
[Warn 19:55:55.191] Caught an exception - System.InvalidCastException: Cannot cast from source type to destination type. (in `Banshee.Gio')
  at (wrapper managed-to-native) object:__icall_wrapper_mono_object_castclass (object,intptr)
  at Banshee.Hardware.Gio.HardwareManager+<GetAllBlockDevices>c__Iterator2`1[Banshee.Hardware.ICdromDevice].MoveNext () [0x00000] in <filename unknown>:0
  at Banshee.Hardware.HardwareManager+<CastToCustomDevice>c__Iterator5`1[Banshee.Hardware.ICdromDevice].MoveNext () [0x00000] in <filename unknown>:0
  at Banshee.AudioCd.AudioCdService.Initialize () [0x00000] in <filename unknown>:0
  at Banshee.ServiceStack.ServiceManager.StartExtension (Mono.Addins.TypeExtensionNode node) [0x00000] in <filename unknown>:0
[Warn 19:55:55.191] Extension `Banshee.AudioCd.AudioCdService' not started: Cannot cast from source type to destination type.
[Warn 19:55:55.196] Caught an exception - System.InvalidCastException: Cannot cast from source type to destination type. (in `Banshee.Gio')
  at (wrapper managed-to-native) object:__icall_wrapper_mono_object_castclass (object,intptr)
  at Banshee.Hardware.Gio.HardwareManager+<GetAllBlockDevices>c__Iterator2`1[Banshee.Hardware.ICdromDevice].MoveNext () [0x00000] in <filename unknown>:0
  at Banshee.Hardware.HardwareManager+<CastToCustomDevice>c__Iterator5`1[Banshee.Hardware.ICdromDevice].MoveNext () [0x00000] in <filename unknown>:0
  at Banshee.AudioCd.AudioCdService.Initialize () [0x00000] in <filename unknown>:0
  at Banshee.ServiceStack.ServiceManager.StartExtension (Mono.Addins.TypeExtensionNode node) [0x00000] in <filename unknown>:0
[Warn 19:55:55.196] Extension `Banshee.AudioCd.AudioCdService' not started: Cannot cast from source type to destination type.
[Info 19:55:55.198] All services are started 0.931748
[Info 19:55:57.082] nereid Client Started
[Warn 19:55:57.365] Failed to load media-player-info file for

** (Banshee:28728): CRITICAL **: itdb_get_control_dir: assertion `mountpoint' failed
[Warn 19:55:57.726] Failed to load media-player-info file for
[Warn 19:55:57.726] Failed to load media-player-info file for
[Warn 19:55:57.726] Failed to load media-player-info file for
[Warn 19:55:57.790] Failed to load media-player-info file for
[Warn 19:55:57.790] Failed to load media-player-info file for
[Warn 19:55:58.083] Failed to load media-player-info file for
[Warn 19:55:58.083] Failed to load media-player-info file for
[Warn 19:55:58.083] Failed to load media-player-info file for
[Warn 19:55:58.083] Failed to load media-player-info file for
[Warn 19:55:58.083] Failed to load media-player-info file for
[Warn 19:55:58.083] Failed to load media-player-info file for
[Warn 19:55:58.084] Failed to load media-player-info file for
[Warn 19:55:58.084] Failed to load media-player-info file for
[Warn 19:55:58.087] Failed to load media-player-info file for
[Warn 19:55:58.087] Failed to load media-player-info file for
[Warn 19:55:58.087] Failed to load media-player-info file for
[Warn 19:55:58.088] Caught an exception - System.ArgumentNullException: Argument cannot be null.
Parameter name: path1 (in `mscorlib')
  at System.IO.Path.Combine (System.String path1, System.String path2) [0x00000] in <filename unknown>:0
  at Banshee.Dap.MassStorage.MassStorageSource.get_PlaylistsPath () [0x00000] in <filename unknown>:0
  at Banshee.Dap.MassStorage.MassStorageSource.get_CanSyncPlaylists () [0x00000] in <filename unknown>:0
  at Banshee.Dap.MassStorage.MassStorageSource.get_PlaylistTypes () [0x00000] in <filename unknown>:0
  at Banshee.Dap.MassStorage.MassStorageSource.AddDapProperties () [0x00000] in <filename unknown>:0
  at Banshee.Dap.MassStorage.MassStorageSource.DeviceInitialize (IDevice device) [0x00000] in <filename unknown>:0
  at Banshee.Dap.DapService.FindDeviceSource (IDevice device) [0x00000] in <filename unknown>:0
[Warn 19:55:58.089] Failed to load media-player-info file for

** (Banshee:28728): CRITICAL **: itdb_get_control_dir: assertion `mountpoint' failed

TEST CASE:
1. Launch Banshee
2. Insert a mass storage media player
3. Verify that Banshee detects it and shows a source for it in the left sidebar.

Revision history for this message
Chow Loong Jin (hyperair) wrote : Re: [Bug 646482] [NEW] banshee fails to "see" mounted mass storage media player

On Friday 24,September,2010 08:01 AM, Scott Sweeny wrote:
> Public bug reported:
>
> Binary package hint: banshee
>
> On Ubuntu 10.10 beta, when I plug in my N900 I get the media player
> prompt and choose to open banshee. When it opens there is no source
> entry for the phone.

Hi Scott,

Could you run Banshee in the command line with the --debug flag and post the
log, please?

  affects ubuntu/banshee
  status incomplete

--
Kind regards,
Chow Loong Jin

Changed in banshee (Ubuntu):
status: New → Incomplete
Revision history for this message
Scott Sweeny (ssweeny) wrote :

Here's the output of 'banshee --debug'.

Changed in banshee:
importance: Unknown → Medium
status: Unknown → In Progress
Changed in banshee:
status: In Progress → Incomplete
Changed in banshee:
status: Incomplete → Fix Released
Revision history for this message
Scott Sweeny (ssweeny) wrote :

I can confirm that this problem is fixed in the banshee-2.8.0 package on Lucid in the banshee team PPA. I will test again if/when this version hits the Maverick archive.

Revision history for this message
zeitkunst (zeitkunst) wrote :

This bug is unfortunately not fixed for me with banshee 1.8.0 from the team PPA on Lucid. Nothing shows up in Banshee upon inserting my iPod running Rockbox. I've enabled both mass media and MTP support. I've added an .is_audio_player file in the root of the device, and the iPod is found properly in Rhythmbox. The iPod is a 2nd gen (i.e., one of the very old ones) running the latest Rockbox available for the device. I'm not sure what could be going on to cause it not to appear in Banshee, given that it shows up on Rhythmbox. I've attached the debug output, but I'm not sure how useful it will be given that nothing appears in the output when the iPod is inserted.

Revision history for this message
Ferran Basora (fcsonline) wrote :

Same problem here

Revision history for this message
Ferran Basora (fcsonline) wrote :

Another 1.8.0 log

Revision history for this message
Chow Loong Jin (hyperair) wrote :

Fixed in 1.8.0-1 which has just been uploaded to Natty.

Changed in banshee (Ubuntu):
status: Incomplete → Fix Released
Changed in banshee (Ubuntu Maverick):
status: New → Fix Committed
description: updated
Revision history for this message
Martin Pitt (pitti) wrote : Please test proposed package

Accepted banshee into maverick-proposed, the package will build now and be available in a few hours. Please test and give feedback here. See https://wiki.ubuntu.com/Testing/EnableProposed for documentation how to enable and use -proposed. Thank you in advance!

tags: added: verification-needed
Revision history for this message
Scott Sweeny (ssweeny) wrote :

I can confirm that the banshee package in maverick-proposed fixes my issue.

Thanks!

tags: added: verification-done
removed: verification-needed
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package banshee - 1.8.0-2ubuntu1~maverick1

---------------
banshee (1.8.0-2ubuntu1~maverick1) maverick-proposed; urgency=low

  * Upload to Maverick

banshee (1.8.0-2ubuntu1) natty; urgency=low

  * Merge from Debian experimental, remaining changes:
    + debian/banshee-meego.install: Install netbook banshee.desktop to UNE
      location
    + Disable boo support
    + Recommend soundmenu extension

banshee (1.8.0-2) experimental; urgency=low

  * Fix duplicates on import (BGO #623441)

banshee (1.8.0-1) experimental; urgency=low

  * New upstream release
    + Adds playlist support to libgpod backend
    + Fixes hanging issue during beginning of playback (LP: #448533)
    + Fixes an issue where mass storage devices were not detected (LP: #646482)
    + Fixes an issue where iPods are not updated with the gpod backend
      (LP: #640090)
  * Bump libgpod-cil-dev dependency to 0.7.95
  * Import Ubuntu's upstreamable patches
  * Run intltool and mangle desktop file for Ubuntu
    upstream"
 -- Chow Loong Jin <email address hidden> Fri, 22 Oct 2010 17:45:59 +0800

Changed in banshee (Ubuntu Maverick):
status: Fix Committed → Fix Released
tags: added: testcase
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.