Giter VIP home page Giter VIP logo

Comments (22)

aperezbios avatar aperezbios commented on September 28, 2024

I can independently confirm that, with jabber.sugarlabs.org configured as the presence server, under both Fedora 29 SoaS and SoaS 30/Rawhide, no other users are shown in the network neighborhood. Both versions of the Fedora SoaS are using Sugar 0.112.

from sugar.

aperezbios avatar aperezbios commented on September 28, 2024

Here are the contents of the shell.log on my SoaS 29:


(main.py:2321): dbind-WARNING **: 14:54:56.449: Couldn't connect to accessibility bus: Failed to connect to socket 00010: Connection refused

(metacity:2495): dbind-WARNING **: 14:54:59.262: Couldn't connect to accessibility bus: Failed to connect to socket 00010: Connection refused

(metacity-message:2517): dbind-WARNING **: 14:55:07.250: Couldn't connect to accessibility bus: Failed to connect to socket 00010: Connection refused

(metacity-message:2518): dbind-WARNING **: 14:55:07.375: Couldn't connect to accessibility bus: Failed to connect to socket 00010: Connection refused
1545162984.979568 ERROR root: Error parsing public key.
1545162985.002976 ERROR dbus.connection: Unable to set arguments ('gabble', 'jabber', 'jabber', {'register': True, 'account': 'b7bb4f877acb2d6a4fa5883f3a3f35ed5abc730d@', 'require-encryption': True, 'resource': 'sugar', 'password': None, 'ignore-ssl-errors': True, 'old-ssl': True, 'port': dbus.UInt32(5223L), 'server': ''}, {'org.freedesktop.Telepathy.Account.ConnectAutomatically': True, 'org.freedesktop.Telepathy.Account.Enabled': True, 'org.freedesktop.Telepathy.Account.Nickname': 'Alex'}) according to signature u'sssa{sv}a{sv}': <type 'exceptions.TypeError'>: Don't know which D-Bus type to use to encode type "NoneType"
Traceback (most recent call last):
  File "/usr/lib64/python2.7/site-packages/dbus/connection.py", line 604, in msg_reply_handler
    reply_handler(*message.get_args_list(**get_args_opts))
  File "/usr/lib/python2.7/site-packages/jarabe/model/neighborhood.py", line 738, in __got_accounts_cb
    self._server_account = self._ensure_server_account(account_paths)
  File "/usr/lib/python2.7/site-packages/jarabe/model/neighborhood.py", line 851, in _ensure_server_account
    properties)
  File "/usr/lib64/python2.7/site-packages/dbus/proxies.py", line 70, in __call__
    return self._proxy_method(*args, **keywords)
  File "/usr/lib64/python2.7/site-packages/dbus/proxies.py", line 145, in __call__
    **keywords)
  File "/usr/lib64/python2.7/site-packages/dbus/connection.py", line 641, in call_blocking
    message.append(signature=signature, *args)
TypeError: Don't know which D-Bus type to use to encode type "NoneType"
Traceback (most recent call last):
  File "/usr/lib/python2.7/site-packages/jarabe/model/neighborhood.py", line 864, in __jabber_server_changed_cb
    self._server_account.object_path)
AttributeError: 'NoneType' object has no attribute 'object_path'

from sugar.

satellitee avatar satellitee commented on September 28, 2024

from sugar.

quozl avatar quozl commented on September 28, 2024

Please list the Telepathy packages installed. Thanks.

from sugar.

aperezbios avatar aperezbios commented on September 28, 2024

The standard telepathy packages installed under F29 are:

telepathy-mission-control-5.16.4-7-fc29.x86_64
python2-telepathy-0.15.19-18-fc29.x86_64
telepathy-glib-0.24.1-9-fc29.x86_64
telepathy-gabble-0.18.4-7-fc29.x86_64
telepathy-filesystem-0.0.2-13-fc29.x86_64
telepathy-salut-0.8.1-15-fc29.x86_64

from sugar.

aperezbios avatar aperezbios commented on September 28, 2024

Additionally, the standard telepathy packages installed under F30/rawhide (as of the time this comment was written) are identical to the F29 packages.

from sugar.

quozl avatar quozl commented on September 28, 2024

Wild guess; the error parsing public key results in a password of None which can't be encoded by D-Bus. Almost as if a hash or crypto method was removed. Corresponding log on Ubuntu 18.04 with Sugar 0.112 does not show the same sequence;

