botRSS: Feeds for Gajim
• Changeset [15379:df7f0c0fee10]: GLib.get_current_time is deprecated
GLib.get_current_time is deprecated
https://trac.gajim.org/changeset/df7f0c0fee10c37676d1b8df0d6ed78b98573669
• Changeset [15380:a84d677931e3]: Close button in about dialog now work
Close button in about dialog now work
https://trac.gajim.org/changeset/a84d677931e3ad69f8dff0b1905db5cc77423216
patrikI am using gnome 3.8 on debian sid and the GNOME SessionManager plugin, but I am not able to set the status in the gnome menu. Has anyone an idea what the problem is?
Asterixwhen you change status, gnome is supposed to emit dbus messages. The first thing would be to check that with dbus-monitor
patrikAsterix, when I change status in either gajim or gnome, the dbus-monitor print messages. Is this what you mean? Or do you want the messages from the the dbus-monitor?
Asterixyes, when you change status in gnome, what's the message
Asterixthere should be a org.gnome.SessionManager msg
patrikAsterix, one of the method calls is this:
method call sender=:1.13 -> dest=:1.3 serial=3944 path=/org/gnome/SessionManager; interface=org.gnome.SessionManager; member=CanShutdown
method return sender=:1.3 -> dest=:1.13 reply_serial=3944
boolean false
Asterixisn't there a org.gnome.SessionManager.Presence one?
AsterixCanShutdown doesn't sound a presence changement
0xAFFEAsterix, where can I find some documentation for the plugin system? to be exact I want to know what properties the obj of the notif event has?
Asterixhttps://trac.gajim.org/wiki/PluginsEvents
bullgard4What does »s2s« mean in the compound word "s2s connection" with Jabber?
mathieuiserver to server
0xAFFEAsterix, whats popup_image? the path to the image?
Asterix0xAFFE: yes
bullgard4mathieui, Ah! Thank you very much for your help.
0xAFFEcool! I'm working on native windows 8 notifications: http://i.imgur.com/8u0S4fD.png
Asterixnice!
Asterixwe have snarl under windows for notifications
0xAFFEAsterix, I know, but Windows 8 has these nice notifications and I want to use them
Asterixare you able to add some print in python code to check what happens?
patrikAsterix, I know python a little bit and think I am able to do this. What should I do?
Asterixthe plugin you installed is in ~/.local/gajim/plugins/gnome_session_manager
Asterixthere is plugin.py there
Asterixand in it there is a gnome_presence_changed function.
Asterixthis function is supposed to be called when you change status in gnome. could you add a print at the begining of it to check?
patrikAsterix, do I have to restart gajim?
Asterixyes
patrikAsterix, I did. I modified gnome_presence_changed to:
def gnome_presence_changed(self, status, *args, **kw):
print '!!! TEST !!!'
if not gajim.interface.remote_ctrl:
...
restarted gajim and again had a look a dbus-monitor, but I could not find the test-string.
bullgard4Wenn ich gestern und heute When starting Gajim yesterday and today, I obtain this message:
"Error when Entering the chat room. Group chat »debianforum.de@chat.debianforum.de« does not exist." The day befor yesterday and all days before that this Gajim call workdes all right for month. 2 other participants using differnt Jabber clients reported equivalent errors in a forum. - How can I make produce Gajim more verbose error messages in order to narrow down the s2s error culprit?
Asterixpatrik: the the problem must be in the activate() function ... could you check there if we go in the except part?
bullgard4(Gajim 0.15.1)
Asterixbullgard4: the error message sounds quite clear: the chat room does not exist. "debianforum.de" doesn't exist either
bullgard4Asterix, You are wrong. Other people in the forum reported that they are connected to the chat room at present.
bullgard4And can communicate there with others.
Asterixyes maybe, but from my server it does not work. Maybe because this jabber server refuse secure connections. And my server refuse unsecure connections.
bullgard4I need to enter a password in order to communicate in Jabber via Gajim. But I did not need an additional special password to communicate via Gajim to »debianforum.de@chat.debianforum.de«.
Asterixbullgard4: that's not an option. gajim.org (I don't know for your server) refuse to communicate with server that don't allow encryption. That's all. It's not a password thing, it's a TLS thing, and the server admin decide that.
Asterixunsecure communication is a very bad thing those days ... so refusing it sounds a good thing
bullgard4The message does not object a missing security.
Asterixwhich message?
bullgard4Asterix, "Error when Entering the chat room. Group chat »debianforum.de@chat.debianforum.de« does not exist."
patrikAsterix, I modified the activate function to print a test-string in the except part, but neither this sting nor the string from the gnome_presence_changed function is found in the dbus-moinitor output. Strange thing.
Asterixbullgard4: your server is not able to talk with debianforum.de, but no idea why? the unsecure communication is just a possibility.
Asterixpatrik: hmmm yes ...
Asterixpatrik: I don't use Gnome, so I can't test myself. Your plugin is activated in plugin manager right?
bullgard4Asterix, How can I obtain more detailed error messages in this case from Gajim?
Asterixbullgard4: you can't , just ask your server admin why you can't contact this server
bullgard4Asterix, Right. Thank you.
patrikAsterix, I doublechecked this and yes the plugin is activated.
Asterixbullgard4: what my server gives me is "failed outgoing connection to chat.debianforum.de"
bullgard4ok.
Asterixpatrik: then could you add some print at the begining of activate and at the end to see if the function is fully executed?
patrikAsterix, the test-string from the gnome_presence_changed function is printed in the gajim logs as well as the 'BEGIN ACTIVATE' and 'END ACTIVATE'. Furthermore I found:
GNOME SessionManager doesn't support 'offline' status
patrikAsterix, sorry, the test-string from the gnome_presence_changed function is printed each time I change the gnome status! Last time I only looked at the dbus-monitor output. Sorry. But it has no effect in gajim. The status there is not changed.
Asterixpatrik: haaa good that gnome_presence_changed is called. Then something in it doesn't work correctly. Could you add a print in the except part?
the offline error message is something else. That when you go offline from Gajim. SessionManager only supports online, invisible, dnd and idle
patrikAsterix, the string in the except part is never printed.
Asterixdoes that work if you call that from command line:
gajim-remote change_status away test ACCOUNT_NAME
Asterixwhere ACCOUNT_NAME if the name of the account in Gajim
patrikAsterix, as you can see, yes! :-)
Asterixpatrik: could you add a "print accounts" just before the for loop to check which accounts are supposed to be changed?
patrikAsterix, the out put is:
dbus.Array([dbus.String(u'jabber.fu-berlin.de'), signature=dbus.Signature('s'))
Asterixha ... that may be the problem ...
Asterixif you add a print account in the for loop? and a print message after we get it?
patrikAsterix, both messages are printed.
Asterixha so message is correctly printed ...
patrikAsterix, yes. Strange!
patrikAsterix, but what I found out is that the message inside the accounts for loop is empty.
Asterixthat's the current message of this account. That's not a problem if it's empty
patrikAh, ok.
AsterixI just tested the call to emote_gajim.change_status, and it works. Could you add a "print gajim_status, message, account" to check arguments?
patrikAsterix, as expected: "dnd jabber.fu-berlin.de". So the problem must be with the call of remote_gajim.change_status(gajim_status, message, account)?
patrikNow it works!
patrikAbsolutely strange.
AsterixLOL
Asterixpower of print
patrikLOL, how can this be?
Asterixabsolutly no idea ...
patrikAsterix, now I removed all print messages and it still works! Thank you very much for your magic aura. :-)
botRSS: Feeds for Gajim
• Changeset [15381:5021a4d523dd]: better way to handle close button in about dialog
better way to handle close button in about dialog
https://trac.gajim.org/changeset/5021a4d523dd2b00225b1b8c44f355d2acf423a0
botRSS: Feeds for Gajim
• Changeset [15382:8bd765b36c4b]: fix banner color
fix banner color
https://trac.gajim.org/changeset/8bd765b36c4b149916373115fba9310c8aa7b0e8
• Changeset [15383:c33bad2056b2]: GLib.threads_init is no more needed
GLib.threads_init is no more needed
https://trac.gajim.org/changeset/c33bad2056b2f47084af0764efbb0a4d7b91d2cb
patrikAsterix, I am still analyzing the problem that I can't connect with jabber.uni-mainz.de from gajim. I compare the logs from my two accounts. After
23.03.2014 18:21:07 (D) nbxmpp.tls_nb: Initiating handshake...
23.03.2014 18:21:07 (D) nbxmpp.tls_nb: Synchronous handshake completed
and registering some protocols there is a
23.03.2014 18:16:01 (I) nbxmpp.transports_nb: pollout called, state == CONNECTED
but then, the logs differ significantly. From the good account I get a
23.03.2014 18:16:02 (I) nbxmpp.transports_nb: pollin called, state == CONNECTED
But from the bad account I get hundreds of
23.03.2014 18:21:07 (I) nbxmpp.transports_nb: pollout called, state == CONNECTED
Do you have an idea what the problem could be? Thanks again!
mathieuipatrik, I didn’t follow your issues, but do you have the xml debug logs?
patrikmathieui, thank you, here are the logs: https://paste.gajim.org/view/d78ce9ac
mathieuithanks
mathieuipatrik, I meant, the xml log from inside gajim
mathieuiActions > Advanced > For account jabber.uni… > Show xml console
patrikmathieui, sorry. Here is what you want: https://paste.gajim.org/view/035d9e49
mathieuiYeah, it’s coherent with the debug log
patrikmathieui, is that what you want?
mathieuiyes
mathieuiit looks like nothing happens after the TLS handshake
patrikmathieui, yes, I think this is the problem. With other clients it works but unfortunately not with gajim. I think the server is an openfire server on windows, but I am not sure.
Link MauveIf you launch Gajim with the -v option, it will perhaps tell you more about that.
Link MauveI haven’t followed the discussion at all, is it the server or the client that does nothing after the handshake?
mathieuiLink Mauve, this is what the first trace is
Link MauveOk.
mathieuiand afaik it is gajim that doesn’t send anything
Link MauveSorry then, I’m going back to my code.
mathieuidid you finish your gsoc application in time?
Link MauveYes!
Link MauveI will probably work on Gajim a bit if I am accepted. :)
Link MauveAnd on Prosody, and on SleekXMPP.
Link MauveBut now is the time for PyTouhou.
patrikyes gajim sends this pollout thing again and again without stopping but it seems that there is no answer.
patrikI know at least on person who connect to this server with gajim on windows, and there it works.
patrikIs there something else that I could check? I really want to solve this problem and use gajim for all my accounts.
mathieuino, I think the best thing would be to wait for Asterix
patrikok thank you mathieui.
Asterixwithout the ability to test myself it's hard to debug. The pollout function is in python-nbxmpp in transports_nb,py
adding some print there to see if self.sendbuff or self.sendqueue is empty could help
AsterixLink Mauve: what's your GSOC app then?
Link MauveAsterix, bringing XMPP to Tatoeba.
Asterixwhat's the goal of xmpp? putting some sentences there? Get some from there?
patrikAsterix, the problem appears before the server asks for the password, so you should be able to test it with foobar@uni-mainz.de but I try to add the print. Perhaps it works again. It seems to be some kind of magic behind print. ;-) Thank you very much for your help.
Link MauveHaving the exact same possibilities as with the current website, and notifications/duplication features.
patrikAsterix, so the print output is:
sendbuff: <?xml version='1.0'?><stream:stream xmlns="jabber:client" to="jabber.uni-mainz.de" version="1.0" xmlns:stream="http://etherx.jabber.org/streams" xml:lang="de" >
sendqueue: []
patrik...hundred of times.
Asterixand the value of send_count after the _send() call?
patrikAsterix, I have a wireshark file this some trafficdetails but I don't understand that. Would it be helpfull for you?
Asterixsorry I don't have time this evening to look at that ...
patrikok
botRSS: Feeds for Gajim
• Changeset [15384:c394704d2ea3]: merge GTK3 branch in default
merge GTK3 branch in default
https://trac.gajim.org/changeset/c394704d2ea3edac0ffef7b901cdd3ca1fdbe716
• Changeset [15385:b6b6bd8047ed]: make buttons in dialog work
make buttons in dialog work
https://trac.gajim.org/changeset/b6b6bd8047edc48b175170c138db2ad4afee9e48