GNOME Bugzilla – Bug 612524
"Browse files" on phone results in "The folder contents could not be displayed: Couldn't parse the incoming data"
Last modified: 2015-03-04 15:37:33 UTC
obexftp -b xx:xx:xx:xx:xx:xx -l also fails from the command line obexftp -b xx:xx:xx:xx:xx:xx -B 7 -l succeeds 7 is the bluetooth channel number associated with OBEX File transfer according to sdptool.
What device is it? What's the output from sdptool browse for it?
The phone is an LG Fusic. sdptool browse: Service Name: OBEX Object Push Service RecHandle: 0x10000 Service Class ID List: "OBEX Object Push" (0x1105) Protocol Descriptor List: "L2CAP" (0x0100) "RFCOMM" (0x0003) Channel: 6 "OBEX" (0x0008) Language Base Attr List: code_ISO639: 0x656e encoding: 0x6a base_offset: 0x100 Profile Descriptor List: "OBEX Object Push" (0x1105) Version: 0x0100 Service Name: OBEX File Transfer Service RecHandle: 0x10001 Service Class ID List: "OBEX File Transfer" (0x1106) Protocol Descriptor List: "L2CAP" (0x0100) "RFCOMM" (0x0003) Channel: 7 "OBEX" (0x0008) Language Base Attr List: code_ISO639: 0x656e encoding: 0x6a base_offset: 0x100 Profile Descriptor List: "OBEX File Transfer" (0x1106) Version: 0x0100 Service Name: AV Audio Source Service RecHandle: 0x10002 Service Class ID List: "Audio Source" (0x110a) Protocol Descriptor List: "L2CAP" (0x0100) PSM: 25 "AVDTP" (0x0019) uint16: 0x100 Language Base Attr List: code_ISO639: 0x656e encoding: 0x6a base_offset: 0x100 Profile Descriptor List: "Advanced Audio" (0x110d) Version: 0x0100 Service Name: AV Remote Control Target Service RecHandle: 0x10003 Service Class ID List: "AV Remote Target" (0x110c) Protocol Descriptor List: "L2CAP" (0x0100) PSM: 23 "AVCTP" (0x0017) uint16: 0x100 Language Base Attr List: code_ISO639: 0x656e encoding: 0x6a base_offset: 0x100 Profile Descriptor List: "AV Remote" (0x110e) Version: 0x0100 Service Name: Dial-up Networking Gateway Service RecHandle: 0x10004 Service Class ID List: "Dialup Networking" (0x1103) Protocol Descriptor List: "L2CAP" (0x0100) "RFCOMM" (0x0003) Channel: 8 Language Base Attr List: code_ISO639: 0x656e encoding: 0x6a base_offset: 0x100 Profile Descriptor List: "Dialup Networking" (0x1103) Version: 0x0100 Service Name: Voice Gateway Service RecHandle: 0x10005 Service Class ID List: "Headset Audio Gateway" (0x1112) "Generic Audio" (0x1203) Protocol Descriptor List: "L2CAP" (0x0100) "RFCOMM" (0x0003) Channel: 3 Language Base Attr List: code_ISO639: 0x656e encoding: 0x6a base_offset: 0x100 Profile Descriptor List: "Headset" (0x1108) Version: 0x0100 Service Name: Voice Gateway Service RecHandle: 0x10006 Service Class ID List: "Handsfree Audio Gateway" (0x111f) "Generic Audio" (0x1203) Protocol Descriptor List: "L2CAP" (0x0100) "RFCOMM" (0x0003) Channel: 4 Language Base Attr List: code_ISO639: 0x656e encoding: 0x6a base_offset: 0x100 Profile Descriptor List: "Handsfree" (0x111e) Version: 0x0101
Could you please run: /usr/libexec /gvfsd-obexftp host='[xx:xx:xx:xx:xx:xx]' by hand and reproduce the problem? The output from: obexftp -b xx:xx:xx:xx:xx:xx -B 7 -l would also certainly help
(Note: mac address X-ed out of paranoia) srwalter@brock:~$ /usr/lib/gvfs/gvfsd-obexftp host='[xx:xx:xx:xx:xx:xx]' ** Message: ErrorOccurred ** Message: Error name: org.openobex.Error.LinkError ** Message: Error message: Connection error ** Message: link lost to remote device srwalter@brock:~$ srwalter@brock:~$ obexftp -b xx:xx:xx:xx:xx:xx -B 7 -l Connecting..\done Receiving "(null)"...|<?xml version="1.0"?> <!DOCTYPE folder-listing SYSTEM "obex-folder-listing.dtd"> <folder-listing version="1.0"> <file name="p_00002.jpg" size="224593"/> <file name="p_00003.jpg" size="102154"/> <file name="p_00005.jpg" size="125201"/> <file name="p_00006.jpg" size="109487"/> <file name="p_00007.jpg" size="119061"/> <file name="p_00008.jpg" size="111445"/> <file name="p_00009.jpg" size="103148"/> <file name="p_00010.jpg" size="107378"/> <file name="p_00011.jpg" size="109003"/> <file name="p_00012.jpg" size="108959"/> <file name="p_00013.jpg" size="119616"/> <file name="p_00014.jpg" size="138734"/> <file name="p_00015.jpg" size="98910"/> <file name="p_00016.jpg" size="139416"/> <file name="p_00017.jpg" size="110541"/> <file name="p_00018.jpg" size="95959"/> <file name="p_00019.jpg" size="179997"/> <file name="p_00020.jpg" size="100209"/> <file name="p_00021.jpg" size="83390"/> <file name="p_00022.jpg" size="333618"/> <file name="p_00023.jpg" size="146756"/> <file name="p_00024.jpg" size="171557"/> <file name="p_00025.jpg" size="129154"/> <file name="p_00026.jpg" size="121733"/> <file name="p_00027.jpg" size="89151"/> <file name="p_00028.jpg" size="109711"/> <file name="p_00029.jpg" size="113324"/> <file name="p_00030.jpg" size="148417"/> <file name="p_00031.jpg" size="137719"/> <file name="p_00032.jpg" size="133208"/> <file name="p_00033.jpg" size="306263"/> <file name="p_00034.jpg" size="147467"/> <file name="p_00035.jpg" size="128612"/> <file name="p_00036.jpg" size="181608"/> <file name="p_00037.jpg" size="80571"/> <file name="p_00038.jpg" size="139622"/> <file name="p_00039.jpg" size="166390"/> <file name="p_00040.jpg" size="138906"/> <file name="p_00041.jpg" size="149326"/> <file name="p_00042.jpg" size="147987"/> <file name="v_00043.3g2" size="122591"/> <file name="p_00044.jpg" size="152438"/> <file name="p_00045.jpg" size="157929"/> <file name="p_00046.jpg" size="118517"/> <file name="p_00047.jpg" size="134753"/> <file name="p_00048.jpg" size="173981"/> <file name="p_00049.jpg" size="167028"/> <file name="p_00059.jpg" size="155065"/> <file name="p_00051.jpg" size="228477"/> <file name="p_00052.jpg" size="128314"/> <file name="p_00053.jpg" size="124962"/> <file name="p_00054.jpg" size="139042"/> <file name="p_00055.jpg" size="145315"/> <file name="v_00056.3g2" size="45374"/> <file name="p_00057.jpg" size="128734"/> <file name="p_00058.jpg" size="169173"/> <file name="p_00060.jpg" size="154072"/> <file name="p_00061.jpg" size="125730"/> <file name="p_00062.jpg" size="226306"/> <file name="p_00063.jpg" size="143910"/> <file name="v_00064.3g2" size="155897"/> <file name="v_00065.3g2" size="303376"/> <file name="p_00066.jpg" size="98449"/> <file name="p_00067.jpg" size="99976"/> <file name="p_00068.jpg" size="108195"/> <file name="p_00069.jpg" size="235336"/> <file name="p_00070.jpg" size="194442"/> <file name="p_00071.jpg" size="166262"/> <file name="p_00072.jpg" size="83607"/> <file name="p_00073.jpg" size="49419"/> <file name="p_00074.jpg" size="106039"/> <file name="p_00075.jpg" size="106001"/> <file name="p_00076.jpg" size="123709"/> <file name="p_00077.jpg" size="203111"/> <file name="p_00078.jpg" size="116634"/> <file name="p_00079.jpg" size="101297"/> <file name="p_00080.jpg" size="119752"/> <file name="p_00081.jpg" size="229309"/> <file name="p_00082.jpg" size="165133"/> <file name="p_00083.jpg" size="208948"/> <file name="p_00084.jpg" size="160835"/> <file name="p_00085.jpg" size="122756"/> <file name="v_00086.3g2" size="304394"/> <file name="p_00087.jpg" size="89399"/> <file name="p_00088.jpg" size="131041"/> <file name="p_00089.jpg" size="253507"/> <file name="p_00090.jpg" size="130389"/> <file name="p_00091.jpg" size="291017"/> <file name="p_00092.jpg" size="209809"/> <file name="p_00093.jpg" size="145611"/> <file name="p_00094.jpg" size="148247"/> <file name="p_00095.jpg" size="116294"/> <file name="p_00096.jpg" size="158713"/> <file name="p_00097.jpg" size="147451"/> <file name="p_00098.jpg" size="154568"/> <file name="p_00099.jpg" size="193780"/> <file name="p_00100.jpg" size="221722"/> <file name="p_00101.jpg" size="79143"/> <file name="p_00102.jpg" size="217129"/> <file name="p_00103.jpg" size="238553"/> <file name="v_00104.3g2" size="501934"/> </folder-listing> done Disconnecting../done srwalter@brock:~$
Looks like a problem with obex-data-server rather than gvfsd-obexftp. Which version of obex-data-server do you have installed? Try running: killall obex-data-server obex-data-server -n And launch: /usr/lib/gvfs/gvfsd-obexftp host='[xx:xx:xx:xx:xx:xx]' again, and post out the errors from both gvfsd-obexftp and obex-data-server.
Created attachment 158010 [details] Log from obex-data-server
Created attachment 158011 [details] Log from gvfsd-obexftp
Why UNCONFIRMED? Do I need to test against a new version?
Obexftp backend has been obsoleted in GNOME 3.10, because it is incompatible with Bluez 5, however limited bluetooth support is currently built-in in GNOME desktop.