1544660315.103967 WARNING root: Journal premature deiconify by Metacity (RHBZ #1519042), try again.
/usr/lib/python2.7/dist-packages/jarabe/main.py:378: Warning: g_value_transform: assertion 'G_IS_VALUE (src_value)' failed
  Gtk.main()
/usr/lib/python2.7/dist-packages/jarabe/main.py:378: Warning: unable to set property 'buddy' of type 'PyObject' from value of type '(null)'
  Gtk.main()
Gdk-Message: 12:43:27.520: metacity: Fatal IO error 11 (Resource temporarily unavailable) on X server :0.

from sugar.

satellitee avatar satellitee commented on September 28, 2024

In Cinnamon desktop using sugar-runner on Fedora SoaS 29

1545221517.289599 ERROR dbus.connection: Exception in handler for D-Bus signal:
Traceback (most recent call last):
  File "/usr/lib64/python2.7/site-packages/dbus/connection.py", line 230, in maybe_handle_message
    self._handler(*args, **kwargs)
  File "/usr/lib/python2.7/site-packages/jarabe/model/buddy.py", line 125, in __name_owner_changed_cb
    Connection(name, path, ready_handler=self.__connection_ready_cb)
  File "/usr/lib/python2.7/site-packages/telepathy/client/conn.py", line 49, in __init__
    object = self.bus.get_object(service_name, object_path)
  File "/usr/lib64/python2.7/site-packages/dbus/bus.py", line 241, in get_object
    follow_name_owner_changes=follow_name_owner_changes)
  File "/usr/lib64/python2.7/site-packages/dbus/proxies.py", line 248, in __init__
    self._named_service = conn.activate_name_owner(bus_name)
  File "/usr/lib64/python2.7/site-packages/dbus/bus.py", line 180, in activate_name_owner
    self.start_service_by_name(bus_name)
  File "/usr/lib64/python2.7/site-packages/dbus/bus.py", line 278, in start_service_by_name
    'su', (bus_name, flags)))
  File "/usr/lib64/python2.7/site-packages/dbus/connection.py", line 651, in call_blocking
    message, timeout)
DBusException: org.freedesktop.DBus.Error.ServiceUnknown: The name org.freedesktop.Telepathy.Connection.salut.local_xmpp.ac17e059 was not provided by any .service files
1545221517.340254 ERROR dbus.connection: Exception in handler for D-Bus signal:
Traceback (most recent call last):
  File "/usr/lib64/python2.7/site-packages/dbus/connection.py", line 230, in maybe_handle_message
    self._handler(*args, **kwargs)
  File "/usr/lib/python2.7/site-packages/jarabe/model/neighborhood.py", line 262, in __account_property_changed_cb
    self._prepare_connection(properties['Connection'])
  File "/usr/lib/python2.7/site-packages/jarabe/model/neighborhood.py", line 268, in _prepare_connection
    ready_handler=self.__connection_ready_cb)
  File "/usr/lib/python2.7/site-packages/telepathy/client/conn.py", line 49, in __init__
    object = self.bus.get_object(service_name, object_path)
  File "/usr/lib64/python2.7/site-packages/dbus/bus.py", line 241, in get_object
    follow_name_owner_changes=follow_name_owner_changes)
  File "/usr/lib64/python2.7/site-packages/dbus/proxies.py", line 248, in __init__
    self._named_service = conn.activate_name_owner(bus_name)
  File "/usr/lib64/python2.7/site-packages/dbus/bus.py", line 180, in activate_name_owner
    self.start_service_by_name(bus_name)
  File "/usr/lib64/python2.7/site-packages/dbus/bus.py", line 278, in start_service_by_name
    'su', (bus_name, flags)))
  File "/usr/lib64/python2.7/site-packages/dbus/connection.py", line 651, in call_blocking
    message, timeout)
DBusException: org.freedesktop.DBus.Error.ServiceUnknown: The name org.freedesktop.Telepathy.Connection.salut.local_xmpp.ac17e059 was not provided by any .service files
1545221523.872682 ERROR dbus.connection: Exception in handler for D-Bus signal:
Traceback (most recent call last):
  File "/usr/lib64/python2.7/site-packages/dbus/connection.py", line 230, in maybe_handle_message
    self._handler(*args, **kwargs)
  File "/usr/lib/python2.7/site-packages/jarabe/model/buddy.py", line 125, in __name_owner_changed_cb
    Connection(name, path, ready_handler=self.__connection_ready_cb)
  File "/usr/lib/python2.7/site-packages/telepathy/client/conn.py", line 49, in __init__
    object = self.bus.get_object(service_name, object_path)
  File "/usr/lib64/python2.7/site-packages/dbus/bus.py", line 241, in get_object
    follow_name_owner_changes=follow_name_owner_changes)
  File "/usr/lib64/python2.7/site-packages/dbus/proxies.py", line 248, in __init__
    self._named_service = conn.activate_name_owner(bus_name)
  File "/usr/lib64/python2.7/site-packages/dbus/bus.py", line 180, in activate_name_owner
    self.start_service_by_name(bus_name)
  File "/usr/lib64/python2.7/site-packages/dbus/bus.py", line 278, in start_service_by_name
    'su', (bus_name, flags)))
  File "/usr/lib64/python2.7/site-packages/dbus/connection.py", line 651, in call_blocking
    message, timeout)
