Comment 1 for bug 1274657

Revision history for this message
Po-Hsu Lin (cypressyew) wrote :

Found this issue today, and the old bluetooth_obex_before_suspend job (obex_send script) is not working at all.

If you try to run it with plainbox, it will fail with:
-------------------[ suspend/bluetooth_obex_before_suspend ]--------------------
ID: 2013.com.canonical.certification::suspend/bluetooth_obex_before_suspend
Category: 2013.com.canonical.plainbox::uncategorised
... 8< -------------------------------------------------------------------------
Traceback (most recent call last):
  File "/tmp/nest-ws1nlq.3c34264a0823c4d9d6da8bc074ea373792f9042ccb3bb3e0a087d12f2af86839/obex_send", line 82, in <module>
    client.SendFiles({"Destination": sys.argv[1]}, files, path)
  File "/usr/lib/python3/dist-packages/dbus/proxies.py", line 70, in __call__
    return self._proxy_method(*args, **keywords)
  File "/usr/lib/python3/dist-packages/dbus/proxies.py", line 145, in __call__
    **keywords)
  File "/usr/lib/python3/dist-packages/dbus/connection.py", line 651, in call_blocking
    message, timeout)
dbus.exceptions.DBusException: org.openobex.Error.Failed: Unable to find service record
------------------------------------------------------------------------- >8 ---
Outcome: job failed

If you try to run it manually on 12.04, with all related parameters specified, it will fail with:
data/images/JPEG_Color_Image_Ubuntu.jpg13.com.canonical.certification\:checkbox/
Traceback (most recent call last):
  File "./obex_send", line 82, in <module>
    client.SendFiles({"Destination": sys.argv[1]}, files, path)
  File "/usr/lib/python3/dist-packages/dbus/proxies.py", line 70, in __call__
    return self._proxy_method(*args, **keywords)
  File "/usr/lib/python3/dist-packages/dbus/proxies.py", line 145, in __call__
    **keywords)
  File "/usr/lib/python3/dist-packages/dbus/connection.py", line 651, in call_blocking
    message, timeout)
dbus.exceptions.DBusException: org.openobex.Error.Failed: Unable to find service record
ubuntu@201105-8048:/usr/lib/2013.com.canonical.certification:checkbox/bin$ exit