[Banshee-List] renaming ipod crashes banshee



Hi,

I recently had trouble with banshee detecting my ipod after it was plugged in. Then i realized that gnome in general didn't detect CD / DVD / USB removable media. I found that by killing and restarting gnome-volume-manager magically fixed that issue.

Now, for some reason, I cannot synchronize my ipod - I can't even rename it. In fact, trying to rename the ipod causes banshee to crash.

I'm using gnome-2.20 with Gentoo.

Any ideas?

Chris

PS: I thought that maybe I should mention that banshee encounters errors when I start it up - because my media library ~/Music is really just a symbolic link to an external storage device. If the device is not plugged in, then banshee gives an error message with this output:

An unhandled exception was thrown: Cannot create /home/cfriedt/Music because a file with the same name already exists.

Output of banshee startup error when external storage device is not on:
==============================================================================================
  at System.IO.Directory.CreateDirectory (System.String path) [0x00000]
  at Banshee.Base.Paths.get_DefaultLibraryPath () [0x00000]
  at Banshee.Base.Library.get_Location () [0x00000]
  at Banshee.Base.Library..ctor () [0x00000]
at Banshee.Base.Globals+<>c__CompilerGenerated61.<Initialize>c__186 () [0x00000]
  at Banshee.Base.ComponentInitializer.Run () [0x00000]
at Banshee.Base.Globals.Initialize (Banshee.Base.ComponentInitializerHandler interfaceStartupHandler) [0x00000]
  at Banshee.BansheeEntry.Startup (System.String[] args) [0x00000]
at (wrapper delegate-invoke) System.MulticastDelegate:invoke_void_string[] (string[]) at Banshee.Gui.CleanRoomStartup.Startup (Banshee.Gui.StartupInvocationHandler startup, System.String[] args) [0x00000]
.NET Version: 2.0.50727.42

Assembly Version Information:

System.Data (2.0.0.0)
Mono.Data.SqliteClient (2.0.0.0)
pango-sharp (2.10.0.0)
Mono.Cairo (2.0.0.0)
Hal (0.0.0.0)
Banshee.Widgets (0.13.1.23128)
Last.FM (0.0.0.0)
NDesk.DBus (1.0.0.0)
Mono.Posix (2.0.0.0)
NDesk.DBus.GLib (1.0.0.0)
gnome-sharp (2.16.0.0)
gdk-sharp (2.10.0.0)
System (2.0.0.0)
atk-sharp (2.10.0.0)
glib-sharp (2.10.0.0)
gtk-sharp (2.10.0.0)
Banshee.Base (0.13.1.23130)
banshee (0.13.1.23132)
mscorlib (2.0.0.0)

Platform Information: Linux 2.6.23-gentoo i686 GenuineIntel GNU/Linux

Disribution Information:

[/etc/gentoo-release]
Gentoo Base System release 1.12.9
==============================================================================================


Output of banshee 'rename ipod' crash:
===========================================================================================
Warning: [12/12/2007 12:53:28 PM] (Cannot connect to NetworkManager) - An available working network connection will be assumed Debug: [12/12/2007 12:53:28 PM] (Loading audio profiles) - /usr/share/banshee/audio-profiles

** (Banshee:14138): WARNING **: FIXME: guard from double entry
Performing compatibility update on playlist 'Party List'
Debug: [12/12/2007 12:53:29 PM] (Default player engine) - GStreamer 0.10
Debug: [12/12/2007 12:53:29 PM] (Audio CD Core Initialized) -
Debug: [12/12/2007 12:53:29 PM] (Testing device for DAP support) - /org/freedesktop/Hal/devices/volume_uuid_468C_0A09

