Banshee doesn't update iPod

Bug #640090 reported by Carlos Moffat
36
This bug affects 5 people
Affects Status Importance Assigned to Milestone
Banshee
Fix Released
Critical
banshee (Ubuntu)
Fix Released
Undecided
Unassigned
Maverick
Fix Released
Undecided
Unassigned

Bug Description

Binary package hint: banshee

Hi,

I'm using Banshee 1.7.5 from the repositories, which is supposed to fix long-standing issues with ipod synchronization by switching to libgpod. I can't tell if it's using that, but at least my iPod nano 5G at least shows up in banshee now.

However, although the music that I added with gtkpod shows correctly in banshee, I can't add anything to the ipod. When I try to sync, 'banshee --disable-dbus --debug' shows:

[5 Debug 17:44:36.681] Finished - Adding 1 of 1 to Vitrola
[6 Debug 17:44:39.881] Starting - Syncing iPod
[6 Warn 17:44:39.934] Cannot save track to iPod - System.OverflowException: This isn't a 64bits machine. (in `mscorlib')
  at System.IntPtr..ctor (Int64 value) [0x00000]
  at GLib.Marshaller.DateTimeTotime_t (DateTime time) [0x00000]
  at GPod.GPodBase.DateTimeTotime_t (DateTime time) [0x00000]
  at GPod.Track.set_TimePlayed (DateTime value) [0x00000]
  at Banshee.Dap.AppleDevice.AppleDeviceTrackInfo.CommitToIpod (GPod.ITDB database) [0x000cf] in /build/buildd/banshee-1.7.5/src/Dap/Banshee.Dap.AppleDevice/Banshee.Dap.AppleDevice/AppleDeviceTrackInfo.cs:196
  at Banshee.Dap.AppleDevice.AppleDeviceSource.PerformSyncThreadCycle () [0x00082] in /build/buildd/banshee-1.7.5/src/Dap/Banshee.Dap.AppleDevice/Banshee.Dap.AppleDevice/AppleDeviceSource.cs:504

** (Banshee:3119): WARNING **: Unknown action type 33555456

** (Banshee:3119): CRITICAL **: itdb_splr_validate: assertion `at != ITDB_SPLAT_UNKNOWN' failed

** (Banshee:3119): WARNING **: Unknown action type 33555456

** (Banshee:3119): CRITICAL **: itdb_splr_validate: assertion `at != ITDB_SPLAT_UNKNOWN' failed

** (Banshee:3119): WARNING **: Unknown action type 33555456

** (Banshee:3119): CRITICAL **: itdb_splr_validate: assertion `at != ITDB_SPLAT_UNKNOWN' failed

** (Banshee:3119): WARNING **: Unknown action type 33555456

** (Banshee:3119): CRITICAL **: itdb_splr_validate: assertion `at != ITDB_SPLAT_UNKNOWN' failed

