-
Notifications
You must be signed in to change notification settings - Fork 25
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
Method "GetSelfHandle" with signature "" on interface "org.freedesktop.Telepathy.Channel.Interface.Group" doesn't exist #48
Comments
The pidgin account not showing in the Sugar neighborhood view is expected because the neighborhood view shows buddies and activities - which only gets shown when an instance is shared - For the error you're seeing, If you can setup two separate instances of Sugar, you should be able to use Chat with both instances by sharing one instance and joining with the other - assuming they're on the same network -, is this what you tried? |
I agree, this seems likely to be an API regression, so the place to look is Telepathy's source code. You could also try older revisions of Telepathy modules until it works differently. https://help.sugarlabs.org/en/collaborating.html has a procedure for collaborating between two systems running Sugar. |
Thanks for the quick response! I have been looking at the code of Telepathy Glib and haven't found anything obvious. I'm not terribly familiar with gobject introspection, glib, and dbus, so I'm reading up on how to best inspect the available interfaces and the provided methods. From what I gather the I have in fact shared the Chat activity, which is necessary to let the user on Sugar send messages in the first place. I do see the Sugar account in Pidgin when the activity is shared. For future tests I'll set up a second system with Sugar (VM in qemu with bridge networking should be fine) and see if chat works this way. |
I've launched d-feet to inspect the available dbus methods. On the session bus I see the bus This all seems correct. The log generated by
The response to the introspection request just prior to calling
I'm not sure what to make of this, but it looks like the ImChannel for a received external message does not implement the |
Perhaps things go wrong in if self._activity_cb:
try:
self._text_chan[TelepathyGLib.IFACE_CHANNEL_INTERFACE_GROUP]
except Exception:
# One to one XMPP chat
co = TelepathyGLib.IFACE_CONNECTION_INTERFACE_ALIASING
nick = self._conn[co].RequestAliases([sender])[0]
buddy = {'nick': nick, 'color': '#000000,#808080'}
else:
# Normal sugar3 MUC chat
# XXX: cache these
buddy = self._get_buddy(sender) The backtrace shows that |
I managed to send a message from my laptop running Pidgin to Chat on the netbook running Sugar with this patch: It seems to me that the exception is never raised, because |
Hmm, looks like you have it in hand. Let us know when you have figured it out. A regression in any of the dependencies seems likely. |
Do you happen to know if this works as intended in an installation with blessed dependency versions? It is unclear to me what exception is assumed to be raised here, but from what I understand a key error is expected in the one-to-one case, which cannot ever be raised as the key is ensured to be assigned to. (I haven't yet tested if my patch breaks the common case of communication between Chat instances.) |
Well, last I checked, yes it did. But I don't have a clear idea of release versions. Have a look at Sugar Live Build or OLPC OS. |
Hello,
I've packaged the Sugar desktop and a number of activities for Guix System. I have deployed Guix System with the Sugar desktop to a little netbook and I'm trying to get the Chat activity to work.
The netbook running Sugar is connected to WLAN, as is another laptop running Sway. On the netbook I launch the Chat activity and share it with the neighborhood. On the other laptop I run Pidgin with avahi, and I see that a link-local XMPP account corresponding to the netbook account appears.
I can send a message to it, and this triggers a notification on Sugar desktop, but no message text is received. The Pidgin account also does not show up on the Sugar neighborhood view.
In the logs for the Chat activity I see this error message:
Do you have any pointers as to how I could debug this?
I actually do have a local Prosody installation, but it looks like I cannot make Chat use an existing XMPP account, so I'm trying to get the link-local connections to work. I'd appreciate any hints!
The text was updated successfully, but these errors were encountered: