Gajim - 2016-12-24


  1. jere I can't use the local acount on Windows 7. (Gajim 0.16.6 recently installed). The checkmarck "Active" in "Accounts" is grey.
  2. jere Also I don't see the account "Local" in the buddy list. Does anyone know why?
  3. Link Mauve lovetox: oops, I’ll fix the “Clear formatting” button tomorrow.
  4. Link Mauve lovetox: as for emoticons they obviously can’t be done that way, so you still build the menu dynamically, using a declarative GtkMenuModel instead of a dynamically generated GtkMenu.
  5. Link Mauve lovetox: https://dev.gajim.org/gajim/gajim/merge_requests/10
  6. lovetox thanks link mauve i try to look over it today and merge
  7. lovetox jere, do you have bonjour installed?
  8. lovetox jere, also zeroconf (local discovery is prettey bugged right now), a fix will be in the next release
  9. lovetox Link Mauve, if you have time could you chose a avatar on gitlab :D
  10. lovetox i want it to look more colorful :D
  11. Link Mauve lovetox, ok!
  12. Link Mauve lovetox, thanks for merging the easy ones. :)
  13. lovetox yeah i want to test the chatstates one
  14. Link Mauve You can use poezio or Jappix for example, to test the receiving end.
  15. Link Mauve Or just look at the XML console.
  16. lovetox yeah good idea with the xml console ^^
  17. jere > jere, do you have bonjour installed? Thanks lovetox, now Bonjour is installed. But I can't see the other computer available. I tried to send messages from Arch Linux to Windows without success, on windows I see these errors:
  18. jere Traceback (most recent call last): File "src\common\zeroconf\connection_zeroconf.py", line 142, in _on_resolve_timeout File "src\common\zeroconf\roster_zeroconf.py", line 48, in getDiffs File "src\common\zeroconf\roster_zeroconf.py", line 32, in update_roster File "src\common\zeroconf\roster_zeroconf.py", line 68, in setItem IndexError: tuple index out of range
  19. lovetox yeah with this bug it wont work right now on windows
  20. lovetox i fixed this already in a merge request
  21. lovetox but you have to wait for gajim 0.16.7
  22. jere Traceback (most recent call last): File "_ctypes/callbacks.c", line 314, in 'calling callback function' File "c:\python27\lib\site-packages\pybonjour.py", line 1452, in _callback File "src\common\zeroconf\zeroconf_bonjour.py", line 174, in service_resolved_all_callback NameError: global name 'txt' is not defined Traceback (most recent call last): File "_ctypes/callbacks.c", line 314, in 'calling callback function' File "c:\python27\lib\site-packages\pybonjour.py", line 1452, in _callback File "src\common\zeroconf\zeroconf_bonjour.py", line 139, in service_resolved_callback File "src\common\zeroconf\connection_zeroconf.py", line 156, in _on_new_service File "src\common\zeroconf\roster_zeroconf.py", line 68, in setItem IndexError: tuple index out of range
  23. lovetox or if it is really important to you
  24. lovetox you could download the branch with this merge request
  25. lovetox https://dev.gajim.org/gajim/gajim/merge_requests/6/diffs
  26. lovetox and put the changed .py files into your library.zip in the gajim install folder
  27. lovetox otherwise you would need to wait until 0.16.7 is released which will be a few weeks
  28. jere lovetox: oh, thanks. Do you have an estimated month for the release?
  29. lovetox january
  30. lovetox probably mid to late
  31. jere 👍
  32. lovetox or i could send you the files if you want
  33. lovetox so i would have someone who could test the patch :D
  34. lovetox https://upload.jabber.at/http_upload/mpvBgFzeTGKM1QiBr1yFV7XY7torHmSP/zeroconf.zip
  35. lovetox search in your gajim install dir
  36. lovetox Gajim\bin\library.zip\common\zeroconf
  37. lovetox before you put in the new files
  38. lovetox client_zeroconf.pyc, connection_zeroconf.pyc, zeroconf_bonjour.pyc, zeroconf_avahi.pyc
  39. lovetox jere
  40. jere ok, I am testing.
  41. lovetox i meant delete the files out of the folder before you put in the new ones
  42. jere lovetox: I have Bonjour 3.1.0.1 installed with iTunes. I searches and I don't have any of the 4 files you send me. I don't have the directory bin/library either.
  43. lovetox it has nothing to do with bonjour
  44. lovetox its in the Gajim Install dir
  45. lovetox we are talking about windows here?
  46. lovetox its Gajim/bin
  47. lovetox then there is a library.zip in there
  48. jere yes, of course
  49. jere ah, a zip file, I see it
  50. lovetox save the zeroconf folder
  51. lovetox make a backup of it
  52. lovetox in case anything goes wrong so you dont have to reinstall
  53. lovetox :)
  54. jere lovetox: ready, sending from windows to Linux:
  55. jere Traceback (most recent call last): File "src\gui_interface.py", line 2498, in process_connections File "c:\python27\lib\site-packages\nbxmpp\idlequeue.py", line 508, in process File "D:\Program Files (x86)\Gajim\bin\library.zip\common\zeroconf\client_zeroconf.py", line 502, in pollout self._do_send() File "D:\Program Files (x86)\Gajim\bin\library.zip\common\zeroconf\client_zeroconf.py", line 591, in _do_send self._on_send() File "D:\Program Files (x86)\Gajim\bin\library.zip\common\zeroconf\client_zeroconf.py", line 622, in _on_send self._owner.on_message_sent(self.fd) File "D:\Program Files (x86)\Gajim\bin\library.zip\common\zeroconf\client_zeroconf.py", line 220, in on_message_sent self.on_ok(id_) File "D:\Program Files (x86)\Gajim\bin\library.zip\common\zeroconf\connection_zeroconf.py", line 352, in on_send_ok msg_id=msg_id)) File "src\common\nec.py", line 74, in push_incoming_event File "src\common\connection_handlers_events.py", line 1615, in generate AttributeError: 'ConnectionZeroconf' object has no attribute 'sent_message_ids'
  56. lovetox hm
  57. lovetox but now you see the roster?
  58. lovetox and no errors from before
  59. lovetox can you receive messages?
  60. jere Now I see the roster, and I don't see the previous windows error while sending from Linux to windows
  61. lovetox ok i know the soruce of your error
  62. lovetox one moment i fix this and send you a new file
  63. jere But on both computers I don't see the messeges, neither the messeges I send
  64. jere lovetox: Do I need to replelace some files on Linux also?
  65. lovetox no
  66. lovetox linux should be fine
  67. lovetox jere it seems a bit more complicated, i let you know in the next days if i managed to fix it
  68. lovetox https://upload.jabber.at/http_upload/AcEwIuYl95ZwN1UypKgVJK7s1OQOPpRS/connection_handlers.py
  69. lovetox jere
  70. lovetox you have to exchange this file also
  71. lovetox its in library.zip/common
  72. lovetox delete the connection_handlers.pyc before hand again
  73. lovetox and you this file you have to also exchange on linux
  74. lovetox or you use gajim-nightly
  75. lovetox on linux
  76. jere ok, I will test it in 20 minutes
  77. lovetox https://gajim.org/downloads/snap/gajim-2016-12-24.tar.gz
  78. lovetox thats gajim nightly on linux
  79. lovetox :)
  80. lovetox or you just exchange this file is probably easier :)
  81. jere lovetox:👍 replacing the files I can read the received messages on both computers.
  82. jere but only on Linux I can't read my own sent messages. On Window is perfect
  83. lovetox did you replace the last file i sent you also on linux=
  84. lovetox ?
  85. lovetox jere
  86. jere On linux I deleted connection_handler's.py .pyc .pyo
  87. jere and replaced, yes
  88. lovetox do you get an error on linux when sending a msg
  89. lovetox ok have to go
  90. lovetox post me the error
  91. lovetox i look at it lagert
  92. lovetox later
  93. jere /usr/lib/python2.7/site-packages/gajim/common/demandimport.py:95: ImportWarning: Not importing directory '/home/jere/.local/share/gajim/plugins/chatstate': missing __init__.py return _import(name, globals, locals, fromlist, level) /home/jere/.local/share/gajim/plugins/gotr/ui.py:40: GtkWarning: Unknown property: GtkMenu.ubuntu-local self.B.add_from_file(self.GTK_BUILDER_FILE_PATH) Traceback (most recent call last): File "/usr/lib/python2.7/site-packages/nbxmpp/idlequeue.py", line 549, in _process_events return IdleQueue._process_events(self, fd, flags) File "/usr/lib/python2.7/site-packages/nbxmpp/idlequeue.py", line 413, in _process_events obj.pollout() File "/usr/lib/python2.7/site-packages/gajim/common/zeroconf/client_zeroconf.py", line 502, in pollout self._do_send() File "/usr/lib/python2.7/site-packages/gajim/common/zeroconf/client_zeroconf.py", line 591, in _do_send self._on_send() File "/usr/lib/python2.7/site-packages/gajim/common/zeroconf/client_zeroconf.py", line 622, in _on_send self._owner.on_message_sent(self.fd) File "/usr/lib/python2.7/site-packages/gajim/common/zeroconf/client_zeroconf.py", line 220, in on_message_sent self.on_ok(id_) File "/usr/lib/python2.7/site-packages/gajim/common/zeroconf/connection_zeroconf.py", line 349, in on_send_ok chatstate=None)) File "/usr/lib/python2.7/site-packages/gajim/common/nec.py", line 74, in push_incoming_event if event_object.generate(): File "/usr/lib/python2.7/site-packages/gajim/common/connection_handlers_events.py", line 1614, in generate if not self.automatic_message: AttributeError: 'MessageSentEvent' object has no attribute 'automatic_message'
  94. jere lovetox: The only problem now is on Linux, I can send and receive but in the chat window I only see the received messages.