** (Banshee:3119): CRITICAL **: itdb_splr_validate: assertion `at != ITDB_SPLAT_UNKNOWN' failed
libitdbprep: itdb_sqlite_generate_itdbs called with file /media/VITROLA/iPod_Control/iTunes/iTunesCDB and uuid 000A270020A85614
itlp directory='/media/VITROLA/iPod_Control/iTunes/iTunes Library.itlp'
*.itdb files will be stored in '/media/VITROLA/iPod_Control/iTunes/iTunes Library.itlp'
[mk_Dynamic] Processing '/tmp/fileN1pLt4/Dynamic.itdb'
[mk_Dynamic] creating table structure
[mk_Dynamic] - processing 67 tracks
[mk_Dynamic] - processing 2 playlists
[mk_Dynamic] done.
[mk_Extras] Processing '/tmp/fileN1pLt4/Extras.itdb'
[mk_Extras] re-building table structure
[mk_Extras] done.
[mk_Genius] Processing '/tmp/fileN1pLt4/Genius.itdb'
[mk_Genius] re-building table structure
[mk_Genius] done.
library_persistent_id = 0x6d9b2544da466385
[mk_Library] Processing '/tmp/fileN1pLt4/Library.itdb'
[mk_Library] building table structure
[mk_Library] compiling SQL statements
[mk_Library] - inserting into "version_info"
[mk_Library] - inserting into "genre_map"
[mk_Library] - inserting songs into "item_to_container"
[mk_Library] - inserting playlist 'Vitrola' into "container"
[mk_Library] - inserting songs into "item_to_container"
[mk_Library] - inserting playlist 'Podcasts' into "container"
library_persistent_id = 0x6d9b2544da466385
device name = Vitrola
[mk_Library] - inserting into "db_info"
[mk_Library] - processing 67 tracks
[mk_Library] done.
[mk_Locations] Processing '/tmp/fileN1pLt4/Locations.itdb'
[mk_Locations] re-building table structure
[mk_Locations] Processing 67 tracks...
[mk_Locations] done.
[run_post_process_commands] Getting SQL post process commands
[run_post_process_commands] Running 88 post process commands now
[run_post_process_commands] ERROR when executing 'CreateRentalExpiredColumn': duplicate column name: rental_expired
[run_post_process_commands] 87 out of 88 post process commands successfully executed
[run_post_process_commands] done.
itdbprep: copying 'Dynamic.itdb'
itdbprep: copying 'Extras.itdb'
itdbprep: copying 'Genius.itdb'
itdbprep: copying 'Library.itdb'
itdbprep: copying 'Locations.itdb'
itdbprep: copying 'Locations.itdb.cbk'
[6 Info 17:44:41.360] Wrote iPod database
[6 Debug 17:44:41.360] Finished - Syncing iPod
[1 Debug 17:46:04.022] Player state change: Idle -> Loading
[1 Debug 17:46:04.600] Player state change: Loading -> Loaded
[1 Debug 17:46:04.629] (libbanshee:player) [gapless] Triggering track-change signal
[1 Debug 17:46:04.858] Player state change: Loaded -> Playing
[1 Debug 17:46:04.909] Creating Pango.Layout, configuring Cairo.Context
[1 Debug 17:46:04.910] Creating Pango.Layout, configuring Cairo.Context
[1 Debug 17:46:05.775] TrackInfoDisplay RenderAnimation: 26.00 FPS
[1 Debug 17:46:06.510] Player state change: Playing -> Paused
[1 Debug 17:46:31.460] Service disposed (Network)
[1 Debug 17:46:31.469] Service disposed (AudioCdService)
[1 Debug 17:46:31.475] Service disposed (CoverArtService)
[1 Debug 17:46:31.479] Service disposed (AmazonMp3DownloaderService)
[1 Warn 17:46:31.484] Service disposal (MprisService) threw an exception - System.Exception: Cannot unregister /org/mpris/MediaPlayer2 as it isn't registered (in `NDesk.DBus')
  at NDesk.DBus.Connection.Unregister (NDesk.DBus.ObjectPath path) [0x00000]
  at Banshee.Mpris.MprisService.System.IDisposable.Dispose () [0x00000] in /build/buildd/banshee-1.7.5/src/Extensions/Banshee.Mpris/Banshee.Mpris/MprisService.cs:77
  at Banshee.ServiceStack.ServiceManager.Shutdown () [0x0001c] in /build/buildd/banshee-1.7.5/src/Core/Banshee.Services/Banshee.ServiceStack/ServiceManager.cs:294
