Tiny Core Extensions > TCE Bugs

unable to send and receive files using Blueman in v13.1 x86_64

(1/2) > >>

tcl_user5:

I am unable to send and receive files via Bluetooth using Blueman in TCL v13.1 (x86_64). On trying to send files, I initially got the error message- "Error occurred. name org.bluez.obex was not provided by any .service files."


Since it was mentioned in the message on the forum- http://forum.tinycorelinux.net/index.php/topic,18121.msg112050.html#msg112050- that files can be sent and received on x86_64 without obexd and obex-data-server extensions, I had initially not loaded these extensions.

However, subsequently, I installed obexd, obex-data-server and openobex extensions. After this, no error message is received. However, file transfer does not take place as well while trying to send files.

Receiving files also does not happen. On the source device (Android mobile phone device), the error message shows the reason for failure as "Request cannot be handled correctly." I have set the incoming folder in Local services>Transfer settings in Blueman. Also, source device is marked as trusted. Also, I have set locale to en_US.UTF-8 using the getlocale extension.

Other than the issue of sending and receiving files, bluetooth is working normally. Pairing is taking place and network access and audio streaming are working normally with paired devices.

Kindly advise.

Juanito:
If you start blueman-applet/blueman-manager from a terminal window do you get any more error details?

tcl_user5:

On starting blueman-manager in the terminal, the following error details are seen.


--- Code: ---tcbox:~$ blueman-manager
Traceback (most recent call last):
File "/usr/local/bin/blueman-sendto", line 166, in <module>
   SendTo (args)
File "/usr/local/bin/blueman-sendto", line 95, in __init__
   self.do_send()
File "/usr/local/bin/blueman-sendto", line 102, in do_send
   sender = Sender (self.device, self.adapter_path, self.files)
File "/user/local/lib/python3.6/site-packages/blueman/main/Sendto.py", line 61,
 in __init__
  self.manager=Manager()
File "/usr/local/lib/python3.6/site-packages/blueman/gobject.py", line 11, in
__call__
  cls._instance=super().__call__(*args, **kwargs)
File "/usr/local/lib/python3.6/site-packages/blueman/bluez/obex/Manager.py",
line 31, in __init__
 self.__bus_name, '/', None, None, None)
gi.repository.Glib.Error: g-dbus-error-quark:Error calling StartServiceByName for
org.bluez.obex: Process org.bluez.obex exited with status 127(25)
--- End code ---


--- Quote from: Juanito on June 19, 2022, 03:04:12 PM ---If you start blueman-applet/blueman-manager from a terminal window do you get any more error details?

--- End quote ---

Rich:
Hi tcl_user5
From the  blueman.tcz.info  file:


--- Quote ---Howto:

--- Code: ---$ sudo /usr/local/etc/init.d/bluez start
$ startx
--- End code ---
use blueman to manage bluetooth connections

obexd extension required for obex file send/receive
locale must be set to en_US.UTF-8 or similar to receive files
--- End quote ---

So  blueman.tcz  should be set to load   onboot , and you should add:

--- Code: ---/usr/local/etc/init.d/bluez start
--- End code ---
to your  /opt/bootsync.sh  file to ensure it runs before  X  starts.

tcl_user5:
Hi Rich,

blueman.tcz is set to load onboot.

/usr/local/etc/init.d/bluez start has been included in /opt/bootsync.sh.

I had checked both these before reporting tie error.

In fact, Bluetooth pairs with other devices and works fine in audio and network access modes. The only issue being faced is of file transfer not happening through Bluetooth.

Navigation

[0] Message Index

[#] Next page

Go to full version