[SoaS] Collaboration failure with Fedora rawhide & Sugar 0.116

James Cameron quozl at laptop.org
Sun Jan 17 18:04:34 EST 2021


Thanks for testing.  Please upgrade to Sugar 0.118.

The four tracebacks relating to apisocket.py are caused by running an
activity written in JavaScript, and are not caused by the network
control panel or the collaboration server.  These were fixed in 0.118.

03c464355 ("Fix DBusException using Moon activity")
f1ac68488 ("Port to Python 3 - API Socket")

The "org.freedesktop.DBus.Error.NoReply" might indicate unexpected
termination of one of the Telepathy processes.  Check for core dumps
if enabled, try enabling Telepathy debugging, and try watching to see
if a Telepathy process is started by the dbus-daemon and then stops
unexpectedly.  https://github.com/sugarlabs/sugar/issues/840 describes
some of the impacts of an as-yet unsolved Telepathy crash.

The "Connection
/org/freedesktop/Telepathy/Connection/gabble/jabber/f9fd456e86f5d7a5a3783144e483de99d27325a9_40jabber_2esugarlabs_2eorg_2fsugar
does not support OLPC buddy properties" is interesting.  It may
indicate a regression in Telepathy.  I don't know of any change to the
configuration at jabber.sugarlabs.org that would have caused this.  It
might have been caused by the NoReply.

On Sun, Jan 17, 2021 at 01:09:54PM -0800, Alex Perez wrote:
> Ibiam,
> 
> When you set the collaboration server to jabber.sugarlabs.org in the Network
> Control Panel within Sugar, it fails to connect to the server, with a Python
> error of "TypeError: Object of type DBusException is not JSON serializable"
> 
> Full sugar log output at https://termbin.com/z6g0

Inlining for search.

(metacity:2181): metacity-WARNING **: 12:55:31.438: Option “--no-composite” is deprecated, use the “--compositor” instead.
/usr/lib/python3.9/site-packages/gi/overrides/Gtk.py:1649: Warning: g_value_type_compatible: assertion 'src_type' failed
  return _Gtk_main(*args, **kwargs)
/usr/lib/python3.9/site-packages/gi/overrides/Gtk.py:1649: Warning: unable to set property 'buddy' of type 'PyObject' from value of type '(null)'
  return _Gtk_main(*args, **kwargs)
Traceback (most recent call last):
  File "/usr/lib/python3.9/site-packages/jarabe/apisocket.py", line 323, in _message_received_cb
    stream_id = ord(message.data[0])
TypeError: ord() expected string of length 1, but int found
Traceback (most recent call last):
  File "/usr/lib/python3.9/site-packages/jarabe/apisocket.py", line 323, in _message_received_cb
    stream_id = ord(message.data[0])
TypeError: ord() expected string of length 1, but int found
Traceback (most recent call last):
  File "/usr/lib/python3.9/site-packages/jarabe/apisocket.py", line 323, in _message_received_cb
    stream_id = ord(message.data[0])
TypeError: ord() expected string of length 1, but int found
Traceback (most recent call last):
  File "/usr/lib64/python3.9/site-packages/dbus/connection.py", line 608, in msg_reply_handler
    error_handler(DBusException(name=message.get_error_name(),
  File "/usr/lib/python3.9/site-packages/jarabe/apisocket.py", line 211, in error_handler
    self._client.send_error(info["close_request"], error)
  File "/usr/lib/python3.9/site-packages/jarabe/apisocket.py", line 268, in send_error
    self._session.send_message(json.dumps(response))
  File "/usr/lib64/python3.9/json/__init__.py", line 231, in dumps
    return _default_encoder.encode(obj)
  File "/usr/lib64/python3.9/json/encoder.py", line 199, in encode
    chunks = self.iterencode(o, _one_shot=True)
  File "/usr/lib64/python3.9/json/encoder.py", line 257, in iterencode
    return _iterencode(o, 0)
  File "/usr/lib64/python3.9/json/encoder.py", line 179, in default
    raise TypeError(f'Object of type {o.__class__.__name__} '
TypeError: Object of type DBusException is not JSON serializable
1610916985.121583 ERROR root: set_active() failed: org.freedesktop.DBus.Error.NoReply: Remote peer disconnected
1610917005.722033 ERROR root: set_active() failed: org.freedesktop.DBus.Error.NoReply: Remote peer disconnected
1610917276.114132 WARNING root: Connection /org/freedesktop/Telepathy/Connection/gabble/jabber/f9fd456e86f5d7a5a3783144e483de99d27325a9_40jabber_2esugarlabs_2eorg_2fsugar does not support OLPC buddy properties

> 
> _______________________________________________
> SoaS mailing list
> SoaS at lists.sugarlabs.org
> http://lists.sugarlabs.org/listinfo/soas

-- 
James Cameron
https://quozl.linux.org.au/


More information about the SoaS mailing list