i use libmtp in debian testing/unstable. i have same error also with laste version.
when i try to transfer an mp3 file i obtain this error:
mtp-connect --sendtrack 104-Ideology.mp3
LIBMTP_Set_Debug: Setting debugging level to 1 (on)
libmtp version: 1.1.2
LIBMTP LIBMTP_Detect_Raw_Devices[665]: Device 0 (VID=041e and PID=4152) is a Creative ZEN V Plus.
PTP: Opening sessionLIBMTP configure_usb_device[1995]: PTP_ERROR_IO: failed to open session, trying again after resetting USB interface
LIBMTP configure_usb_device[1996]: LIBMTP libusb: Attempt to reset device
PTP: Opening sessionSend track 104-Ideology.mp3
Sending track 104-Ideology.mp3 to LIBMTP_DEBUG=1
type: mp3, 2
Title> ideology
Album> talking
Album artist> billy
Artist> billy
Writer or Composer>
Genre> indie
Track number> 4
Year> 1986
Length>
Sending track:
Codec: ISO MPEG-1 Audio Layer 3
Title: ideology
Album: talking
Album artist: billy
Artist: billy
Genre: indie
Year: 1986
Track no: 4
Storage ID: 0
Sending track...
ptp2/mtpfast: reading mtp proplist of 0000043cptp_object_want: oid 0x0000043c, want flags 5, have only 31?ptp2/mtpfast: reading mtp proplist of 0000043cptp_object_want: oid 0x0000043c, want flags 5, have only 31?
Error sending track.
LIBMTP LIBMTP_Dump_Errorstack[2409]: Error 2: PTP Layer error 2002: add_object_to_cache(): couldn't add object to cache
LIBMTP LIBMTP_Dump_Errorstack[2409]: Error 2: (Look this up in ptp.h for an explanation.)
LIBMTP LIBMTP_Dump_Errorstack[2409]: Error 1: LIBMTP_Send_File_From_File_Descriptor(): Could not retrieve updated metadata.
LIBMTP LIBMTP_Dump_Errorstack[2409]: Error 1: LIBMTP_Send_Track_From_File_Descriptor(): subcall to LIBMTP_Send_File_From_File_Descriptor failed.
ptp2/mtpfast: reading mtp proplist of 00000434ptp_object_want: oid 0x00000434, want flags 4, have only 31?Album doesn't exist: creating...
Error creating or updating album.
(This could be due to that your device does not support albums.)
LIBMTP LIBMTP_Dump_Errorstack[2409]: Error 2: PTP Layer error a804: create_new_abstract_list(): could not add tracks as object references.
LIBMTP LIBMTP_Dump_Errorstack[2409]: Error 2: (Look this up in ptp.h for an explanation.)
on a debian stable with libmtp8 (1.0.3-1+squeeze1) i haven't problems.
morover libmtp8 is much faster.
-- System Information:
Debian Release: wheezy/sid
APT prefers testing
APT policy: (990, 'testing'), (850, 'unstable'), (500, 'testing-proposed-updates'), (101, 'experimental')
Architecture: i386 (i686)
Kernel: Linux 3.2.2.20120127 (SMP w/2 CPU cores; PREEMPT)
Locale: LANG=it_IT.UTF-8, LC_CTYPE=it_IT.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Versions of packages libmtp9 depends on:
ii dpkg 1.16.1.2
ii libc6 2.13-24
ii libmtp-common 1.1.2-2
ii libusb-1.0-0 2:1.0.9~rc3-3
Versions of packages libmtp9 recommends:
ii libmtp-runtime 1.1.2-2
ii udev 175-3
libmtp9 suggests no packages.
-- no debconf information
Anonymous
Forget previous comment, I was wrong. Hart for me to look into this without being able to reproduce the error though :-(
It work fine with the Zen Micro.
if it can help, with a previous version of libmtp (1.0.3-1+squeeze1 in debian stable) transfer works (all tags are copied) without problem and it is faster than last version.
if you need a tester you can count on me.
Still clueless on this ... same problem with libmtp 1.1.3+ I guess?