Gajim - 2017-04-21


  1. lovetox and this recipe
  2. lovetox is it uploaded somewhere?
  3. lovetox can we then do "brew install gajim"
  4. Joseph I haven't written it yet, but I've just started. I don't expect to have it working tonight, but I will follow the instructions right now: http://docs.brew.sh/Formula-Cookbook.html
  5. Joseph lovetox It seems it doesn't like having python-nbxmpp inside the brew, I will need to create a seperate brew for that.
  6. lovetox so for all dependencys we need a separate brew
  7. Joseph lovetox what is the tar.gz for python-nbxmpp?
  8. Joseph Maybe, the trouble is I can't seem to change directory into the cloned repo. I might just need to hunt inside the docs for that.
  9. lovetox https://ftp.gajim.org/debian/dists/unstable/main/source/python3-nbxmpp-nightly_20170420-1.tar.gz
  10. Joseph k, testing brew install Python3NbxmppNightly20 right now, lol nightly?
  11. lovetox we have only .deb
  12. lovetox on the server right now
  13. lovetox the source for python3 nbxmpp seems not to be on the server as tar.gz
  14. lovetox but for testing purposes this should suffice
  15. Joseph it should work, now I have a permission error because it's going to the default install location, but it needs to go to a custom location. What is the argument?
  16. lovetox hm what do you mean
  17. lovetox which custom location?
  18. Joseph like ./configure --prefix=/usr/Cellar/path/to/whatever/homebrew/wants/
  19. lovetox sorry i dont know much about building on linux :/ all that makes Asterix
  20. Joseph it's trying to write a file somewhere around /usr/local/lib/python3.6/site-packages/nbxmpp/ instead of where homebrew wants the installed files.
  21. lovetox hm and homebrew
  22. lovetox has another location for python i guess?
  23. Joseph homebrew usually installs to /usr/Cellar/ somewhere
  24. Joseph I can find python, hang on
  25. lovetox hm nbxmpp is a python package
  26. lovetox normally you can install that with cd to the dir, then "python setup.py install"
  27. lovetox maybe you have to call the python instance that brew installed
  28. lovetox then this python instance should install the package to the correct location
  29. lovetox this goes saying that you installed python via brew
  30. Joseph python is at /usr/local/Cellar/python3/3.6.1/
  31. Joseph I did
  32. lovetox so how do you install nbxmpp via brew?
  33. lovetox like i said? with python setup.py install
  34. Joseph my brew formula I'm trying to write does python3 setup.py install
  35. Joseph I'll try python
  36. lovetox no
  37. lovetox python3 is correct
  38. lovetox the question is
  39. lovetox is this the python installed by brew
  40. lovetox or do you have a second python installation ?
  41. Joseph there is a /usr/bin/python, and a /usr/local/bin/python3
  42. Joseph but the python3 is a link to the cellar python3
  43. lovetox yeah so maybe this is correct
  44. lovetox maybe python install its packages not into cellar
  45. lovetox you can test with using pip
  46. lovetox pip install randompythonpackage
  47. lovetox and see where it goes
  48. lovetox or do you have a site-packages folder also in cellar?
  49. Joseph somewhere around here: /usr/local/lib/python2.7/site-packages
  50. Joseph should I try pip3?
  51. lovetox yeah pip3 sorry
  52. Joseph /usr/local/lib/python3.6/site-packages
  53. lovetox i think this is correct
  54. lovetox brew only install python on the system
  55. lovetox but then python installs its packages where it wants
  56. lovetox not where brew wants
  57. Joseph what about brew install pygobject3 --with-python3
  58. Joseph ?
  59. Joseph I looked at the formula, it installs to the homebrew prefix using ./configure
  60. Joseph I'm so confused
  61. lovetox pygobject3 is not just another python package i think
  62. lovetox there is compiled stuff in there for mac
  63. Joseph pygtk?
  64. Joseph no that would have binary too
  65. lovetox The following 13 dependencies will be installed if you install Pygobject3: AutomakeLibtoolAutoconfPkg-configGlibPythonLibffiGobject-introspectionPython3Py2cairoGtkx3GnomeCommonPy3cairo
  66. Joseph ok, and?
  67. lovetox i guess all that is installed into the brew folders or not?
  68. lovetox i think you cant compare it to a normal python package
  69. Joseph automake is in the cellar
  70. lovetox i dont think we need a brew package, can brew not just call pip instll python-nbxmpp
  71. lovetox python3-nbxmpp
  72. Joseph oh, i'll try that
  73. lovetox pip3
  74. lovetox :D
  75. Joseph another permission error, but I think I need sudo to touch this files so I'll try that
  76. Joseph nope, homebrew does not allow sudo
  77. Link Mauve Joseph, you should read another brew formula to get familiar with it.
  78. Link Mauve A brew formula for another Python module, I mean.
  79. Joseph I was just typing I have no experience in either python or homebrew, so I should probably do just that.
  80. lovetox but you are right, there is definitly a site-package folder with brew prefix
  81. Joseph here we are: https://github.com/Homebrew/homebrew-core/blob/e6e660baa2f33589cba05b24b1d658963799662b/Formula/scipy.rb
  82. lovetox http://jimkubicek.com/blog/2015/02/14/creating-a-homebrew-formula-for-a-python-project/
  83. Joseph setting the PYTHONPATH enviornment variable
  84. jere I can't manage the history in Gajim 0.16.7 porable 2017-04-16. I clicked on Actions - Advanced - History Manager but the window opens and closes very fast.
  85. jere ... on Windows.
  86. lovetox indeed jere, thanks im looking into it
  87. lovetox ah there is a shortcut missing defining the config directory
  88. lovetox i include it in the next version or nightly
  89. bot Philipp Hörist pushed 1 commit to branch _refs/heads/gajim_0.16_ of _gajim_ <https://dev.gajim.org/gajim/gajim>: *ab3a7ed2* <https://dev.gajim.org/gajim/gajim/commit/ab3a7ed25284a05fb45fe451cc7c215d0b87f324> Log more details on ImportError in cert check
  90. Link Mauve lovetox, I have another user who can’t join a room ever since someone sent them an invite, is this not fixed yet? :/
  91. Link Mauve It’s one of the biggest issues of Gajim imo.
  92. lovetox if you tell me how to reproduce this i look into it
  93. Link Mauve lovetox, be connected, have someone send you an invite for a room you are not in yet, try to accept the invitation.
  94. Link Mauve Gajim will fail at joining it, and leave the phantom room as a contact in your roster.
  95. lovetox nope just did that works for me
  96. lovetox maybe its a problem with mediated invites? i heard someone say this once, but i dont know what it is actually
  97. Link Mauve Can I try from poezio?
  98. Link Mauve What is your JID?
  99. lovetox lovetox@conversations.im
  100. Link Mauve Did you receive it?
  101. lovetox is a invite carbon copied?
  102. Link Mauve Probably yeah.
  103. Link Mauve But she wasn’t using more than one client.
  104. lovetox and she definitly never was in this room?
  105. Link Mauve Yes.
  106. lovetox are you sure she never uses another client?
  107. lovetox all reports that i have on issue tracker use definitly other clients
  108. lovetox Link Mauve, i think i know when this happens
  109. lovetox the MUC has to send the invitation
  110. lovetox i dont know how i can invite someone not in my roster in gajim
  111. lovetox seems not possible
  112. lovetox yeah when i invite someone from a roster, its always a direct invite
  113. lovetox not mediated through muc
  114. lovetox hm no even mediated invites seem to work
  115. Link Mauve lovetox, oh maybe it’s because she’s using “Gajim version 0.16.5 on Ubuntu 16.04.2 LTS” and not an up to date one?
  116. Link Mauve Did you fix it already?
  117. lovetox no i didnt, maybe accidently..
  118. lovetox who did the invite?
  119. lovetox you from poezio?
  120. Link Mauve Someone else from poezio.
  121. lovetox the problem here is that the muc is already in the roster, the only way how the muc can get into the roster is when we receive something from the muc which is not an invite
  122. lovetox was the room members only?
  123. lovetox does the room inform the invited jid, about adding it to the memberslist before he accepts the invite
  124. lovetox or something weird like that i think is going on
  125. Link Mauve Yes, it is members only.
  126. Link Mauve But she was in the member list.
  127. bot Philipp Hörist pushed 1 commit to branch _refs/heads/gajim_0.16_ of _gajim_ <https://dev.gajim.org/gajim/gajim>: *13d86057* <https://dev.gajim.org/gajim/gajim/commit/13d86057c7d2208a2cb8bf06fb738df93a90d018> Start HistoryManager with config path argument HistoryManager was not finding the Logs.db when Gajim was used with the -c config path argument
  128. bot Philipp Hörist pushed 1 commit to branch _refs/heads/master_ of _gajim_ <https://dev.gajim.org/gajim/gajim>: *0b0812bb* <https://dev.gajim.org/gajim/gajim/commit/0b0812bb757b37eb3f5a10c70185602b19564090> Start HistoryManager with config path argument HistoryManager was not finding the Logs.db when Gajim was used with the -c config path argument
  129. mimi89999 lovetox: I get an error when opening Gajim. I have Gajim from the main branch in git.
  130. lovetox yeah what error
  131. lovetox you need probably python3-nbxmpp-nightly
  132. mimi89999 lovetox: Where can I find it?
  133. lovetox deb ftp://ftp.gajim.org/debian unstable main
  134. lovetox also there is gajim nightly there
  135. lovetox so you dont have to use git
  136. lovetox but its called gajim-default-nightly
  137. lovetox for master branch
  138. mimi89999 So it will be the gtk3 right?
  139. lovetox gajim-default-nightly is gtk3 yeah
  140. mimi89999 lovetox: What is the difference between gajim-default-nightly and gajim-nightly?
  141. lovetox one is gtk3 and one is gtk2
  142. lovetox default == master
  143. lovetox because in old mercurial repos master branches were called default
  144. mimi89999 OK. Thx
  145. mimi89999 Got it and it works now. Thanks lovetox‎.