Re: [Banshee-List] org.freedesktop.Hal.NoSuchProperty exception on startup



2008/4/16 Bertrand Lorentz <bertrand lorentz gmail com>:
>  When I start banshee (SVN trunk version) from a terminal, I have the
>  following exception (banshee starts up fine) :
>
>  ------------------
>  System.Exception: org.freedesktop.Hal.NoSuchProperty: No property
>  volume.is_mounted on device with
>  id /org/freedesktop/Hal/devices/platform_floppy_0_storage
>   at IDeviceProxy.GetPropertyBoolean (System.String ) [0x00000]
>   at Hal.Device.GetPropertyBoolean (System.String key) [0x00000]
>  in /home/lorentz/Projets/banshee/banshee/src/Backends/Banshee.Hal/Hal/Device.cs:227
>   at Banshee.HalBackend.Volume.get_IsMounted () [0x00000]
>  in /home/lorentz/Projets/banshee/banshee/src/Backends/Banshee.Hal/Banshee.HalBackend/Volume.cs:87
>   at Banshee.HalBackend.Volume.CheckVolumeMounted
>  (Banshee.HalBackend.Volume volume) [0x0006c]
>  in /home/lorentz/Projets/banshee/banshee/src/Backends/Banshee.Hal/Banshee.HalBackend/Volume.cs:168
>   at Banshee.HalBackend.Volume.Resolve (Banshee.HalBackend.BlockDevice
>  parent, Hal.Manager manager, Hal.Device device) [0x00044]
>  in /home/lorentz/Projets/banshee/banshee/src/Backends/Banshee.Hal/Banshee.HalBackend/Volume.cs:55
>   at Banshee.HalBackend.HardwareManager.Resolve (Hal.Device hal_device)
>  [0x00035]
>  in /home/lorentz/Projets/banshee/banshee/src/Backends/Banshee.Hal/Banshee.HalBackend/HardwareManager.cs:105
>   at Banshee.HalBackend.HardwareManager+<>c__CompilerGenerated1.MoveNext
>  () [0x0007e]
>  in /home/lorentz/Projets/banshee/banshee/src/Backends/Banshee.Hal/Banshee.HalBackend/HardwareManager.cs:61
>   at Banshee.Dap.DapService.OnExtensionChanged (System.Object o,
>  Mono.Addins.ExtensionNodeEventArgs args) [0x00064]
>  in /home/lorentz/Projets/banshee/banshee/src/Dap/Banshee.Dap/Banshee.Dap/DapService.cs:74
>   at Mono.Addins.ExtensionNode.add_ExtensionNodeChanged
>  (Mono.Addins.ExtensionNodeEventHandler value) [0x00034]
>  in /var/tmp/portage/dev-dotnet/mono-addins-0.3/work/mono-addins-0.3/Mono.Addins/Mono.Addins/ExtensionNode.cs:110
>  ------------------
>
>  Yes, I still have a floppy drive...
>
>  Before opening a bug about this, I wanted to check up with you guys
>  because :
>  a) it could be expected behavior
>  b) there might be something wrong with my hal setup (0.5.10 on Gentoo)
>
>  So, is anyone else seeing this ?

I haven't seen it, but it is a bug - we're just being sloppy with the
Hal.Device objects and getting properties from them and/or we should
be filtering out floppy drives some how.  I think your HAL is fine.

Please file.  Thanks,

Gabriel


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