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 588101 - Weird exception regarding ipod photo capabilities when not using them
Weird exception regarding ipod photo capabilities when not using them
Status: RESOLVED FIXED
Product: banshee
Classification: Other
Component: Device - iPod
unspecified
Other Linux
: Normal normal
: 1.x
Assigned To: Banshee Maintainers
Banshee Maintainers
Depends on:
Blocks:
 
 
Reported: 2009-07-08 18:21 UTC by Andrés G. Aragoneses (IRC: knocte)
Modified: 2010-05-30 02:26 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
Proposed patch to ipod-sharp (530 bytes, patch)
2009-07-08 18:23 UTC, Andrés G. Aragoneses (IRC: knocte)
committed Details | Review

Description Andrés G. Aragoneses (IRC: knocte) 2009-07-08 18:21:23 UTC
Extracted stacktrace from bug 578701 comment#26 (because this case is finally not related to it):

[Warn  20:24:19.164] Failed to save iPod database - Expected record name of
'mhfd', got 'mhdp' (in `ipod-sharp')
  at IPod.Record.ReadHeader (System.IO.BinaryReader reader) [0x000ac] in
/home/knocte/Documents/iDocs/Proyectos/Banshee/arbolSVN/ipod-sharp/src/TrackDatabase.cs:111 
  at IPod.PhotoDbRecord.Read (System.IO.BinaryReader reader) [0x00000] in
/home/knocte/Documents/iDocs/Proyectos/Banshee/arbolSVN/ipod-sharp/src/PhotoDatabase.cs:19 
  at IPod.DataFileRecord.Read (System.IO.BinaryReader reader) [0x00000] in
/home/knocte/Documents/iDocs/Proyectos/Banshee/arbolSVN/ipod-sharp/src/Album.cs:1 
  at IPod.PhotoDatabase.Reload (Boolean createFresh) [0x00092] in
/home/knocte/Documents/iDocs/Proyectos/Banshee/arbolSVN/ipod-sharp/src/PhotoDatabase.cs:1066 
  at IPod.PhotoDatabase..ctor (IPod.Device device, Boolean isPhoto, Boolean
createFresh) [0x00073] in
/home/knocte/Documents/iDocs/Proyectos/Banshee/arbolSVN/ipod-sharp/src/PhotoDatabase.cs:1044 
  at IPod.Device.LoadPhotoDatabase (Boolean createFresh) [0x0001b] in
/home/knocte/Documents/iDocs/Proyectos/Banshee/arbolSVN/ipod-sharp/src/Device.cs:261 
  at IPod.Device.LoadPhotoDatabase () [0x00000] in
/home/knocte/Documents/iDocs/Proyectos/Banshee/arbolSVN/ipod-sharp/src/Device.cs:255 
  at IPod.Device.get_PhotoDatabase () [0x0000b] in
/home/knocte/Documents/iDocs/Proyectos/Banshee/arbolSVN/ipod-sharp/src/Device.cs:63 
  at IPod.Device.Save () [0x00016] in
/home/knocte/Documents/iDocs/Proyectos/Banshee/arbolSVN/ipod-sharp/src/Device.cs:285 
  at Banshee.Dap.Ipod.IpodSource.PerformSyncThreadCycle () [0x00324] in
/home/knocte/Documents/iDocs/Proyectos/Banshee/arbolGIT/banshee/src/Dap/Banshee.Dap.Ipod/Banshee.Dap.Ipod/IpodSource.cs:655
Comment 1 Andrés G. Aragoneses (IRC: knocte) 2009-07-08 18:23:20 UTC
Created attachment 138061 [details] [review]
Proposed patch to ipod-sharp

Actually, this is not a real fix, but a workaround that works in my case. We may reopen/revisit this bug later if someone gets again the stacktrace with this patch applied.

(Extracted from bug 578701 comment#26 )
Comment 2 James Willcox 2009-09-09 18:45:07 UTC
Looks good to me
Comment 3 Andrés G. Aragoneses (IRC: knocte) 2009-09-09 21:47:50 UTC
Comment on attachment 138061 [details] [review]
Proposed patch to ipod-sharp

Got an r+ from gburt as well on IRC.
Thanks to both!
(I'll leave the bug open though, as this doesn't fix the root of the problem.)
Comment 4 Gabriel Burt 2009-10-27 20:16:20 UTC
Bulk changing the assignee to banshee-maint@gnome.bugs to make it easier for people to get updated on all banshee bugs by following that address.  It's usually quite apparent who is working on a given bug by the comments and/or patches attached.
Comment 5 Andrés G. Aragoneses (IRC: knocte) 2010-05-30 02:26:28 UTC
Actually, the patch fixed the bug described in the summary.

If someone gets the same stacktrace again, it will likely be "when using ipod photo capabilities", so a new bug should be open by then.