[ubuntu-mono] [Bug 136400] Re: [gutsy] hipo crash at start if the ipod database is unsupported

Bug Watch Updater 136400 at bugs.launchpad.net
Mon Oct 11 18:19:28 BST 2010


** Changed in: hipo (Debian)
       Status: Incomplete => Fix Released

-- 
[gutsy] hipo crash at start if the ipod database is unsupported
https://bugs.launchpad.net/bugs/136400
You received this bug notification because you are a member of Ubuntu
CLI/Mono Uploaders, which is subscribed to hipo in ubuntu.

Status in iPod Management Tool: Fix Released
Status in “hipo” package in Ubuntu: Fix Released
Status in “hipo” package in Debian: Fix Released

Bug description:
Binary package hint: hipo

if i plug an ipod formated under itunes, with the latest firmware and then open hipo, i get a crash in the program:

sourcer at ideafix:~$ hipo 

Unhandled Exception: IPod.DatabaseReadException: Detected unsupported database version 24
  at IPod.DatabaseRecord.Read (IPod.DatabaseRecord db, System.IO.BinaryReader reader) [0x00000] 
  at IPod.TrackDatabase.Reload (Boolean createFresh) [0x00000] 
  at IPod.TrackDatabase..ctor (IPod.Device device, Boolean createFresh) [0x00000] 
  at IPod.Device.LoadTrackDatabase (Boolean createFresh) [0x00000] 
  at IPod.Device.LoadTrackDatabase () [0x00000] 
  at IPod.Device.get_TrackDatabase () [0x00000] 
  at IPod.Device.get_Name () [0x00000] 
  at IPod.DeviceCombo.AddDevice (IPod.Device device) [0x00000] 
  at IPod.DeviceCombo.Refresh () [0x00000] 
  at IPod.DeviceCombo..ctor () [0x00000] 
  at Hipo.HipoMainWindow.CreateWindow (System.String[] args) [0x00000] 
  at Hipo.HipoMain.Main (System.String[] args) [0x00000]


if hipo is already open and plug the same ipod, the report is similar, but hipo doen't crash:

Error creating new device (/org/freedesktop/Hal/devices/volume_label_HIPOD): IPod.DatabaseReadException: Detected unsupported database version 24
  at IPod.DatabaseRecord.Read (IPod.DatabaseRecord db, System.IO.BinaryReader reader) [0x00000] 
  at IPod.TrackDatabase.Reload (Boolean createFresh) [0x00000] 
  at IPod.TrackDatabase..ctor (IPod.Device device, Boolean createFresh) [0x00000] 
  at IPod.Device.LoadTrackDatabase (Boolean createFresh) [0x00000] 
  at IPod.Device.LoadTrackDatabase () [0x00000] 
  at IPod.Device.get_TrackDatabase () [0x00000] 
  at IPod.Device.get_Name () [0x00000] 
  at IPod.DeviceCombo.AddDevice (IPod.Device device) [0x00000] 
  at IPod.DeviceCombo.OnNotify () [0x00000]


It shouldn't give this awful error, or even crash i think hipo should pop up a dialog window informing the user about the problem and optionally a solution like format the ipod with a supported database version.
And hopefully instead of this last suggestion, just support newer databases, like banshee or rhythmbox does.

related packages:
===========
hipo 0.4-0ubuntu1
libipod-cil 0.6.3-2
libipodui-cil 0.6.3-2
libipoddevice0 0.5.3-3
libglade2.0-cil 2.10.1-3build1
libglib2.0-cil 2.10.1-3build


hardware information:
===============
   Device Model:     Shuffle
   iPod Generation:  First (1)
   Adv. Capacity:    512 MB
   Firmware Version: 1.1.5

by the way, banshee said the database version is 20 and hipo 24





More information about the Ubuntu-mono mailing list