DBusException: org.freedesktop.DBus.Error.ServiceUnknown: The name org.freedesktop.Telepathy.Connection.salut.local_xmpp.ac17e059 was not provided by any .service files
1545221523.875195 ERROR dbus.connection: Exception in handler for D-Bus signal:
Traceback (most recent call last):
  File "/usr/lib64/python2.7/site-packages/dbus/connection.py", line 230, in maybe_handle_message
    self._handler(*args, **kwargs)
  File "/usr/lib/python2.7/site-packages/jarabe/model/neighborhood.py", line 262, in __account_property_changed_cb
    self._prepare_connection(properties['Connection'])
  File "/usr/lib/python2.7/site-packages/jarabe/model/neighborhood.py", line 268, in _prepare_connection
    ready_handler=self.__connection_ready_cb)
  File "/usr/lib/python2.7/site-packages/telepathy/client/conn.py", line 49, in __init__
    object = self.bus.get_object(service_name, object_path)
  File "/usr/lib64/python2.7/site-packages/dbus/bus.py", line 241, in get_object
    follow_name_owner_changes=follow_name_owner_changes)
  File "/usr/lib64/python2.7/site-packages/dbus/proxies.py", line 248, in __init__
    self._named_service = conn.activate_name_owner(bus_name)
  File "/usr/lib64/python2.7/site-packages/dbus/bus.py", line 180, in activate_name_owner
    self.start_service_by_name(bus_name)
  File "/usr/lib64/python2.7/site-packages/dbus/bus.py", line 278, in start_service_by_name
    'su', (bus_name, flags)))
  File "/usr/lib64/python2.7/site-packages/dbus/connection.py", line 651, in call_blocking
    message, timeout)
DBusException: org.freedesktop.DBus.Error.ServiceUnknown: The name org.freedesktop.Telepathy.Connection.salut.local_xmpp.ac17e059 was not provided by any .service files
/usr/lib64/python2.7/site-packages/gi/overrides/Gtk.py:1637: Warning: g_value_transform: assertion 'G_IS_VALUE (src_value)' failed
  return _Gtk_main(*args, **kwargs)
/usr/lib64/python2.7/site-packages/gi/overrides/Gtk.py:1637: Warning: unable to set property 'buddy' of type 'PyObject' from value of type '(null)'
  return _Gtk_main(*args, **kwargs)

(main.py:26171): Gtk-WARNING **: 04:12:08.734: Drawing a gadget with negative dimensions. Did you forget to allocate a size? (node menuitem owner SugarPaletteHeader)
1545221530.666166 ERROR dbus.connection: Exception in handler for D-Bus signal:
Traceback (most recent call last):
  File "/usr/lib64/python2.7/site-packages/dbus/connection.py", line 230, in maybe_handle_message
    self._handler(*args, **kwargs)
  File "/usr/lib/python2.7/site-packages/jarabe/model/neighborhood.py", line 262, in __account_property_changed_cb
    self._prepare_connection(properties['Connection'])
  File "/usr/lib/python2.7/site-packages/jarabe/model/neighborhood.py", line 268, in _prepare_connection
    ready_handler=self.__connection_ready_cb)
  File "/usr/lib/python2.7/site-packages/telepathy/client/conn.py", line 49, in __init__
    object = self.bus.get_object(service_name, object_path)
  File "/usr/lib64/python2.7/site-packages/dbus/bus.py", line 241, in get_object
    follow_name_owner_changes=follow_name_owner_changes)
  File "/usr/lib64/python2.7/site-packages/dbus/proxies.py", line 248, in __init__
    self._named_service = conn.activate_name_owner(bus_name)
  File "/usr/lib64/python2.7/site-packages/dbus/bus.py", line 180, in activate_name_owner
    self.start_service_by_name(bus_name)
  File "/usr/lib64/python2.7/site-packages/dbus/bus.py", line 278, in start_service_by_name
    'su', (bus_name, flags)))
  File "/usr/lib64/python2.7/site-packages/dbus/connection.py", line 651, in call_blocking
    message, timeout)
