Gajim - 2014-11-26


  1. azrael hi. running gajim 0.16 on archlinux here. I chat via avahi/link-local-xmpp with a pidgin 2.10.9 on ubuntu 14.04 I can send and receive messages fine, but my messages don't appear in my message window (nor history), even though they get sent fine
  2. NUF you mean carbons?
  3. azrael NUF: you mean me?
  4. NUF azrael yep, sorry ^^
  5. azrael NUF: then what are carbons?
  6. NUF azrael, sorry im not so concentrated, therefore im not able to understand your questions right: carbons are the possibility, that you sent messages to a friend from one computer and see this messages at another pc (still your account) live
  7. NUF you mean something like this?
  8. NUF or you are talking about the same mashine, just another system/configuration
  9. azrael NUF: it's link-local xmpp between 2 machines in the same local network
  10. azrael NUF: and gajim sends messages successfully but does not display them to me (the sender
  11. azrael )
  12. NUF so on one PC you write a message and it dissapear?
  13. NUF ( aka not in log)
  14. azrael NUF: yes
  15. azrael NUF: gajim on pc $l sends a message to pidgin on pc $a
  16. azrael $a responds
  17. azrael i expect to see on $l : 1st message, 2nd message
  18. azrael what i see instead: only 2nd message
  19. azrael on $a i see both
  20. NUF azrael, ok, thats weird and goes over my knowlegde :) hope somebody else is soon here. have a date now :/
  21. azrael NUF: kthx. hf!
  22. NUF yes, you should see everything in both applications
  23. NUF suc problems i never saw
  24. NUF ok, cya later
  25. azrael \o
  26. Asterix azrael: https://hg.gajim.org/gajim?cmd=changeset;node=444afa661d55
  27. azrael Asterix: you think that's the fix or what broke it?
  28. Asterix That may be, yes. You can try to use daily tarball if you want to test
  29. azrael Asterix: there is a package in my distro to build+install the current hg head, i'm installing it atm
  30. Asterix hmm
  31. Asterix don't use trunk
  32. Asterix trunk is the GTK3 version
  33. Asterix use gajim_0.16 branch
  34. Asterix or tarball
  35. azrael hg+http://hg.gajim.org/gajim#branch=gajim_0.16
  36. Asterix ok good
  37. azrael re. fails differently
  38. dezant Keep calm, and in Asterix we trust!
  39. Asterix I'm not sure you should ;)
  40. azrael now i see at least something when sending a message: "Connection to host could not be established" + sth like "message could not be sent
  41. Asterix ha nice, good progress, now you know you can't sent message. Perfect!
  42. Asterix something in console?
  43. azrael oh, yes
  44. azrael 26.11.2014 21:32:09 (E) gajim.c.z.client_zeroconf Could not connect to fe80::4216:7eff:feac:d3f3: 22 [Das Argument ist ungültig] 26.11.2014 21:32:09 (E) gajim.c.z.client_zeroconf Connection failure to fe80::4216:7eff:feac:d3f3 Traceback (most recent call last): File "/usr/share/gajim/src/common/zeroconf/client_zeroconf.py", line 456, in do_connect self._sock.connect(self._server) File "/usr/lib/python2.7/socket.py", line 224, in meth return getattr(self._sock,name)(*args) error: [Errno 22] Das Argument ist ungültig
  45. azrael inline-pastebin <3
  46. azrael "das argument ist ungültig" == "The argument is invalid"
  47. Asterix sounds like IPv6 doesn't work for zeroconf ...
  48. azrael yeah
  49. azrael "line 224, in meth" sounds awful, too
  50. Asterix Then I see only 3 solutions: - Cry - Patch - Wait for years that someone looks at this issue
  51. azrael there are a lot of errors like this one, too: AttributeError: 'ConnectionZeroconf' object has no attribute 'archiving_136_supported'
  52. Asterix if you print self._server just before the connect()?
  53. Asterix ha ... ok this is something I should fix indeed
  54. azrael Asterix: full traceback: 26.11.2014 21:30:26 (E) gajim.c.ged Error while running an even handler: <bound method Interface.handle_event_signed_in of <gui_interface.Interface instance at 0x7fbaeaa9f098>> Traceback (most recent call last): File "/usr/share/gajim/src/common/ged.py", line 93, in raise_event if handler(*args, **kwargs): File "/usr/share/gajim/src/gui_interface.py", line 1136, in handle_event_signed_in if obj.conn.archiving_136_supported: AttributeError: 'ConnectionZeroconf' object has no attribute 'archiving_136_supported' ... Traceback (most recent call last): File "/usr/share/gajim/src/chat_control.py", line 2975, in _on_message_tv_buffer_changed gajim.connections[self.account].archiving_136_supported: AttributeError: 'ConnectionZeroconf' object has no attribute 'archiving_136_supported'
  55. azrael Asterix: if i insert the print(), do I have to restart gajim? or can i trigger reload of the .py file somehow?
  56. Asterix ok the archiving issue is fixed now
  57. azrael \o/
  58. Asterix you need to restart
  59. azrael ok :-| then brb
  60. bot RSS: Feeds for Gajim • Changeset [15615:c040f230584f]: Zeroconf doesn't support archiving Zeroconf doesn't support archiving https://trac.gajim.org/changeset/c040f230584f36825297ea2deeb3421e1dc6723f
  61. azrael meh. first i added logger.error('connecting to ' + self._server) which threw an exception, then i changed to ... str(self._server) but now it has the ipv4 connection… but at least that works fine
  62. azrael backtrace of the exception: 26.11.2014 21:45:12 (E) gajim.c.ged Error while running an even handler: <bound method ConnectionZeroconf._nec_message_outgoing of <common.zeroconf.connection_zeroconf.ConnectionZeroconf object at 0x7f9413e56350>> Traceback (most recent call last): File "/usr/share/gajim/src/common/ged.py", line 93, in raise_event if handler(*args, **kwargs): File "/usr/share/gajim/src/common/zeroconf/connection_zeroconf.py", line 376, in _nec_message_outgoing delayed=obj.delayed, attention=obj.attention, callback=cb) File "/usr/share/gajim/src/common/connection.py", line 354, in _prepare_message attention, correction_msg, callback) File "/usr/share/gajim/src/common/connection.py", line 514, in _on_continue_message subject, type_, msg_iq, xhtml) File "/usr/share/gajim/src/common/zeroconf/connection_zeroconf.py", line 362, in cb on_not_ok=on_send_not_ok) File "/usr/share/gajim/src/common/zeroconf/client_zeroconf.py", line 773, in send [(stanza, is_message)], to, on_ok=on_ok, on_not_ok=on_not_ok) File "/usr/share/gajim/src/common/zeroconf/client_zeroconf.py", line 154, in __init__ self.on_connect, self) File "/usr/share/gajim/src/common/zeroconf/client_zeroconf.py", line 363, in __init__ self.connect_to_next_ip() File "/usr/share/gajim/src/common/zeroconf/client_zeroconf.py", line 385, in connect_to_next_ip self.do_connect() File "/usr/share/gajim/src/common/zeroconf/client_zeroconf.py", line 460, in do_connect (errnum, errstr) = ee ValueError: need more than 1 value to unpack
  63. azrael well, now i only get the ipv4 avahi presence. cannot reproduce :-/
  64. Asterix ha this one would be interesting to fix, but without a way to repro, will be hard :/
  65. azrael Asterix: i'll try. have to remember to start gajim from cmdline for the next time
  66. Asterix add a print ee before this line too please
  67. azrael Asterix: okay. is there a difference between print and a call to the logger?
  68. Asterix no
  69. azrael ok