I have the same problem on Linux Mint 18.3 (Ubuntu derivitive). I could
access files and folders except for the folder containing a whole lot of
images. Error message was:
The folder contents could not be displayed.
Sorry, could not display all the contents of "Wallpaper" : libmtp error: could
not get object handles.
I tried restarting the computer, and the phone independently - neither
resolved the issue. After researching this issue, several people
suggested that the number of files (in the folder) may be an issue.
This work-around resolved the issue for me: On my phone, I created a new
folder at the same level as the problem folder, and moved 1 file from
the problem folder to the new folder. I could then access the problem
folder from my Linux machine. I copied some more files into the folder,
and then moved the relocated file back into the previously problematic
folder and could still access the folder. I then removed the newly
created (and now empty) folder.
Ok. Some more information that may help resolve the problem:
There were 1788 files in the folder when I encountered the issue.
There were 1787 files in it after I moved 1 file and could access the folder.
There were 1816 files in the folder when I'd finished copying files (and it was
still accessible).
The folder containing the files is a sub folder of another user created folder
on the phone.
The libmtp components on my system are:
$ dpkg -l | grep libmtp
ii libmtp-common 1.1.10-2ubuntu1
all Media Transfer Protocol
(MTP) common files
ii libmtp-dbg:amd64 1.1.10-2ubuntu1
amd64 Media Transfer Protocol
(MTP) debugging symbols
ii libmtp-dev:amd64 1.1.10-2ubuntu1
amd64 Media Transfer Protocol
(MTP) development files
ii libmtp-doc 1.1.10-2ubuntu1
all Media Transfer Protocol
(MTP) library documentation
ii libmtp-runtime 1.1.10-2ubuntu1
amd64 Media Transfer Protocol
(MTP) runtime tools
ii libmtp9:amd64 1.1.10-2ubuntu1
amd64 Media Transfer Protocol
(MTP) library
ii libmtpserver-dev
0.0.4+15.04.20150219-0ubuntu3~gcc5.1 amd64 Library
for implementing MTP protocol servers - development files
ii libmtpserver1
0.0.4+15.04.20150219-0ubuntu3~gcc5.1 amd64 Library
for implementing MTP protocol servers - shared library
Other information that may help (though I suspect that this problem is not
specific to this):
$ inxi -MSf
System: Host: pj1 Kernel: 4.15.0-106-generic x86_64 (64 bit) Desktop:
Cinnamon 3.6.7
Distro: Linux Mint 18.3 Sylvia
Machine: System: Gigabyte product: B250M-D3H v: Default string
Mobo: Gigabyte model: B250M-D3H-CF v: x.x Bios: American Megatrends
v: F2 date: 11/25/2016
CPU: Quad core Intel Core i5-7400 (-MCP-) cache: 6144 KB
clock speeds: max: 3500 MHz 1: 974 MHz 2: 2984 MHz 3: 2485 MHz 4:
2992 MHz
CPU Flags: 3dnowprefetch abm acpi adx aes aperfmperf apic arat
arch_perfmon art avx avx2 bmi1 bmi2 bts
clflush clflushopt cmov constant_tsc cpuid cpuid_fault cx16 cx8 de
ds_cpl dtes64 dtherm dts ept erms
est f16c flexpriority flush_l1d fma fpu fsgsbase fxsr ht hwp
hwp_act_window hwp_epp hwp_notify ibpb
ibrs ida intel_pt invpcid invpcid_single lahf_lm lm mca mce md_clear
mmx monitor movbe mpx msr mtrr
nonstop_tsc nopl nx pae pat pbe pcid pclmulqdq pdcm pdpe1gb pebs pge
pln pni popcnt pse pse36 pti pts
rdrand rdseed rdtscp rep_good sdbg sep smap smep ss ssbd sse sse2
sse4_1 sse4_2 ssse3 stibp syscall tm
tm2 tpr_shadow tsc tsc_adjust tsc_deadline_timer vme vmx vnmi vpid
x2apic xgetbv1 xsave xsavec
xsaveopt xsaves xtopology xtpr
Seems that this is an ongoing issue, so I hope this information helps to
resolve the issue in the end.
--
You received this bug notification because you are a member of Desktop
Packages, which is subscribed to libmtp in Ubuntu.
https://bugs.launchpad.net/bugs/1810176
Title:
libmtp error could not get object handles
Status in libmtp package in Ubuntu:
Confirmed
Bug description:
When connecting my android galaxy s7 phone via usb, I am unable to
access my Music folder, which contains 380 subfolders. The file
manager is inactive for a long time, and finally displays the error:
Sorry, could not display all the contents of "Music": libmtp error:
could not get object handles.
Adding one more subfolder on the android side seems to work around the
issue, so the issue is related to the number of items.
Given this, my issue appears to be a specific example of the issue described
in the link below.
https://sourceforge.net/p/libmtp/bugs/1808/
Observed in linux mint 18.3 64 bit / ubuntu 16.04
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/libmtp/+bug/1810176/+subscriptions
--
Mailing list: https://launchpad.net/~desktop-packages
Post to : [email protected]
Unsubscribe : https://launchpad.net/~desktop-packages
More help : https://help.launchpad.net/ListHelp