Re: [Banshee-List] MTP support for Banshee...



On 5/24/06, Patrick van Staveren <trick vanstaveren us> wrote:
rm /usr/local/lib/libgphoto2_port/0.6.0/disk.*

Then try Banshee again :)

As long as it works, the debug output on the line that says "Device:
vendor=xxxx product=xxxx" should return something other than -1 :)

Well, it almost works...

Running as root, it recognises the device and begins to scan, then
errors out with an uncaught exception. Looks like a problem in
libgphoto2 - see attached file for details.

The other attached file is what happens when I'm not root - it's a USB
permissions issue which I need to fix, but should not cause a crash.

Michael
***************Banshee errors****************
*********************************************

MtpDap made
MtpDap: initialize...
MtpDap: initialize...
Device: vendor=1054, prod=16675
Found more than one matching device.  File a bug!  Do you have more than one MTP DAP plugged in?  Multiple MTP DAPs are not supported.
MtpDap: initialize...
libgphoto2/MTP: Selecting device 1
Reading metadata for /store_00010001/...0.
Reading metadata for /store_00010001/Albums/...0.1.failed with exception: System.NullReferenceException: Object reference not set to an instance of an object
in <0x00211> Banshee.Dap.Mtp.GPhotoDevice:GetFileList (System.String dir)
in <0x00389> Banshee.Dap.Mtp.GPhotoDevice:GetFileList (System.String dir)
in <0x00016> Banshee.Dap.Mtp.GPhotoDevice:GetFileList ()
in <0x000f5> Banshee.Dap.Mtp.GPhotoDevice:InitializeCamera ()
in <0x00190> Banshee.Dap.Mtp.MtpDap:InitializeBackgroundThread ()
MTP: Dispose()
cleanup context

Unhandled Exception: System.NullReferenceException: Object reference not set to an instance of an object
in <0x000b5> Banshee.Sources.SourceManager:RemoveSource (Banshee.Sources.Source source)
in <0x00014> Banshee.Dap.DapDevice:Dispose ()
in <0x00038> Banshee.Dap.Mtp.MtpDap:Dispose ()
in <0x001d9> Banshee.Dap.Mtp.MtpDap:InitializeBackgroundThread ()
in (wrapper delegate-invoke) System.MulticastDelegate:invoke_void ()


*****************************************************
NOTE: THIS MAY BE DUE TO GPHOTO OR THE DEVICE ITSELF -- When running "gphoto2 -L" it aborts with the following error

*** Error ***
Folder '/store_00010001/Music' does not contain a folder 'Ben Folds Five'.
*** Error (-107: 'Directory not found') ***
MtpDap made
MtpDap: initialize...
MtpDap: initialize...
Device: vendor=1054, prod=16675
libgphoto2/MTP: Selecting device -1
failed with exception: Error BadParameters: LibGPhoto2.GPhotoException: Bad parameters
in <0x0003a> LibGPhoto2.Error:CheckError (ErrorCode error)
in <0x00055> LibGPhoto2.CameraList:GetName (Int32 index)
in <0x00050> Banshee.Dap.Mtp.GPhotoDevice:SelectCamera (Int32 index)
in <0x00177> Banshee.Dap.Mtp.MtpDap:InitializeBackgroundThread ()
MTP: Dispose()

Unhandled Exception: System.NullReferenceException: Object reference not set to an instance of an object
in <0x00023> Banshee.Dap.Mtp.GPhotoDevice:Dispose ()
in <0x0002f> Banshee.Dap.Mtp.MtpDap:Dispose ()
in <0x001d9> Banshee.Dap.Mtp.MtpDap:InitializeBackgroundThread ()
in (wrapper delegate-invoke) System.MulticastDelegate:invoke_void ()
MtpDap: initialize...
MTP: Dispose()

Unhandled Exception: System.NullReferenceException: Object reference not set to an instance of an object
in <0x00023> Banshee.Dap.Mtp.GPhotoDevice:Dispose ()
in <0x0002f> Banshee.Dap.Mtp.MtpDap:Dispose ()
in <0x000d6> Banshee.Dap.DapCore:RemoveDevice (Hal.Device device)
in <0x0001a> Banshee.Dap.DapCore:<#AnonymousMethod>3 (System.Object o, Hal.DeviceRemovedArgs args)
in (wrapper delegate-invoke) System.MulticastDelegate:invoke_void_object_DeviceRemovedArgs (object,Hal.DeviceRemovedArgs)
in <0x000a8> Banshee.Base.HalCore:HalDeviceRemoved (IntPtr contextRaw, IntPtr udiRaw)
in (wrapper native-to-managed) Banshee.Base.HalCore:HalDeviceRemoved (intptr,intptr)
in <0x00000> <unknown method>
in (wrapper managed-to-native) Gtk.Application:gtk_main ()
in <0x00008> Gtk.Application:Run ()
in <0x00760> Banshee.BansheeEntry:Startup (System.String[] args)
in <0x00010> Banshee.BansheeEntry:Main (System.String[] args)


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