(Banshee:14138): GLib-CRITICAL **: g_strchug: assertion `string != NULL' failed

(Banshee:14138): GLib-CRITICAL **: g_strchomp: assertion `string != NULL' failed Debug: [12/12/2007 12:53:29 PM] (DAP has been added) - Banshee.Dap.Ipod.IpodDap: /org/freedesktop/Hal/devices/volume_uuid_468C_0A09 Debug: [12/12/2007 12:53:29 PM] (Testing device for DAP support) - /org/freedesktop/Hal/devices/volume_uuid_efe0f6d0_e29d_46db_b0ab_fe6b1cbc3f31 Debug: [12/12/2007 12:53:29 PM] (DAP has not been added) - /org/freedesktop/Hal/devices/volume_uuid_efe0f6d0_e29d_46db_b0ab_fe6b1cbc3f31 Debug: [12/12/2007 12:53:29 PM] (Testing device for DAP support) - /org/freedesktop/Hal/devices/volume_uuid_d1f6bac1_477c_454f_9134_24191a58eff2 Debug: [12/12/2007 12:53:29 PM] (Waiting for possible DAP to mount) - /org/freedesktop/Hal/devices/volume_uuid_d1f6bac1_477c_454f_9134_24191a58eff2 Debug: [12/12/2007 12:53:29 PM] (DAP has not been added) - /org/freedesktop/Hal/devices/volume_uuid_d1f6bac1_477c_454f_9134_24191a58eff2 Debug: [12/12/2007 12:53:29 PM] (Testing device for DAP support) - /org/freedesktop/Hal/devices/storage_serial_Apple_iPod_000000BCDD58_0_0 Debug: [12/12/2007 12:53:30 PM] (DAP has not been added) - /org/freedesktop/Hal/devices/storage_serial_Apple_iPod_000000BCDD58_0_0 Warning: [12/12/2007 12:53:30 PM] (Power Management Call Failed) - Cannot find GNOME Power Manager: Name org.gnome.PowerManager has no owner Debug: [12/12/2007 12:53:30 PM] (Enabled multimedia keys support) - Using org.gnome.SettingsDaemon
Debug: [12/12/2007 12:53:30 PM] (Audioscrobbler starting protocol engine) -
Building initial DAAP database from local library...
Starting DAAP Server
Could not create iTunes Directory: /media/ipod/iPod_Control/iTunes
IPod.DeviceException: Could not create iTunes Directory: /media/ipod/iPod_Control/iTunes ---> GLib.GException: Could not create iTunes Directory: /media/ipod/iPod_Control/iTunes--- End of inner exception stack trace ---

  at IPod.Device.Save () [0x00000]
  at Banshee.Dap.Ipod.IpodDap.SetName (System.String name) [0x00000]
at Banshee.Sources.DapSource.UpdateName (System.String oldName, System.String newName) [0x00000]
  at Banshee.Sources.Source.Rename (System.String newName) [0x00000]
at Banshee.Gui.SourceView.UpdateRow (Gtk.TreePath path, System.String text) [0x00000] at Banshee.Gui.SourceRowRenderer.OnEditDone (System.Object o, System.EventArgs args) [0x00000]
  at GLib.Signal.voidObjectCallback (IntPtr handle, IntPtr gch) [0x00000]
at (wrapper native-to-managed) GLib.Signal:voidObjectCallback (intptr,intptr)
  at <0x00000> <unknown method>
  at (wrapper managed-to-native) Gtk.Application:gtk_main ()
  at Gtk.Application.Run () [0x00000]
  at Gnome.Program.Run () [0x00000]
  at Banshee.BansheeEntry.Startup (System.String[] args) [0x00000]
at (wrapper delegate-invoke) System.MulticastDelegate:invoke_void_string[] (string[]) at Banshee.Gui.CleanRoomStartup.Startup (Banshee.Gui.StartupInvocationHandler startup, System.String[] args) [0x00000]

Unhandled Exception: IPod.DeviceException: Could not create iTunes Directory: /media/ipod/iPod_Control/iTunes ---> GLib.GException: Could not create iTunes Directory: /media/ipod/iPod_Control/iTunes--- End of inner exception stack trace ---

  at IPod.Device.Save () [0x00000]
  at Banshee.Dap.Ipod.IpodDap.SetName (System.String name) [0x00000]
at Banshee.Sources.DapSource.UpdateName (System.String oldName, System.String newName) [0x00000]
  at Banshee.Sources.Source.Rename (System.String newName) [0x00000]
at Banshee.Gui.SourceView.UpdateRow (Gtk.TreePath path, System.String text) [0x00000] at Banshee.Gui.SourceRowRenderer.OnEditDone (System.Object o, System.EventArgs args) [0x00000]
  at GLib.Signal.voidObjectCallback (IntPtr handle, IntPtr gch) [0x00000]
at (wrapper native-to-managed) GLib.Signal:voidObjectCallback (intptr,intptr)
  at <0x00000> <unknown method>
at (wrapper managed-to-native) Gtk.Entry:gtk_cell_editable_editing_done (intptr)
  at Gtk.Entry.FinishEditing () [0x00000]
  at Banshee.Gui.CellEdit.OnFocusOutEvent (Gdk.EventFocus focus) [0x00000]
  at Gtk.Widget.focusoutevent_cb (IntPtr widget, IntPtr evnt) [0x00000]
at (wrapper native-to-managed) Gtk.Widget:focusoutevent_cb (intptr,intptr)
  at <0x00000> <unknown method>
  at (wrapper managed-to-native) Gtk.Dialog:gtk_dialog_run (intptr)
  at Gtk.Dialog.Run () [0x00000]
at Banshee.Gui.CleanRoomStartup.Startup (Banshee.Gui.StartupInvocationHandler startup, System.String[] args) [0x00000]
  at Banshee.BansheeEntry.Main (System.String[] args) [0x00000]
================================================================================

Output of '. fix-ipod.sh'
================================================================================
udi = '/org/freedesktop/Hal/devices/storage_serial_Apple_iPod_000000BCDD58_0_0'
  block.minor = 32  (0x20)  (int)
  storage.requires_eject = true  (bool)
info.capabilities = { 'storage', 'block', 'portable_audio_player' } (string list)
  storage.bus = 'usb'  (string)
  storage.removable.media_available = true  (bool)
  info.category = 'portable_audio_player'  (string)
  info.product = 'iPod'  (string)
  storage.drive_type = 'disk'  (string)
  storage.hotpluggable = true  (bool)
  storage.partitioning_scheme = 'mbr'  (string)
storage.physical_device = '/org/freedesktop/Hal/devices/usb_device_5ac_1203_000000BCDD58_if0' (string)
  storage.vendor = 'Apple'  (string)
  storage.media_check_enabled = true  (bool)
org.freedesktop.Hal.Device.Storage.method_names = { 'Eject', 'CloseTray' } (string list)
  storage.removable.media_size = 20000267776  (0x4a81bde00)  (uint64)
  portable_audio_player.access_method = 'storage'  (string)
  block.is_volume = false  (bool)
  storage.firmware_version = '1.62'  (string)
  portable_audio_player.access_method.protocols = { 'ipod' } (string list)
block.storage_device = '/org/freedesktop/Hal/devices/storage_serial_Apple_iPod_000000BCDD58_0_0' (string)
  info.addons = { 'hald-addon-storage' } (string list)
  storage.serial = 'Apple_iPod_000000BCDD58-0:0'  (string)
info.parent = '/org/freedesktop/Hal/devices/usb_device_5ac_1203_000000BCDD58_if0_scsi_host_scsi_device_lun0' (string)
  storage.size = 0  (0x0)  (uint64)
org.freedesktop.Hal.Device.Storage.method_signatures = { 'as', 'as' } (string list)
  block.device = '/dev/sdc'  (string)
portable_audio_player.storage_device = '/org/freedesktop/Hal/devices/storage_serial_Apple_iPod_000000BCDD58_0_0' (string) org.freedesktop.Hal.Device.Storage.method_argnames = { 'extra_options', 'extra_options' } (string list)
  storage.no_partitions_hint = false  (bool)
  storage.removable = true  (bool)
  storage.lun = 0  (0x0)  (int)
  info.vendor = 'Apple'  (string)
  portable_audio_player.type = 'ipod'  (string)
info.interfaces = { 'org.freedesktop.Hal.Device.Storage', 'org.freedesktop.Hal.Device.Storage' } (string list) org.freedesktop.Hal.Device.Storage.method_execpaths = { 'hal-storage-eject', 'hal-storage-closetray' } (string list) storage.originating_device = '/org/freedesktop/Hal/devices/usb_device_5ac_1203_000000BCDD58_if0' (string)
  storage.model = 'iPod'  (string)
info.udi = '/org/freedesktop/Hal/devices/storage_serial_Apple_iPod_000000BCDD58_0_0' (string)
  block.major = 8  (0x8)  (int)
  linux.hotplug_type = 3  (0x3)  (int)
  linux.sysfs_path = '/sys/block/sdc'  (string)
  storage.automount_enabled_hint = true  (bool)
portable_audio_player.output_formats = { 'audio/aac', 'audio/mpeg' } (string list)

udi = '/org/freedesktop/Hal/devices/volume_uuid_468C_0A09'
  block.minor = 34  (0x22)  (int)
  volume.label = 'ipod'  (string)
  volume.ignore = false  (bool)
org.freedesktop.Hal.Device.Volume.method_names = { 'Mount', 'Unmount', 'Eject', 'WriteIpodInfo' } (string list)
  info.capabilities = { 'volume', 'block' } (string list)
  volume.partition.flags = {  } (string list)
  volume.is_partition = true  (bool)
  volume.mount_point = '/media/ipod'  (string)
  info.category = 'volume'  (string)
  info.product = 'ipod'  (string)
  volume.is_disc = false  (bool)
  volume.is_mounted = true  (bool)
  volume.partition.type = '0x0b'  (string)
  block.is_volume = true  (bool)
  volume.linux.is_device_mapper = false  (bool)
block.storage_device = '/org/freedesktop/Hal/devices/storage_serial_Apple_iPod_000000BCDD58_0_0' (string) info.parent = '/org/freedesktop/Hal/devices/storage_serial_Apple_iPod_000000BCDD58_0_0' (string)
  volume.block_size = 512  (0x200)  (int)
  volume.partition.number = 2  (0x2)  (int)
  volume.num_blocks = 38909430  (0x251b5f6)  (int)
  volume.fsversion = 'FAT32'  (string)
  block.device = '/dev/sdc2'  (string)
  volume.uuid = '468C-0A09'  (string)
  info.callouts.add = { 'hal-ipod-info' } (string list)
  volume.partition.label = ''  (string)
  volume.partition.scheme = 'mbr'  (string)
  volume.partition.media_size = 20000267776  (0x4a81bde00)  (uint64)
  volume.partition.uuid = ''  (string)
  volume.fsusage = 'filesystem'  (string)
  volume.is_mounted_read_only = false  (bool)
org.freedesktop.Hal.Device.Volume.method_argnames = { 'mount_point fstype extra_options', 'extra_options', 'extra_options' } (string list)
  info.interfaces = { 'org.freedesktop.Hal.Device.Volume' } (string list)
  storage.model = ''  (string)
  volume.size = 19921628160  (0x4a36bec00)  (uint64)
  info.udi = '/org/freedesktop/Hal/devices/volume_uuid_468C_0A09'  (string)
volume.mount.valid_options = { 'ro', 'sync', 'dirsync', 'noatime', 'nodiratime', 'noexec', 'quiet', 'remount', 'exec', 'utf8', 'shortname=', 'codepage=', 'iocharset=', 'umask=', 'dmask=', 'fmask=', 'uid=', 'flush' } (string list) org.freedesktop.Hal.Device.Volume.method_signatures = { 'ssas', 'as', 'as', 'as' } (string list)
  block.major = 8  (0x8)  (int)
  volume.fstype = 'vfat'  (string)
