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 626953 - When iPod disconnect fails Banshee doesn't detect data on iPod after reconnecting.
When iPod disconnect fails Banshee doesn't detect data on iPod after reconnec...
Status: RESOLVED FIXED
Product: banshee
Classification: Other
Component: Device - iPod
git master
Other Linux
: Normal major
: 1.x
Assigned To: Alan McGovern
Banshee Maintainers
Depends on:
Blocks:
 
 
Reported: 2010-08-14 20:23 UTC by Jensen Somers
Modified: 2010-09-12 22:50 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Jensen Somers 2010-08-14 20:23:57 UTC
Sometimes Banshee fails to correctly disconnect my iPod. This results in the following exception:

[12 Warn  21:56:18.979] Caught an exception - System.Exception: org.freedesktop.Hal.Device.Volume.UnknownFailure: Cannot open /media/.hal-mtab (in `NDesk.DBus.Proxies')
  at Hal.IVolumeProxy.Eject (System.String[] args) [0x00000] in <filename unknown>:0 
  at Hal.Volume.Eject (System.String[] args) [0x00000] in /home/jensen/Applications/banshee/src/Backends/Banshee.Hal/Hal/Volume.cs:78 
  at Hal.Volume.Eject () [0x00000] in /home/jensen/Applications/banshee/src/Backends/Banshee.Hal/Hal/Volume.cs:73 
  at Banshee.HalBackend.Volume.Eject () [0x0001b] in /home/jensen/Applications/banshee/src/Backends/Banshee.Hal/Banshee.HalBackend/Volume.cs:156 
  at Banshee.Dap.Ipod.PodSleuthDevice.Eject () [0x00000] in /home/jensen/Applications/banshee/src/Dap/Banshee.Dap.Ipod/Banshee.Dap.Ipod/PodSleuthDevice.cs:184 
  at Banshee.Dap.AppleDevice.AppleDeviceSource.Eject () [0x00037] in /home/jensen/Applications/banshee/src/Dap/Banshee.Dap.AppleDevice/Banshee.Dap.AppleDevice/AppleDeviceSource.cs:124 
  at Banshee.Dap.RemovableSource.<Unmap>m__C (System.Object ) [0x00000] in /home/jensen/Applications/banshee/src/Dap/Banshee.Dap/Banshee.Dap/RemovableSource.cs:112

If I keep Banshee open and reconnect my iPod it mounts, but instead of listing it as Video iPod it gets another weird name. I forgot to take a screenshot, when I see it again I'll attach it.

Now, when the disconnect failed and I reconnect my iPod Banshee doesn't see any files (music or video) on my iPod and thinks it's empty. The files are there however and play successfully. I can still see them all with gtkpod but only see a few with Rhythmbox. So I guess somewhere the database file got messed up.

For now I have to clean up with gtkpod, and re-add my music.
Comment 1 Alan McGovern 2010-08-26 09:46:02 UTC
This bug is because you're using the old obsoleted HAL backend and also the old (hopefully soon-to-be-obsoleted) podsleuth based ipod addin.

Can you try disabling the HAL hardware backend as well as the podsleuth based ipod extension and try again?
Comment 2 Alan McGovern 2010-08-26 10:37:53 UTC
There was a bug in libgpod-sharp which caused track metadata to become corrupt when transferring to/from the device. This is what caused banshee to fail to recognise tracks which were freshly transferred to the device.

I'm just upstreaming the fix now, but your ipod database will probably need to be recreated to fix the corrupt data.
Comment 3 Alan McGovern 2010-09-12 22:50:11 UTC
This issue has been fixed already.