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 538154 - Regular corruption of itunes database
Regular corruption of itunes database
Status: RESOLVED DUPLICATE of bug 536741
Product: banshee
Classification: Other
Component: Device - iPod
1.0.0
Other All
: Normal major
: 1.0
Assigned To: Banshee Maintainers
Banshee Maintainers
Depends on:
Blocks:
 
 
Reported: 2008-06-13 14:22 UTC by Chris Jones
Modified: 2008-06-17 13:37 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Chris Jones 2008-06-13 14:22:13 UTC
Please describe the problem:
I appear to be unable to copy either large amounts of music to my ipod (an 80gb classic I bought yesterday), or do multiple copies.
The general symptom is that when I eject, the ipod says it has no music, even though it does.

sometimes I get the following error in the terminal I ran banshee from:

[Warn  15:14:27.646] Failed to save iPod database - Object reference not set to an instance of an object (in `ipod-sharp')
  at IPod.ImageNameRecord.SetData (System.IO.Stream stream, System.Byte[] data, Int32 offset) [0x00020] in /build/buildd/ipod-sharp-0.8.0/src/PhotoDatabase.cs:748
  at IPod.ImageNameRecord.SetData (System.IO.Stream stream, System.Byte[] data) [0x00000] in /build/buildd/ipod-sharp-0.8.0/src/PhotoDatabase.cs:738
  at IPod.PhotoDatabase.SaveThumbnails (System.Collections.Generic.List`1 existingNames, System.Collections.Generic.List`1 newNames, System.Collections.Generic.List`1 removedNames, IPod.ArtworkFormat format) [0x00142] in /build/buildd/ipod-sharp-0.8.0/src/PhotoDatabase.cs:1387
  at IPod.PhotoDatabase.SaveThumbnails () [0x0009d] in /build/buildd/ipod-sharp-0.8.0/src/PhotoDatabase.cs:1308
  at IPod.PhotoDatabase.Save () [0x0003a] in /build/buildd/ipod-sharp-0.8.0/src/PhotoDatabase.cs:1101
Failed to save database (in `ipod-sharp')
  at IPod.PhotoDatabase.Save () [0x001ab] in /build/buildd/ipod-sharp-0.8.0/src/PhotoDatabase.cs:1137
  at IPod.TrackDatabase.Save () [0x0026c] in /build/buildd/ipod-sharp-0.8.0/src/TrackDatabase.cs:2562
Failed to save database (in `ipod-sharp')
  at IPod.TrackDatabase.Save () [0x00391] in /build/buildd/ipod-sharp-0.8.0/src/TrackDatabase.cs:2625
  at IPod.Device.Save () [0x0000b] in /build/buildd/ipod-sharp-0.8.0/src/Device.cs:282
  at Banshee.Dap.Ipod.IpodSource.PerformSyncThreadCycle () [0x00154] in /build/buildd/banshee-1-1.0.0/src/Dap/Banshee.Dap.Ipod/Banshee.Dap.Ipod/IpodSource.cs:510
[Debug 15:16:34.353] Unmapping DAP source (3141-5926)

I am running 1.0.0 from the ubuntu PPA

Steps to reproduce:
1. Copy entire music collection to ipod
2. Wait for copying/transcoding
3. eject ipod


Actual results:
ipod restarts and reports "No music"

Expected results:
ipod restarts and shows many aural pleasures, with shiny cover art.

Does this happen every time?
ish. It was working pretty well yesterday, but then went wrong when I used banshee 1.0.0 on a second ubuntu machine. Since then I've rm -rf'd everything on the ipod multiple times, set the FirewireGuid in SysInfo (which I didn't have to do yesterday, but thought I'd try just in case).
Earlier today I blanked it and copied 200 tracks, which worked fine. I then copied 150 more and it said No Music.
I just now blanked it again and copied all ~650 tracks on my laptop and immediately it said No Music, having printed out a number of the tracebacks given above.

Other information:
Comment 1 Chris Jones 2008-06-13 14:52:27 UTC
The tracebacks don't seem to be exactly correlating with the breaking of the
database, and gtkpod has some success in repairing it.
Comment 2 Jürgen Geuter 2008-06-17 13:35:56 UTC
Loading the ipod with amarok afterwards shows all the files (just the ipod can't seem to see them). It's kinda like it was before libgpod was able to write the cryptographic hashes for newer models (pre 0.6.0).
If you then add a song from amarok and have amarok write the database (using libgpod) all songs (also the ones banshee put on) show up properly.
Comment 3 Christophe Fergeau 2008-06-17 13:37:22 UTC
Thanks for the bug report. This particular bug has already been reported into our bug tracking system, but please feel free to report any further bugs you find.


*** This bug has been marked as a duplicate of 536741 ***