org.freedesktop.Hal.Device.Volume.method_execpaths = { 'hal-storage-mount', 'hal-storage-unmount', 'hal-storage-eject', 'hal-ipod-info' } (string list)
  volume.unmount.valid_options = { 'lazy' } (string list)
  linux.hotplug_type = 3  (0x3)  (int)
  volume.partition.start = 74027520  (0x4699200)  (uint64)
  linux.sysfs_path = '/sys/block/sdc/sdc2'  (string)

udi = '/org/freedesktop/Hal/devices/volume_part1_size_73995264'
  block.minor = 33  (0x21)  (int)
  volume.label = ''  (string)
  info.capabilities = { 'volume', 'block' } (string list)
  volume.partition.flags = {  } (string list)
  volume.is_partition = true  (bool)
  volume.mount_point = ''  (string)
  info.category = 'volume'  (string)
  info.product = 'Volume'  (string)
  volume.is_disc = false  (bool)
  volume.is_mounted = false  (bool)
  volume.partition.type = '0x00'  (string)
  block.is_volume = true  (bool)
  volume.linux.is_device_mapper = false  (bool)
block.storage_device = '/org/freedesktop/Hal/devices/storage_serial_Apple_iPod_000000BCDD58_0_0' (string) info.parent = '/org/freedesktop/Hal/devices/storage_serial_Apple_iPod_000000BCDD58_0_0' (string)
  volume.block_size = 512  (0x200)  (int)
  volume.partition.number = 1  (0x1)  (int)
  volume.num_blocks = 144522  (0x2348a)  (int)
  volume.fsversion = ''  (string)
  block.device = '/dev/sdc1'  (string)
  volume.uuid = ''  (string)
  volume.partition.label = ''  (string)
  volume.partition.scheme = 'mbr'  (string)
  volume.partition.media_size = 20000267776  (0x4a81bde00)  (uint64)
  volume.partition.uuid = ''  (string)
  volume.fsusage = ''  (string)
  volume.is_mounted_read_only = false  (bool)
  storage.model = ''  (string)
  volume.size = 73995264  (0x4691400)  (uint64)
info.udi = '/org/freedesktop/Hal/devices/volume_part1_size_73995264' (string)
  block.major = 8  (0x8)  (int)
  volume.fstype = ''  (string)
  linux.hotplug_type = 3  (0x3)  (int)
  volume.partition.start = 32256  (0x7e00)  (uint64)
  linux.sysfs_path = '/sys/block/sdc/sdc1'  (string)

----------
============================================================================================

Output of 'ipod --list'
============================================================================================

(process:14261): GLib-CRITICAL **: g_strchug: assertion `string != NULL' failed

(process:14261): GLib-CRITICAL **: g_strchomp: assertion `string != NULL' failed
Path Info
   Device Path:      /dev/sdc2
   Mount Point:      /media/ipod
   Control Path:     /media/ipod/iPod_Control/
   HAL ID:           /org/freedesktop/Hal/devices/volume_uuid_468C_0A09
Device Info
   Model Number:     M9282
   Device Model:     Grayscale
   iPod Generation:  Fourth (4)
   Adv. Capacity:    20 GB
   Is New:           YES
   Writable:         NO
   Serial Number:    4J446T8NPS9
   Firmware Version: 3.1.1
   Manufacturer ID:  4J
   Production Year:  2004
   Production Week:  46
   Production Index: 33819
Volume Info
   Volume Size:      19921628160
   Volume Used:      1179118592
   Available         18742509568
   UUID:             468C-0A09
   Label             ipod
User-Provided Info
   Device Name:      (null)
   User Name:        (null)
   Host Name:        (null)



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]