GNOME Bugzilla – Bug 631961
failure to open ipod shuffle
Last modified: 2010-11-06 03:42:29 UTC
Opening a mounted ipod shuffle with banshee does nothing. Log output: exec -a banshee-1 mono /usr/lib/banshee-1/Banshee.exe --redirect-log --device-activate=/media/ALISA IPOD [Info 12:01:24.827] Running Banshee 1.7.6: [Ubuntu maverick (development branch) (linux-gnu, x86_64) @ 2010-09-18 21:00:29 UTC] [Info 12:01:26.471] Updating web proxy from GConf [Warn 12:01:26.561] 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 12:01:26.561] Extension `Banshee.AudioCd.AudioCdService' not started: Cannot cast from source type to destination type. [Warn 12:01:26.566] 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 12:01:26.566] Extension `Banshee.AudioCd.AudioCdService' not started: Cannot cast from source type to destination type. [Info 12:01:26.567] All services are started 1,432567 [Info 12:01:27.489] nereid Client Started [Info 12:01:27.688] Received device command: action = Activate, device = /media/ALISA IPOD
Thank you for the report. Can you please follow the instructions on the follow page so that we may have all the information needed to examine your issue? http://live.gnome.org/Banshee/LibgpodTransition
Created attachment 173022 [details] banshee-1 --debug
Can you change the banshee script to use --debug=casts instead of just "--debug" when calling Mono? And attach the resulting log again. Thanks!
Created attachment 173023 [details] udevadm info --export-db
Created attachment 173024 [details] gvfs-mount --list
Created attachment 173037 [details] banshee-1 --debug=casts I changed the startup script to check for --debug=casts but it doesn't seem to make a difference.
What version of mono are you running? If I recall correctly, there was a bug with debug=casts that was fixed in 2.8.
Ubuntu Maverick: sven@hal:~$ mono --version Mono JIT compiler version 2.6.7 (Debian 2.6.7-3ubuntu1)
Should be fixed in git master. If possible, could you try the next daily release just to verify that everything is ok? For now you can get around the issue by disabling the audio cd support extension when you don't need it.
Just marking this as NEEDINFO for now. We should close this in a weeks time (or so) if there's no further updates. Otherwise mark it as resolved if Sven comes back with good news :)
Disabling audio cd support didn't change anything. However with the latest update from ppa:banshee-team/banshee-daily my iPod was successfully recognized. This isssue is resolved - thanks.
In that case, closing as FIXED. Alan it sounds like this patch might also be prudent in the stable-1.8 branch but it is not applied there.
If this should be backported, the commit is: 32c3baddb7b0a58a72ed8ad9243179255bba50b7 CC'ing gabriel on this. It's a trivial one to backport, I'm just not sure how to handle it.