Bug 134707 - media-sound/banshee hangs at 'Flushing to disk' with iPod
Bug#: 134707 Product:  Gentoo Linux Version: 2006.0 Platform: PPC
OS/Version: Linux Status: RESOLVED Severity: major Priority: P2
Resolution: FIXED Assigned To: metalgod@gentoo.org Reported By: andy@andybotting.com
Component: Applications
URL: 
Summary: media-sound/banshee hangs at 'Flushing to disk' with iPod
Keywords:  
Status Whiteboard: 
Opened: 2006-05-28 17:58 0000
Description:   Opened: 2006-05-28 17:58 0000
After trying many versions of banshee over the last couple of months on my
powerbook (PPC), I always get the same problem. Copying the music over to the
iPod seems appears to work until the 'Flushing to disk' bit. It hangs, and I
get this message in the console:


Unhandled Exception: IPod.DatabaseReadException: Detected unsupported database
version 285212672
in <0x00280> IPod.DatabaseRecord:Read (IPod.DatabaseRecord db,
System.IO.BinaryReader reader)
in <0x0012c> IPod.SongDatabase:Reload (Boolean createFresh)
in <0x00018> IPod.SongDatabase:Reload ()
in <0x0008c> Banshee.Dap.Ipod.IpodDap:ReloadDatabase (Boolean refresh)
in <0x00414> Banshee.Dap.Ipod.IpodDap:Synchronize ()
in <0x00658> Banshee.Dap.DapDevice:Transcode ()
in (wrapper delegate-invoke) System.MulticastDelegate:invoke_void ()

I get this error when:
 1) try to read my ipod (after it has successfully sync'd with gtkpod)
 2) try to write an initial itunes db (with banshee) after doing an mkfs.vfat
on the ipod.

These problems don't seem to occur on my x86 box though.



# emerge --info
Portage 2.1_rc3 (default-linux/ppc/ppc32/2006.0/G4, gcc-3.4.5, glibc-2.3.6-r3,
2.6.17-rc5 ppc)
=================================================================
System uname: 2.6.17-rc5 ppc 7447A, altivec supported
Gentoo Base System version 1.12.0
dev-lang/python:     2.4.2
dev-python/pycrypto: 2.0.1-r5
dev-util/ccache:     [Not Present]
dev-util/confcache:  [Not Present]
sys-apps/sandbox:    1.2.17
sys-devel/autoconf:  2.13, 2.59-r7
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r1
sys-devel/binutils:  2.16.1
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.11-r4
ACCEPT_KEYWORDS="ppc"
AUTOCLEAN="yes"
CBUILD="powerpc-unknown-linux-gnu"
CFLAGS="-O2 -mcpu=G4 -mtune=G4 -maltivec -mabi=altivec -fno-strict-aliasing
-pipe"
CHOST="powerpc-unknown-linux-gnu"
CONFIG_PROTECT="/etc /usr/lib/mozilla/defaults/pref /usr/share/X11/xkb"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-O2 -mcpu=G4 -mtune=G4 -maltivec -mabi=altivec -fno-strict-aliasing
-pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig distlocks metadata-transfer sandbox sfperms strict"
GENTOO_MIRRORS="http://ftp.iinet.net.au/pub/Gentoo
http://mirror.pacific.net.au/Gentoo http://distfiles.gentoo.org http://www.ibib
lio.org/pub/Linux/distributions/gentoo"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress
--force --whole-file --delete --delete-after --sta ts --timeout=180
--exclude='/distfiles' --exclude='/local' --exclude='/packages'"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/overlays/bmg-main/bmg-main
/usr/local/overlays/gentopia /usr/local/overlays/local"
SYNC="rsync://rsync.au.gentoo.org/gentoo-portage"
USE="ppc X alsa altivec apache2 apm avahi bash-completion berkdb bitmap-fonts
bluetooth bonobo cairo cdparanoia cdr cli crypt cups  curl daap dbus dga divx
divx4linux dri drm dv dvd dvdr eds emboss encode esd evo fbcon ffmpeg firefox
flac foomaticdb fortran gdb m gif glitz gnome gphoto2 gstreamer gtk gtk2
gtkhtml hal howl ieee1394 imlib insecure-drivers ipod irmc isdnlog java
joystick jpeg  libg++ libnotify libwww live lzo mad matroska mikmod mono
mozilla mp3 mpeg nautilus ncurses network nls nptl nsplugin ogg opengl pam pci
pcre pdflib perl pmu png ppds pppd python quicktime radeon readline reflection
ruby samba sdl session sheep spell spl ssl tcpd theora threads truetype
truetype-fonts type1-fonts udev unicode usb v4l v4l2 vorbis xine xinerama xml
xorg xv xvid zlib elibc _glibc input_devices_mouse input_devices_keyboard
kernel_linux userland_GNU video_cards_radeon"
Unset:  CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, LDFLAGS,
LINGUAS, PORTAGE_RSYNC_EXTRA_OPTS

------- Comment #1 From Luis Medinas (RETIRED) 2006-05-29 10:52:37 0000 -------
Ok i will report this bug to upstream asap.

------- Comment #2 From Andy Botting 2006-05-30 18:04:32 0000 -------
(In reply to comment #1)
> Ok i will report this bug to upstream asap.
> 

I've done it myself now

------- Comment #3 From Luis Medinas (RETIRED) 2006-05-30 18:22:40 0000 -------
thanks... i'll get in touch with the upstream about this and expecting to be
fixed soon.

Thanks again

------- Comment #4 From Luis Medinas (RETIRED) 2006-06-02 19:08:33 0000 -------
the bug is fixed according to the upstream on 0.5.16 release. It's available on
Gentoo CVS.

Thanks!

------- Comment #5 From Luis Medinas (RETIRED) 2006-06-03 09:36:26 0000 -------
reopening since you confirmed upstream that isn't really fixed.

------- Comment #6 From Andy Botting 2006-06-05 19:28:40 0000 -------
Ok, so the deal was I had to nuke my pre-ipod-sharp-0.5.15 iTunesDB, and
recreate it. It wouldn't work using a 0.5.15 iTunesDB and try and read it using
0.5.16 on PPC.

I have been able to read and write the iTunesDB on both x86 and ppc.