This bug originally reported here:
http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=623852
The reporter said that running mtp-{files,foldes} he gets an output containing duplicates of every folder/file:
tmac@asus:~$ mtp-folders
Attempting to connect device(s)
Device 0 (VID=04e8 and PID=507d) is a Samsung YP-U3.
mtp-folders: Successfully connected
Friendly name: ????????????????
32769 Music
32770 Recorded
32771 Playlists
32772 System
32769 Music
32770 Recorded
32771 Playlists
32772 System
OK.
tmac@asus:~$ mtp-files
libmtp version: 1.0.6
Device 0 (VID=04e8 and PID=507d) is a Samsung YP-U3.
mtp-files: Successfully connected
Listing File Information on Device with name: (NULL)
File ID: 2147745797
Filename: SYSTEM.VER
File size 40 (0x0000000000000028) bytes
Parent ID: 32772
Storage ID: 0x00010001
Filetype: Undefined filetype
File ID: 2147745798
Filename: YP-U3.LOG
File size 11000 (0x0000000000002AF8) bytes
Parent ID: 32772
Storage ID: 0x00010001
Filetype: Undefined filetype
File ID: 2147745797
Filename: SYSTEM.VER
File size 40 (0x0000000000000028) bytes
Parent ID: 32772
Storage ID: 0x00010001
Filetype: Undefined filetype
File ID: 2147745798
Filename: YP-U3.LOG
File size 11000 (0x0000000000002AF8) bytes
Parent ID: 32772
Storage ID: 0x00010001
Filetype: Undefined filetype
OK.
This bug was encountered while using a Samsung YP-U3 but might be reproducilble with other devices.
Thanks in advance.
Anonymous
We need to figure this out, sadly I cannot replicate the problem :-(
Does this have something to do with the device having several storages and the same file appearing on more than one storage? What does "mtp-filetree" from recent libmtp print?