Gajim - 2018-12-20

  1. rom1dep Ok, so, over the night gajim had a weird hiccup and has apparently attempted to join a hundred MUCs or so, using various nicks, among which MUCs I had no idea existed 🤔
  2. lovetox Weird, i guess you dont have logs
  3. bot Philipp Hörist closed an issue in _gajim_ < >: #5337: < [Refactor] Proper layering needs to be established >
  4. lovetox daniel i close this, i dont think its worth to keep open such a generic issue that theoretically is never finished :)
  5. rom1dep > Weird, i guess you dont have logs lovetox: I won't have the stanzas, but I do have some logs by nature of runing it in a shell
  6. rom1dep just busy at work for the moment
  7. lovetox k, interesting would be why it disconnected and later the connection phase
  8. concerto o/
  9. concerto Folks, what happened to the Debian nightly builds? o.o
  10. concerto They won't even start -
  11. concerto Anyone?
  12. lovetox wrong nbxmpp version
  13. lovetox you need 0.6.8
  14. lovetox hm no wait
  15. lovetox how old is that nightly build
  16. lovetox seems the build is broken is more than one month old
  17. concerto lovetox: I just updated this morning before trying
  18. mdosch How can I register a Nickname in a MUC? I was told Gajim can do this, but I didn't find it.
  19. lovetox accounts -> service discovery
  20. lovetox put in the domain
  21. lovetox select muc, register
  22. lovetox works only with ejabberd when i remember correctly
  23. mdosch Thx
  24. mdosch > works only with ejabberd when i remember correctly Hmm, let's see
  25. daniel lovetox, yeah I thought about closing it but you're the one who's doing the work, and you're still on it :) putting everything into modules is much tidier than before, I really like that!
  26. mrDoctorWho lovetox, the stream management issue is gone after nbxmppy force update
  27. bot Daniel Brötzmann modified an issue in _gajim_ < >: #7589: < Don't limit dialog height of Account Creation Wizard (Captcha hidden) >
  28. sisterandmother anyone know how to scale dpi
  29. sisterandmother its tiny on my screen
  30. sisterandmother hidpi display
  31. lovetox what gajim version are you using?
  32. sisterandmother latest one i think
  33. sisterandmother 1.1.0
  34. lovetox and which OS?
  35. sisterandmother debian
  36. lovetox every icon is tiny?
  37. lovetox or only some
  38. sisterandmother the text is tiny
  39. sisterandmother as are the icons
  40. sisterandmother its not scaled properly
  41. lovetox hm Gajim should be fine with 1.1.0 and hidpi
  42. lovetox i guess you have to google some display settings to adjust the scale
  43. sisterandmother im trying to adjust it through gtk
  44. sisterandmother but nothing's happening
  45. sisterandmother export GDK_DPI_SCALE=2
  46. sisterandmother is what im trying to run
  47. lovetox and did you restart Gajim?
  48. sisterandmother yes
  49. lovetox are you using wayland?
  50. sisterandmother no
  51. lovetox maybe GDK_SCALE
  52. sisterandmother tried that as well
  53. lovetox there is also
  54. lovetox gsettings set org.gnome.desktop.interface scaling-factor 2
  55. lovetox but otherwise no idea, i guess you should ask in some gnome or whatever DE you use support channel
  56. sisterandmother ok thanks for the help
  57. Link Mauve There are only hacky ways to get something somewhat close to what users want on Xorg, the recommendation you should give is to switch to Wayland.
  58. mimi89999 Hello
  59. mimi89999 I'm using the `messagewindow` branch. I experience Gajim exiting and printing `Aborted` in the console.
  60. lovetox hm any more info?
  61. mimi89999 Looks like
  62. lovetox so it happen when you filter the roster?
  63. mimi89999 No. It usually happens on launch...
  64. mimi89999 Hmmm
  65. mimi89999 I will get a trace.
  66. bot Silvio Ankermann created an issue in _gajim_ < >: #9501: < Mark LMC in history browser >
  67. bot Silvio Ankermann modified an issue in _gajim_ < >: #9501: < Mark LMC in history browser >
  68. bot Daniel Brötzmann modified an issue in _gajim_ < >: #9501: < Mark LMC in history browser >
  69. mimi89999 Link Mauve: What packages do I need in order to get Gajim working in python3-dbg?
  70. mimi89999 This is what happens when I run Gajim in python3-dbg
  71. mimi89999 ``` 0x000000000046a222 in _PyObject_Dump (op=<unknown at remote 0x7ffff4e4d587>) at ../Objects/object.c:471 471 ../Objects/object.c: ```
  72. mimi89999 This is before any Gajim window even appears.
  73. Link Mauve mimi89999, I don’t know what python3-dbg is.
  74. Link Mauve Why are you asking me?
  75. mimi89999 I saw you once capturing a trace in Python, so I think that you know where to find those symbols...
  76. lovetox mimi, you get no trace at all except "Aborted"
  77. lovetox hard to believe
  78. mimi89999_2 20/12/2018 18:21:19 (E) gajim.c.m.vcard.avatars no gc contact found: darran (gajim:17511): Gtk-CRITICAL **: 18:21:21.773: gtk_window_resize: assertion 'width > 0' failed /home/michel/git/gajim/gajim/gtk/ PyGTKDeprecationWarning: Using positional arguments with the GObject constructor has been deprecated. Please specify keyword(s) for "label" or use a class specific constructor. See: label = Gtk.Label(self.text) Abandon
  79. mimi89999_2 No, I don't
  80. mimi89999_2 label = Gtk.Label(self.text) Thread 1 "gajim" received signal SIGABRT, Aborted. __GI_raise (sig=sig@entry=6) at ../sysdeps/unix/sysv/linux/raise.c:50 50 ../sysdeps/unix/sysv/linux/raise.c: Aucun fichier ou dossier de ce type.
  81. lovetox indeed not much i can do with that
  82. mimi89999_2 lovetox: I know.
  83. mimi89999_2 But could somebody tell me what do I need to get debugging symbols in Python3?
  84. lovetox normally install the python version that is build with debug symbols
  85. lovetox then run gajim within gdb
  86. mimi89999_2 `python3-dbg`
  87. mimi89999_2 I have it
  88. mimi89999_2 But now?
  89. lovetox you need gdb
  90. lovetox then type gdb into the conole, and then run gajim
  91. lovetox then type gdb into the conole, and then "run gajim"
  92. lovetox or run
  93. lovetox or however you start gajim
  94. mimi89999_2 `gdb python3`
  95. lovetox yeah
  96. mimi89999_2 `run -Wd ./`
  97. mimi89999_2 That's what I did
  98. mimi89999_2 Hmmm.
  99. lovetox and then when the error comes it haltes
  100. lovetox and then you can issue commands normally
  101. lovetox one for getting a full stack trace
  102. lovetox but this only works if the problem is within python
  103. lovetox it can be in any other lib
  104. lovetox like GTK
  105. mimi89999_2 [Inferior 1 (process 18362) exited with code 01] (gdb) bt No stack.
  106. mimi89999_2 Eugh
  107. mimi89999_2 OK. Got smth.
  108. mimi89999_2
  109. lovetox uh wayland
  110. lovetox you could try and do instead of
  111. lovetox label = Gtk.Label(self.text)
  112. lovetox label = Gtk.Label(label=self.text)
  113. lovetox and see if it goes away
  114. Link Mauve mimi89999_2, install debug symbols for your
  115. mimi89999_2 I can't find the package.
  116. mimi89999_2
  117. mimi89999_2
  118. mimi89999_2 Neither my version nor my arch.
  119. Link Mauve Sounds like a call for a Debian bug report. :)
  120. mimi89999_2 (gajim:19013): Gtk-CRITICAL **: 18:45:18.350: gtk_window_resize: assertion 'width > 0' failed Abandon
  121. mimi89999_2 lovetox: At least the previous warning disappeared.
  122. lovetox yeah then that was not it
  123. mimi89999_2 Are they present in Fedora?
  124. lovetox no idea
  125. lovetox Link Mauve, what about this line #2 0x00007ffff4ceb21f in ()
  126. lovetox it does not even know in what lib that happens?
  127. lovetox if we ignore this the last thing is
  128. lovetox mimi89999, and it crashes on every start?
  129. mimi89999_2 No
  130. lovetox and this just began to happen now without you doing anything special
  131. mimi89999_2 Randomly
  132. mimi89999_2 I didn't change anything
  133. mimi89999_2 Maybe a server update
  134. mimi89999_2 Maybe a new contact
  135. mimi89999_2 Maybe a new message
  136. mimi89999_2 I have no clue.
  137. lovetox you seem to be able to trigger it pretty often
  138. mimi89999_2 I just run and quit Gajim until I get it
  139. mimi89999_2 But yes, it is quite often.
  140. mimi89999 Now I launched it without any issues.
  141. lovetox maybe you could evaluate if it also happens on master
  142. lovetox if you dont use that branch
  143. lovetox ah maybe not
  144. lovetox means you have to upgrade and afterwards downgrade nbxmpp again
  145. mimi89999 Yes
  146. lovetox or maybe just switch to the master branch
  147. lovetox in your current git
  148. lovetox without updating
  149. mimi89999 I though of installing the packages, but it still has conflicts.
  150. mimi89999 michel@debian:~$ apt depends gajim-default-nightly
  151. mimi89999 Dépend: python3-nbxmpp
  152. mimi89999 Dépend: python3-nbxmpp-nightly (>= 20160905)
  153. mimi89999 But they are conflicting.
  154. mimi89999 asterix:
  155. lovetox the gajim nightly was just fixed, it is tomorrow available
  156. Link Mauve lovetox, the proxy marshaling is just a serialisation of local GTK+ objects for use on the Wayland socket, if this fails it means something went wrong in GTK+.
  157. lovetox mimi89999, do you have a way to test gajim on a non wayland system
  158. lovetox then we would at least know thats the problem
  159. Link Mauve lovetox, sure, export GDK_BACKEND=x11.
  160. lovetox yeah please try that mimi89999
  161. mimi89999 I can't reproduce it now.
  162. lovetox yeah wayland bug as i thought, you can ask in some wayland support channel how to get more info out of the trace
  163. lovetox but eitherway nothing Gajim can do about it
  164. Link Mauve lovetox, Wayland is just a protocol, this is a GTK+ issue.
  165. Link Mauve You won’t go into an XMPP support channel for a bug in Gajim, for instance.
  166. lovetox whoever is responsible for
  167. Link Mauve lovetox, again, this is just a serialisation function.
  168. mimi89999 But what Python code is causing it?
  169. lovetox it should not crash
  170. Link Mauve Same as, hmm, you’re not going to the expat support channel if you passed it a wrong pointer.
  171. lovetox even on invalid input
  172. lovetox but yeah you can see this from 2 sides :)
  173. Link Mauve lovetox, in C that can’t really happen.
  174. mimi89999 If I write Gajim, they will redirect me here unless I give them some code that is causing the crash.
  175. lovetox mimi89999, no python code cause it, its gtk code that calling wayland
  176. Link Mauve There is nothing in the ABI preventing you from passing a pointer to an invalid object.
  177. mimi89999 I know, but something made it behave like that.
  178. lovetox yes you need the gtk debug symbols to see what gtk method is called that causes this
  179. mimi89999 That are not present in my distro.
  180. Link Mauve lovetox, also, it’s not crashing, it’s aborting purposefully.
  181. lovetox mimi89999, then search one, or use X11
  182. lovetox not sure what i can do about it
  183. Link Mauve See for instance.
  184. Link Mauve lovetox, report it to GTK+.
  185. lovetox does ubuntu use wayland as default?
  186. Link Mauve GNOME does, so I’d expect Ubuntu to use it as well.
  187. lovetox then i cant reproduce it, i use ubuntu 18.04 every day
  188. Link Mauve Maybe they were using an older GNOME.
  189. Link Mauve They flipped this option not that long ago.
  190. Link Mauve On the gdm connection screen, you can select GNOME or GNOME using Xorg.
  191. Link Mauve In older versions it was the other way around, GNOME (on Xorg) or GNOME using Wayland.
  192. Link Mauve Check which one you have selected.
  193. Link Mauve Also, if you are using Nvidia’s proprietary driver, you can’t use Wayland at all, as Nvidia still doesn’t implement the expected APIs every other driver provide.
  194. lovetox yeah i have that option
  195. lovetox i will let gajim run for a while
  196. bot Philipp Hörist pushed 1 commit to branch _refs/heads/master_ of _gajim_ < >: *42c1909d* < > Remove carbon processing nbxmpp does that now for us
  197. bot Philipp Hörist pushed 1 commit to branch _refs/heads/master_ of _python-nbxmpp_ < >: *6b2a9da4* < > Add more message stanza processing logic - Unwrap carbons before calling handlers - Introduce PropertyDict which can be passed through the handler chain - Add JID.getBare() as alias for getStripped() to make the purpose more evident
  198. bot Andrey Gursky created an issue in _gajim_ < >: #9502: < Gajim busy with receiving and sending discos until connection breaks >
  199. bot Daniel Brötzmann modified an issue in _gajim_ < >: #9502: < Gajim busy with receiving and sending discos until connection breaks >
  200. daniel lovetox, these commits didn't change notification behaviour about carbons as described here?
  201. lovetox no daniel
  202. lovetox and this issue is basically finished
  203. lovetox its just one suggestion from georg not implemented, with the delayed notification on received carbons
  204. lovetox i guess i close this and if someone wants that feature he can open a new issue, the issue that the opener describes is solved for me
  205. daniel I see!
  206. bot Philipp Hörist closed an issue in _gajim_ < >: #8524: < Don't notify when receiving own message from another device >
  207. daniel Noone asked since that issue was created, so probably ok
  208. bot Andrey Gursky closed an issue in _gajim_ < >: #9502: < Gajim busy with receiving and sending discos until connection breaks >