|
From: Nyall D. <ny...@zo...> - 2009-09-09 18:13:43
|
After formatting, when trying to send an mp3 using gnomad, I just get: Error sending file "/tmp/gnomad-3EtSPk/11 Abandonado.mp3" to MTP device! Error 2: PTP Layer error 2002: add_object_to_cache(): couldn't add object to cache Error 2: (Look this up in ptp.h for an explanation.) Error 1: LIBMTP_Send_File_From_File_Descriptor(): Could not retrieve updated metadata. Error 1: LIBMTP_Send_Track_From_File_Descriptor(): subcall to LIBMTP_Send_File_From_File_Descriptor failed. No change when using the DEVICE_FLAG_BROKEN_SET_OBJECT_PROPLIST flag. Seems like something's broken in the add_object_to_cache() routine... On Wed, Sep 9, 2009 at 2:52 PM, Nyall Dawson <ny...@zo...> wrote: > On Wed, Sep 9, 2009 at 2:31 PM, Linus Walleij > <lin...@gm...> wrote: >> Hi Nyall, >> >> This seems to be two unrelated errors: >> >>> Error 2: PTP Layer error 02fe: LIBMTP_Get_Filelisting_With_Callback(): >>> call to ptp_mtp_getobjectpropssupported() failed. >>> Error 2: (Look this up in ptp.h for an explanation.) >>> Error 2: PTP Layer error 02fe: LIBMTP_Get_Filelisting_With_Callback(): >>> call to ptp_mtp_getobjectpropssupported() failed. >>> Error 2: (Look this up in ptp.h for an explanation.) >>> Error 2: PTP Layer error 02fe: LIBMTP_Get_Filelisting_With_Callback(): >>> call to ptp_mtp_getobjectpropssupported() failed. >>> Error 2: (Look this up in ptp.h for an explanation.) >>> Error 2: PTP Layer error 02fe: LIBMTP_Get_Filelisting_With_Callback(): >>> call to ptp_mtp_getobjectpropssupported() failed. >>> Error 2: (Look this up in ptp.h for an explanation.) >> >> Weird and should turn up also in mtp-files, does it? >> This is a very standardized call. :-/ > > No, it's only happening after trying to send a track. I've been doing > some digging this morning though, and it might be unrelated, but for a > lot of the files on the device the ObjectFormat is 0. There doesn't > seem to be any pattern to it - ie, some JPGs have the correct > ObjectFormat, but others have 0, and the same thing for mp3's. > > I'm going to try formatting the device, and also try with > DEVICE_FLAG_BROKEN_SET_OBJECT_PROPLIST, and see if there's any change. > |