DBusException: org.freedesktop.DBus.Error.ServiceUnknown: The name org.freedesktop.Telepathy.Connection.salut.local_xmpp.ac17e059 was not provided by any .service files
1545221530.667312 WARNING telepathy.client.interfacefactory: Exception from asynchronous method call:
org.freedesktop.DBus.Error.UnknownMethod: Method "GetStatus" with signature "" on interface "org.freedesktop.Telepathy.Connection" doesn't exist

1545221557.669403 ERROR dbus.connection: Exception in handler for D-Bus signal:
Traceback (most recent call last):
  File "/usr/lib64/python2.7/site-packages/dbus/connection.py", line 230, in maybe_handle_message
    self._handler(*args, **kwargs)
  File "/usr/lib/python2.7/site-packages/jarabe/model/neighborhood.py", line 262, in __account_property_changed_cb
    self._prepare_connection(properties['Connection'])
  File "/usr/lib/python2.7/site-packages/jarabe/model/neighborhood.py", line 268, in _prepare_connection
    ready_handler=self.__connection_ready_cb)
  File "/usr/lib/python2.7/site-packages/telepathy/client/conn.py", line 49, in __init__
    object = self.bus.get_object(service_name, object_path)
  File "/usr/lib64/python2.7/site-packages/dbus/bus.py", line 241, in get_object
    follow_name_owner_changes=follow_name_owner_changes)
  File "/usr/lib64/python2.7/site-packages/dbus/proxies.py", line 248, in __init__
    self._named_service = conn.activate_name_owner(bus_name)
  File "/usr/lib64/python2.7/site-packages/dbus/bus.py", line 180, in activate_name_owner
    self.start_service_by_name(bus_name)
  File "/usr/lib64/python2.7/site-packages/dbus/bus.py", line 278, in start_service_by_name
    'su', (bus_name, flags)))
  File "/usr/lib64/python2.7/site-packages/dbus/connection.py", line 651, in call_blocking
    message, timeout)
DBusException: org.freedesktop.DBus.Error.ServiceUnknown: The name org.freedesktop.Telepathy.Connection.salut.local_xmpp.ac17e059 was not provided by any .service files
1545221557.670452 WARNING telepathy.client.interfacefactory: Exception from asynchronous method call:
org.freedesktop.DBus.Error.UnknownMethod: Method "GetStatus" with signature "" on interface "org.freedesktop.Telepathy.Connection" doesn't exist

1545221608.363304 WARNING root: no data for selection target MULTIPLE.
1545221608.370550 WARNING root: no data for selection target NULL.
1545221609.338791 WARNING root: no data for selection target MULTIPLE.
1545221638.665332 ERROR dbus.connection: Exception in handler for D-Bus signal:
Traceback (most recent call last):
  File "/usr/lib64/python2.7/site-packages/dbus/connection.py", line 230, in maybe_handle_message
    self._handler(*args, **kwargs)
  File "/usr/lib/python2.7/site-packages/jarabe/model/neighborhood.py", line 262, in __account_property_changed_cb
    self._prepare_connection(properties['Connection'])
  File "/usr/lib/python2.7/site-packages/jarabe/model/neighborhood.py", line 268, in _prepare_connection
    ready_handler=self.__connection_ready_cb)
  File "/usr/lib/python2.7/site-packages/telepathy/client/conn.py", line 49, in __init__
    object = self.bus.get_object(service_name, object_path)
  File "/usr/lib64/python2.7/site-packages/dbus/bus.py", line 241, in get_object
    follow_name_owner_changes=follow_name_owner_changes)
  File "/usr/lib64/python2.7/site-packages/dbus/proxies.py", line 248, in __init__
    self._named_service = conn.activate_name_owner(bus_name)
  File "/usr/lib64/python2.7/site-packages/dbus/bus.py", line 180, in activate_name_owner
    self.start_service_by_name(bus_name)
  File "/usr/lib64/python2.7/site-packages/dbus/bus.py", line 278, in start_service_by_name
    'su', (bus_name, flags)))
  File "/usr/lib64/python2.7/site-packages/dbus/connection.py", line 651, in call_blocking
    message, timeout)