[1 Debug 17:46:31.489] Service disposed (GnomeService)
[1 Debug 17:46:31.511] Service disposed (DaapService)
[1 Debug 17:46:31.524] Unmapping DAP source (/devices/pci0000:00/0000:00:1d.7/usb1/1-2/1-2:1.0/host9/target9:0:0/9:0:0:0/block/sdb/sdb1)
[1 Debug 17:46:32.229] Service disposed (DapService)
[1 Debug 17:46:32.273] Service disposed (PodcastService)
[1 Debug 17:46:32.280] Service disposed (NotificationAreaService)
[1 Debug 17:46:32.412] Service disposed (LibraryWatcherService)
[1 Debug 17:46:32.422] Service disposed (MultimediaKeysService)
[1 Debug 17:46:32.424] Service disposed (BpmService)
[1 Debug 17:46:32.424] Service disposed (GStreamerCoreService)
[1 Debug 17:46:32.443] Service disposed (NereidPlayerInterface)
[1 Debug 17:46:32.443] Service disposed (BookmarksService)
[1 Debug 17:46:32.444] Service disposed (CollectionIndexerService)
[1 Debug 17:46:32.448] Service disposed (HardwareManager)
[1 Debug 17:46:32.452] (libbanshee:player) bp_stop: setting state to GST_STATE_NULL
[1 Debug 17:46:32.525] Player state change: Paused -> Idle
[1 Debug 17:46:32.532] (libbanshee:player) bp_destroy: disposed player
[1 Debug 17:46:32.533] Service disposed (PlayerEngine)
[1 Warn 17:46:32.536] Unable to unregister DBus object Banshee.PlayQueue.PlayQueueSource, does not appear to be registered
[1 Debug 17:46:32.573] Service disposed (SourceManager)
[1 Debug 17:46:32.579] Service disposed (DbConnection)

TEST CASE:
1. Plug iPod in
2. Launch Banshee
3. Transfer some songs in
4. Eject iPod from within Banshee, or from the desktop
5. Disconnect the iPod.
6. Verify that the songs have been transferred in.

Revision history for this message
Carlos Moffat (carlos-eldiabloenlosdetalles) wrote :

A small addendum: I see this problem both using the banshee unstable and daily PPAs (as of 9/15).

Revision history for this message
iTec (phoneboxboy) wrote :

I am having the same problem Ipod Classic 80 GB Ubuntu 10.04 :

[4 Debug 01:12:40.346] Finished - Adding 1 of 1 to IPOD
[5 Debug 01:12:40.507] Starting AppleDevice sync thread cycle
[5 Debug 01:12:40.507] Starting - Syncing iPod
[5 Warn 01:12:40.537] Cannot save track to iPod - System.OverflowException: This isn't a 64bits machine. (in `mscorlib')
  at System.IntPtr..ctor (Int64 value) [0x00000]
  at GLib.Marshaller.DateTimeTotime_t (DateTime time) [0x00000]
  at GPod.GPodBase.DateTimeTotime_t (DateTime time) [0x00000]
  at GPod.Track.set_TimePlayed (DateTime value) [0x00000]
  at Banshee.Dap.AppleDevice.AppleDeviceTrackInfo.CommitToIpod (GPod.ITDB database) [0x00000]
  at Banshee.Dap.AppleDevice.AppleDeviceSource.PerformSyncThreadCycle () [0x00000]
[5 Info 01:12:41.664] Wrote iPod database
[5 Debug 01:12:41.664] Finished - Syncing iPod
[5 Debug 01:12:41.665] Ending AppleDevice sync thread cycle

Revision history for this message
Jensen Somers (jsomers) wrote :

Let's add a cross reference to the bug in BGO: https://bugzilla.gnome.org/show_bug.cgi?id=629838.

Changed in banshee (Ubuntu):
status: New → Confirmed
Revision history for this message
Alan (alan-mcgovern) wrote :

Just to update this report aswell, this bug has been worked around in banshee and a patch has been created for libgpod-sharp to resolve the issue properly. Could you please test with the next daily/official release (or compile from git if that's your thing) and let me know if it doesn't work as expected. I'm on a 64bit system so it makes it a little harder to test these things.

Revision history for this message
Ian Buchanan (ian-buchanan) wrote :

I am getting the same error with both 4th and 5th gen ipod nanos. I get the same errors as Carlos in the --debug log

I don't have libgpod-sharp in any of my repos. I am in the PPA daily release, so I will report back after the next update.

Revision history for this message
Ian Buchanan (ian-buchanan) wrote :
Download full text (7.4 KiB)

after installing the following:
Get:2 http://ppa.launchpad.net/banshee-team/banshee-daily/ubuntu/ lucid/main banshee 1.7.6+git20100917.r1.420860f-0ubuntu1+lucid

didn't work

[3 Debug 21:54:28.412] Found DAP support (Banshee.Dap.AppleDevice.AppleDeviceSource) for device IANSIPOD and Uuid /devices/pci0000:00/0000:00:1a.7/usb1/1-1/1-1:1.0/host26/target26:0:0/26:0:0:0/block/sde/sde1
[3 Warn 21:54:28.413] Failed to load media-player-info file for

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

** (Banshee:26822): WARNING **: Unknown action (0x2000400) in smart playlist will be ignored.

** (Banshee:26822): WARNING **: Unknown smart rule action at 66946: 2000400. Trying to continue.

** (Banshee:26822): WARNING **: Unknown action (0x2000400) in smart playlist will be ignored.

** (Banshee:26822): WARNING **: Unknown smart rule action at 68258: 2000400. Trying to continue.

** (Banshee:26822): WARNING **: Unknown action (0x2000400) in smart playlist will be ignored.

** (Banshee:26822): WARNING **: Unknown smart rule action at 69574: 2000400. Trying to continue.

** (Banshee:26822): WARNING **: Unknown action (0x2000400) in smart playlist will be ignored.

** (Banshee:26822): WARNING **: Unknown smart rule action at 70884: 2000400. Trying to continue.

[3 Warn 21:54:28.742] Failed to load media-player-info file for
[3 Warn 21:54:28.742] Failed to load media-player-info file for
[3 Warn 21:54:28.742] Failed to load media-player-info file for
[1 Debug 21:54:28.939] Finished - Startup Job
[3 Warn 21:54:31.650] Failed to load media-player-info file for
[3 Warn 21:54:31.650] Failed to load media-player-info file for
[3 Warn 21:54:32.732] Failed to load media-player-info file for
[3 Warn 21:54:32.732] Failed to load media-player-info file for
[3 Warn 21:54:32.732] Failed to load media-player-info file for
[3 Warn 21:54:32.732] Failed to load media-player-info file for
[3 Warn 21:54:32.732] Failed to load media-player-info file for
[3 Warn 21:54:32.732] Failed to load media-player-info file for
[3 Warn 21:54:32.733] Failed to load media-player-info file for
[3 Warn 21:54:32.733] Failed to load media-player-info file for
[3 Warn 21:54:32.734] Failed to load media-player-info file for
[3 Warn 21:54:32.734] Failed to load media-player-info file for
[3 Warn 21:54:32.735] Failed to load media-player-info file for
[3 Warn 21:54:32.737] 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]
  at Banshee.Dap.MassStorage.MassStorageSource.get_PlaylistsPath () [0x00000]
  at Banshee.Dap.MassStorage.MassStorageSource.get_CanSyncPlaylists () [0x00000]
  at Banshee.Dap.MassStorage.MassStorageSource.get_PlaylistTypes () [0x00000]
  at Banshee.Dap.MassStorage.MassStorageSource.AddDapProperties () [0x00000]
  at Banshee.Dap.MassStorage.MassStorageSource.DeviceInitialize (IDevice device) [0x00000]
  at Banshee.Dap.DapService.FindDeviceSource (IDevice device) [0x00000]
[3 Warn 21:54:32.737] Failed to load media-player-info file for
[3 Warn 21:5...

Read more...

Revision history for this message
Ian Buchanan (ian-buchanan) wrote :

Latest update - 20100917 does work either, same errors.

1.7.6+git20100917.r1.420860f-0ubuntu1+lucid (using .../banshee_1.7.6+git20100919.r1.f59d266-0ubuntu1+lucid_i386.deb) ...

BTW, has anyone mentioned that Banshee shows a "lock" icon on all ipod files and says that it is "protected"?

Changed in banshee:
importance: Unknown → Critical
status: Unknown → In Progress
Changed in banshee:
status: In Progress → Fix Released
Changed in banshee (Ubuntu):
status: Confirmed → 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
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.