From: Robert R. <rre...@mo...> - 2006-11-21 07:33:45
|
Hi josh, The output you got at the start of running mtp-sendtr looks like the old version of mtp-sendtr. Could you try going into the libmtp/examples directory, and running: ./connect --sendtrack /home/jwulf/.kde/share/apps/amarok/podcasts/The\ Alex\ Jones\ Show/20061120_Mon_Alex.mp3,0 If that works ok, you need to delete /usr/bin/mtp-sendtr and do a 'make install' of libmtp again. ~Rob On Tue, 2006-11-21 at 12:13 +1000, Sita-pati das wrote: > With today's cvs I get the following: > > [jwulf@thinkpad libmtp]$ mtp-sendtr > /home/jwulf/.kde/share/apps/amarok/podcasts/The\ Alex\ Jones\ > Show/20061120_Mon_Alex.mp3 > Autodetected device "iRiver Clix" (VID=4102,PID=112a) is known. > PTP: Opening session > Connected to MTP device. > ptp2/ptp_usb_getdata: read 1 bytes too much, expect problems! > ptp2/ptp_usb_getdata: read 1 bytes too much, expect problems! > ptp2/ptp_usb_getdata: read 1 bytes too much, expect problems! > ptp2/ptp_usb_getdata: read 1 bytes too much, expect problems! > ptp2/ptp_usb_getdata: read 1 bytes too much, expect problems! > ptp2/ptp_usb_getdata: read 1 bytes too much, expect problems! > ptp2/ptp_usb_getdata: read 1 bytes too much, expect problems! > ptp2/ptp_usb_getdata: read 1 bytes too much, expect problems! > ptp2/ptp_usb_getdata: read 1 bytes too much, expect problems! > ptp2/ptp_usb_getdata: read 1 bytes too much, expect problems! > ptp2/ptp_usb_getdata: read 1 bytes too much, expect problems! > ptp2/ptp_usb_getdata: read 1 bytes too much, expect problems! > ptp2/ptp_usb_getdata: read 1 bytes too much, expect problems! > ptp2/ptp_usb_getdata: read 1 bytes too much, expect problems! > ptp2/ptp_usb_getdata: read 1 bytes too much, expect problems! > You need to pass a filename and destination. > usage: sendtr [ -D debuglvl ] [ -q ] -t <title> -a <artist> -l <album> > -c <codec> -g <genre> -n <track number> -y <year> > -d <duration in seconds> <local path> <remote path> > (-q means the program will not ask for missing information.) > /home/jwulf/.kde/share/apps/amarok/podcasts/The Alex Jones > Show/20061120_Mon_Alex.mp3,(null),(null),(null),(null),(null),00,0 > Sending track /home/jwulf/.kde/share/apps/amarok/podcasts/The Alex Jones > Show/20061120_Mon_Alex.mp3 to (null) > type:mp3,1 > Title> Alex Jones Show Monday > Album> Alex Jones Show > Artist> Alex Jones > Genre> podcasts > Track number> 1 > Year> 2006 > Length> 14390 > Sending track: > Codec: ISO MPEG Audio Layer 3 > Title: Alex Jones Show Monday > Album: Alex Jones Show > Artist: Alex Jones > Genre: podcasts > Year: 2006 > Track no: 1 > Length: 14390 > Sending track... > PTP: General Error of 21580640 (100%) > LIBMTP_Send_Track_From_File_Descriptor: Could not send object > New track ID: 458752 > PTP: Closing session > ERROR: Could not close session! > > > The funny thing is, I did manage to transfer a file using mtp-sendtr > *once*, just after I got your email. Since that time I haven't been able > to replicate the feat. > > --josh > > Robert Reardon wrote: > > Ooops - I meant mtp-sendtr :) > > > > On Fri, 2006-11-17 at 07:28 +0000, Robert Reardon wrote: > > > >> Hi Josh, > >> > >> Have you tried using mtp-sendtrack? > >> > >> The iRiver Clix only seems to support uploading of stuff using MTP > >> ENHANCED, which hasn't been implemented for mtp-sendfile yet. If I try > >> using mtp-sendfile, I get exactly the same error as you're seeing. If I > >> use mtp-sendtrack, the file uploads just fine. > >> > >> Hope this helps > >> Rob. > >> > >> P.S Don't worry about the "read 1 bytes too much, expect problems!" > >> messages - they don't seem to cause any problems. > >> > >> On Fri, 2006-11-17 at 15:41 +1000, Sita-pati das wrote: > >> > >>> 0xa806, according to ptp.h, is PTP_RC_MTP_Invalid_Dataset > >>> > >>> Sita-pati das wrote: > >>> > >>>> Rob, here is the error that I get: > >>>> > >>>> [jwulf@thinkpad examples]$ mtp-sendfile > >>>> /home/jwulf/.kde/share/apps/amarok/podcasts/The\ Alex\ Jones\ > >>>> Show/20061115_Wed_Alex.mp3 Alex_Jones.mp3 > >>>> Autodetected device "iRiver Clix" (VID=4102,PID=112a) is known. > >>>> PTP: Opening session > >>>> Connected to MTP device. > >>>> ptp2/ptp_usb_getdata: read 1 bytes too much, expect problems! > >>>> ptp2/ptp_usb_getdata: read 1 bytes too much, expect problems! > >>>> ptp2/ptp_usb_getdata: read 1 bytes too much, expect problems! > >>>> ptp2/ptp_usb_getdata: read 1 bytes too much, expect problems! > >>>> ptp2/ptp_usb_getdata: read 1 bytes too much, expect problems! > >>>> ptp2/ptp_usb_getdata: read 1 bytes too much, expect problems! > >>>> ptp2/ptp_usb_getdata: read 1 bytes too much, expect problems! > >>>> ptp2/ptp_usb_getdata: read 1 bytes too much, expect problems! > >>>> ptp2/ptp_usb_getdata: read 1 bytes too much, expect problems! > >>>> ptp2/ptp_usb_getdata: read 1 bytes too much, expect problems! > >>>> ptp2/ptp_usb_getdata: read 1 bytes too much, expect problems! > >>>> ptp2/ptp_usb_getdata: read 1 bytes too much, expect problems! > >>>> Sending /home/jwulf/.kde/share/apps/amarok/podcasts/The Alex Jones > >>>> Show/20061115_Wed_Alex.mp3 to Alex_Jones.mp3 > >>>> type:mp3,1 > >>>> Sending file... > >>>> LIBMTP_Send_File_From_File_Descriptor: Could not send object info > >>>> Return code: 0xa806 (look this up in ptp.h for an explanation). > >>>> > >>>> PTP: Closing session > >>>> > >>>> The other error i got after I got this one using amarok, then forced > >>>> amarok to quit when it hung. This is the error that shows on the console. > >>>> Any ideas? > >>>> > >>>> --josh > >>>> > >>>> Robert Reardon wrote: > >>>> > >>>> > >>>> > >> ------------------------------------------------------------------------- > >> Take Surveys. Earn Cash. Influence the Future of IT > >> Join SourceForge.net's Techsay panel and you'll get the chance to share your > >> opinions on IT & business topics through brief surveys - and earn cash > >> http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV > >> _______________________________________________ > >> Libmtp-discuss mailing list > >> Lib...@li... > >> https://lists.sourceforge.net/lists/listinfo/libmtp-discuss > >> > |