DBusException: org.freedesktop.DBus.Error.ServiceUnknown: The name org.freedesktop.Telepathy.Connection.salut.local_xmpp.ac17e059 was not provided by any .service files
1545221638.665806 WARNING telepathy.client.interfacefactory: Exception from asynchronous method call:
org.freedesktop.DBus.Error.UnknownMethod: Method "GetStatus" with signature "" on interface "org.freedesktop.Telepathy.Connection" doesn't exist

1545221659.696062 ERROR root: No activities are running

(metacity:26208): metacity-WARNING **: 04:14:19.700: CurrentTime used to choose focus window; focus window may not be correct.

from sugar.

satellitee avatar satellitee commented on September 28, 2024

ssh -v [email protected]
works the keys in .ssh folder are correct ie:I can log in

from sugar.

quozl avatar quozl commented on September 28, 2024

ssh -v ... works

Nothing to do with your SSH key ... or car keys. 😁 I was talking about the identity keys that Sugar creates on first login and presents to the server. Next action is to debug the key creation sequence in Python.

from sugar.

quozl avatar quozl commented on September 28, 2024

@aperezbios, the error parsing public key is in two places;

https://github.com/sugarlabs/sugar-toolkit-gtk3/blob/master/src/sugar3/profile.py#L96
https://github.com/sugarlabs/sugar-toolkit-gtk3/blob/master/src/sugar3/profile.py#L126

Note the coded assumption that DSA keys would be present. I seem to recall DSA keys being deprecated some time ago for SSH, leaving only RSA keys, so this code may need changing if support for DSA keys has been removed from OpenSSL or some other Sugar dependency. If so, this would break upgrades from one Sugar version to another unless we were careful.

Please try exercising the profile module from Terminal, e.g.

% python
>>> from sugar3.profile import *
>>> get_pubkey()

Result should be a key.

from sugar.

quozl avatar quozl commented on September 28, 2024

@aperezbios, alternatively, check the ssh-keygen command used by Sugar;

https://github.com/sugarlabs/sugar/blob/master/src/jarabe/intro/window.py#L83

Can Fedora 29 generate DSA keys? I'd hope so.

from sugar.

aperezbios avatar aperezbios commented on September 28, 2024

The result of my testing with Fedora SoaS versions 28, 29, and rawhide, which will become F30, is that the the import from sugar3.profile and invocation of get_pubkey() returns the expected key, so that path does not appear to be the source of the problem.

from sugar.

aperezbios avatar aperezbios commented on September 28, 2024

I also tested by manually invoking 'ssh-key -t dsa' on Fedora SoaS 28, 29, and rawhide, and the resulting DSA key is succesfully created.

from sugar.

quozl avatar quozl commented on September 28, 2024

Thanks! Sounds like it will need interactive debugging.

from sugar.

quozl avatar quozl commented on September 28, 2024
>>> from sugar3.profile import get_profile
>>> p = get_profile()
>>> p.privkey_hash
ERROR:root:Error parsing public key
>>> p._hash_private_key()
ERROR:root:Error parsing public key
>>> ^D
% head -1 .sugar/default/owner.key
-----BEGIN OPENSSH PRIVATE KEY-----

OpenSSH has changed the format of the key file.

from sugar.

FGrose avatar FGrose commented on September 28, 2024

Fixed commit sugarlabs/sugar-toolkit-gtk3@39b7e60 with sugarlabs/sugar-toolkit-gtk3@f228909.

from sugar.

satellitee avatar satellitee commented on September 28, 2024

Fedora-SoaS-Live-x86_64-Rawhide-20190102.n.0.iso
https://wiki.sugarlabs.org/go/File:20190102-fail.png
liveinst and liveinst -T (text) fail

Fedora-KDE-Live-x86_64-Rawhide-20190102.n.0.iso installs in Oracle VB correctly?

from sugar.

quozl avatar quozl commented on September 28, 2024

@satellitee, thanks for your comment, but it is off-topic. This GitHub issue is about missing buddies on Neighbourhood View. I'll hide your comment and mine shortly. But to answer your comment;

  • you can add screenshots to GitHub without putting them on Wiki,
  • the screenshot shows a different problem; liveinst -T spins the CPU and apparently does nothing useful, best to raise this with Fedora as liveinst is not a Sugar Labs component,
  • i've no idea if the KDE variant installs correctly, sorry. it's not really our business, is it?

from sugar.

kiy4h avatar kiy4h commented on September 28, 2024

I'm experiencing this, on Debian 10.2 Sugar Live Build.

from sugar.

quozl avatar quozl commented on September 28, 2024

Might you be seeing #840 instead?

from sugar.

kiy4h avatar kiy4h commented on September 28, 2024

Oh, yes. My bad.

from sugar.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.