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 605074 - disconnecting ipod not possible
disconnecting ipod not possible
Status: RESOLVED OBSOLETE
Product: banshee
Classification: Other
Component: Device - iPod
git master
Other Linux
: Normal normal
: 1.x
Assigned To: Banshee Maintainers
Banshee Maintainers
: 607383 (view as bug list)
Depends on:
Blocks:
 
 
Reported: 2009-12-20 17:14 UTC by Christian Krause
Modified: 2010-09-16 22:38 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Christian Krause 2009-12-20 17:14:48 UTC
The following bug report was filed in Fedora's bugzilla:
https://bugzilla.redhat.com/show_bug.cgi?id=549036

Here is the slightly annotated original report and below some results of my first investigation:

banshee-1.5.3-0.1.20091216git.fc12.i686
podsleuth-0.6.6-0.1.20091216git.fc12.i686

How reproducible:
It seems that it is a race condition, since it works for some people and doesn't work for others.

Steps to Reproduce:
1. start banshee 
2. wait for the ipod device to appear in the menu
3. try to disconnect using the button provided in banshee

Actual results:
Banshee display a message saying: Could not disconnect Media Player:
org.freedesktop.hal.Device.UnknownError

Expected results:
successfully disconnect the ipod device in banshee

Shell output:
[Warn  17:14:49.680] Caught an exception -
org.freedesktop.Hal.Device.UnknownError: An unknown error occured (in
`NDesk.DBus.Proxies')
  at IVolumeProxy.Eject (System.String[] ) [0x00000] 
  at Hal.Volume.Eject (System.String[] args) [0x00000] 
  at Hal.Volume.Eject () [0x00000] 
  at Banshee.HalBackend.Volume.Eject () [0x00000] 
  at Banshee.Dap.Ipod.PodSleuthDevice.Eject () [0x00000] 
  at Banshee.Dap.Ipod.IpodSource.Eject () [0x00000] 
  at Banshee.Dap.RemovableSource.<Unmap>m__B (System.Object ) [0x00000] 
[Warn  17:14:49.681] Caught an exception -
org.freedesktop.DBus.Error.UnknownMethod: Method "Get" with signature "ss" on
interface "org.freedesktop.DBus.Properties" doesn't exist
 (in `NDesk.DBus.Proxies')
  at PropertiesProxy.Get (System.String propname, System.String ) [0x00000] 
  at Banshee.HalBackend.DkDisk.get_IsReadOnly () [0x00000] 
  at Banshee.HalBackend.Volume.get_IsReadOnly () [0x00000] 
  at Banshee.Dap.Ipod.PodSleuthDevice.get_IsReadOnly () [0x00000] 
  at Banshee.Dap.Ipod.IpodSource.get_IsReadOnly () [0x00000] 
  at Banshee.Dap.Ipod.IpodSource.get_CanRename () [0x00000] 
  at Banshee.Gui.SourceActions.UpdateActions (Boolean force) [0x00000] 
  at Banshee.Gui.SourceActions.<HandleActiveSourceUpdated>m__87 () [0x00000] 
  at Banshee.Base.ThreadAssist.ProxyToMain (Banshee.Base.InvokeHandler handler)
[0x00000] 
  at Banshee.Gui.SourceActions.HandleActiveSourceUpdated (System.Object o,
System.EventArgs args) [0x00000] 
  at (wrapper delegate-invoke)
System.EventHandler:invoke_void__this___object_EventArgs
(object,System.EventArgs)
  at Banshee.Sources.Source.OnUpdated () [0x00000] 
  at Banshee.Sources.Source.OnPropertyChanged (System.Object o,
Hyena.Data.PropertyChangeEventArgs args) [0x00000] 
  at (wrapper delegate-invoke)
Hyena.Data.PropertyChangeEventHandler:invoke_void__this___object_PropertyChangeEventArgs
(object,Hyena.Data.PropertyChangeEventArgs)
  at (wrapper delegate-invoke)
Hyena.Data.PropertyChangeEventHandler:invoke_void__this___object_PropertyChangeEventArgs
(object,Hyena.Data.PropertyChangeEventArgs)
  at Hyena.Data.PropertyStore.OnPropertyChanged (System.String propertyName,
Boolean added, Boolean removed, System.Object oldValue, System.Object newValue)
[0x00000] 
  at Hyena.Data.PropertyStore.Remove (System.String name) [0x00000] 
  at Banshee.Dap.DapSource.Dispose () [0x00000] 
  at Banshee.Dap.Ipod.IpodSource.Dispose () [0x00000] 
  at Banshee.Dap.DapService.UnmapDevice (System.String uuid) [0x00000]


According to the strace log of the DeviceKit-disks daemon in the original bug report it looks like that:
- banshee first issued an "FilesystemUnmount" request
- but tried later again to retrieve the "DeviceIsReadOnly" status of the previously removed device.

Since dbus will return an "UnknownMethod" error in case the destination object path (e.g. /org/freedesktop/DeviceKit/Disks/devices/sdc1) is the known (the device was just removed) the backtrace above will happen.
Comment 1 Michael Martin-Smucker 2010-02-03 22:14:25 UTC
*** Bug 607383 has been marked as a duplicate of this bug. ***
Comment 2 Michael Martin-Smucker 2010-02-03 22:15:24 UTC
I got the same error when I just tried to eject my iPod.  I'm marking as NEW based on my experience and the duplicate.
Comment 3 Felipe 2010-04-05 22:25:10 UTC
I had the same problem, even though I didn't check on the output. But as a result... all my smart playlist inside my iPod got changed into normal playlists, and the normal playlist I had got erased :(
I can't undo this at all, so frustrating...
I also see a lack of information regarding the status of activities with the iPod. For example, I created an smart playlist in my iPod with Banshee, then closed Banshee, open it again, and the playlist wasn't showing. There isn't any button to sync or a dialog that ask that when I close Banshee...
I guess I should open another bug for that :)
Comment 4 Andrés G. Aragoneses (IRC: knocte) 2010-08-04 16:05:24 UTC
(In reply to comment #2)
> I got the same error when I just tried to eject my iPod.  I'm marking as NEW
> based on my experience and the duplicate.

Michael, also in Fedora 12?

(In reply to comment #3)
> I guess I should open another bug for that :)

Yes please, Felipe.
Comment 5 Michael Martin-Smucker 2010-08-04 16:13:43 UTC
(In reply to comment #4)
> (In reply to comment #2)
> > I got the same error when I just tried to eject my iPod.  I'm marking as NEW
> > based on my experience and the duplicate.
> 
> Michael, also in Fedora 12?

Ubuntu -- at the time, I was probably using Banshee from git on Ubuntu 9.10.  The error, at least for me, was a one-time thing (I think).  I don't remember seeing this since I upgraded to Ubuntu 10.04, though I haven't synced my iPod much recently.
Comment 6 Alan McGovern 2010-09-16 22:38:11 UTC
The ipod-sharp extension is obsoleted in favour of the libgpod one. If you have any issues with it, please file a new bug. Thanks!