unofficial mirror of bug-guix@gnu.org 
 help / color / mirror / code / Atom feed
* bug#35606: Gajim
@ 2019-05-06 19:21 Raghav Gururajan
  2019-05-06 19:40 ` Tobias Geerinckx-Rice
                   ` (3 more replies)
  0 siblings, 4 replies; 14+ messages in thread
From: Raghav Gururajan @ 2019-05-06 19:21 UTC (permalink / raw)
  To: 35606

[-- Attachment #1: Type: text/plain, Size: 1604 bytes --]

## Versions
- OS: Linux
- GTK+ Version: 3.24.7
- PyGObject Version: 3.28.3
- python-nbxmpp Version: 0.6.10
- Gajim Version: 1.1.3

## Traceback
```
Traceback (most recent call last):
 File "/gnu/store/lzzphfg2hf52h1cb2dbvz3qvz2ca26na-gajim-1.1.3/lib/python3.7/site-packages/gajim/application.py", line 221, in _activate
 self.interface.run(self)
 File "/gnu/store/lzzphfg2hf52h1cb2dbvz3qvz2ca26na-gajim-1.1.3/lib/python3.7/site-packages/gajim/gui_interface.py", line 2550, in run
 app.plugin_manager = plugins.PluginManager()
 File "/gnu/store/lzzphfg2hf52h1cb2dbvz3qvz2ca26na-gajim-1.1.3/lib/python3.7/site-packages/gajim/plugins/helpers.py", line 129, in __call__
 cls.instance = super(Singleton, cls).__call__(*args, **kwargs)
 File "/gnu/store/lzzphfg2hf52h1cb2dbvz3qvz2ca26na-gajim-1.1.3/lib/python3.7/site-packages/gajim/plugins/pluginmanager.py", line 115, in __init__
 pc = self.scan_dir_for_plugins(path)
 File "/gnu/store/lzzphfg2hf52h1cb2dbvz3qvz2ca26na-gajim-1.1.3/lib/python3.7/site-packages/gajim/plugins/helpers.py", line 114, in wrapper
 result = f(*args, **kwargs)
 File "/gnu/store/lzzphfg2hf52h1cb2dbvz3qvz2ca26na-gajim-1.1.3/lib/python3.7/site-packages/gajim/plugins/pluginmanager.py", line 598, in scan_dir_for_plugins
 if not os.path.isdir(path):
 File "/gnu/store/h8l1pby3cm6b4fxsfwwr65b4d1hyh6cs-python-3.7.0/lib/python3.7/genericpath.py", line 42, in isdir
 st = os.stat(s)
TypeError: stat: path should be string, bytes, os.PathLike or integer, not NoneType

```
## Steps to reproduce the problem

Install and open the app. This bug error shows up.

[-- Attachment #2: Type: text/html, Size: 1890 bytes --]

^ permalink raw reply	[flat|nested] 14+ messages in thread

* bug#35606: Gajim
  2019-05-06 19:21 bug#35606: Gajim Raghav Gururajan
@ 2019-05-06 19:40 ` Tobias Geerinckx-Rice
  2019-05-07 19:27   ` Ricardo Wurmus
  2019-05-07 19:47   ` Ricardo Wurmus
  2019-05-06 19:45 ` Raghav Gururajan
                   ` (2 subsequent siblings)
  3 siblings, 2 replies; 14+ messages in thread
From: Tobias Geerinckx-Rice @ 2019-05-06 19:40 UTC (permalink / raw)
  To: Raghav Gururajan, Clément Lassieur, Ricardo Wurmus; +Cc: 35606

[-- Attachment #1: Type: text/plain, Size: 3994 bytes --]

Raghav, Clément, Ricardo, Guix,

Raghav Gururajan wrote:
> ## Versions
> - OS: Linux

Never heard of that OS…  ;-)

> - GTK+ Version: 3.24.7
> - PyGObject Version: 3.28.3
> - python-nbxmpp Version: 0.6.10
> - Gajim Version: 1.1.3

Thanks for these, but providing the output of ‘guix describe’ 
instead (and making sure both your system and user's packages have 
been fully updated to that version) would be even more 
informative.

> ## Traceback

I can't reproduce this, by the way (output below).  Gajim opens a 
window and a welcome wizard (which I close).  Then I'm left with 
the main window where all the menus work… but all options are 
greyed out (except a few under ‘View’).  So the programme isn't 
frozen, but I can't close it, not even using my window manager's 
key bindings.  Hence the SIGINT at the end.

Very strange.  Is anyone successfully using Gajim on Guix System? 
Clément?  Ricardo?

Kind regards,

T G-R


~ λ gajim
(..gajim-real-real:23682): dbind-WARNING **: 21:27:06.317: AT-SPI: 
Error retrieving accessibility bus address: 
org.freedesktop.DBus.Error.ServiceUnknown: The name org.a11y.Bus 
was not provided by any .service files
creating /home/nckx/.config/gajim directory
creating /home/nckx/.cache/gajim directory
creating /home/nckx/.local/share/gajim directory
creating /home/nckx/.local/share/gajim/certs directory
creating /home/nckx/.local/share/gajim/debug directory
creating /home/nckx/.local/share/gajim/plugins_data directory
creating /home/nckx/.config/gajim/pluginsconfig directory
creating /home/nckx/.config/gajim/localcerts directory
creating /home/nckx/.cache/gajim/plugins_download directory
creating /home/nckx/.local/share/gajim/plugins directory
creating /home/nckx/.cache/gajim/avatars directory
creating /home/nckx/.config/gajim/theme directory
Traceback (most recent call last):
  File 
  "/gnu/store/lzzphfg2hf52h1cb2dbvz3qvz2ca26na-gajim-1.1.3/lib/python3.7/site-packages/gajim/application.py", 
  line 221, in _activate
    self.interface.run(self)
  File 
  "/gnu/store/lzzphfg2hf52h1cb2dbvz3qvz2ca26na-gajim-1.1.3/lib/python3.7/site-packages/gajim/gui_interface.py", 
  line 2550, in run
    app.plugin_manager = plugins.PluginManager()
  File 
  "/gnu/store/lzzphfg2hf52h1cb2dbvz3qvz2ca26na-gajim-1.1.3/lib/python3.7/site-packages/gajim/plugins/helpers.py", 
  line 129, in __call__
    cls.instance = super(Singleton, cls).__call__(*args, **kwargs)
  File 
  "/gnu/store/lzzphfg2hf52h1cb2dbvz3qvz2ca26na-gajim-1.1.3/lib/python3.7/site-packages/gajim/plugins/pluginmanager.py", 
  line 115, in __init__
    pc = self.scan_dir_for_plugins(path)
  File 
  "/gnu/store/lzzphfg2hf52h1cb2dbvz3qvz2ca26na-gajim-1.1.3/lib/python3.7/site-packages/gajim/plugins/helpers.py", 
  line 114, in wrapper
    result = f(*args, **kwargs)
  File 
  "/gnu/store/lzzphfg2hf52h1cb2dbvz3qvz2ca26na-gajim-1.1.3/lib/python3.7/site-packages/gajim/plugins/pluginmanager.py", 
  line 598, in scan_dir_for_plugins
    if not os.path.isdir(path):
  File 
  "/gnu/store/h8l1pby3cm6b4fxsfwwr65b4d1hyh6cs-python-3.7.0/lib/python3.7/genericpath.py", 
  line 42, in isdir
    st = os.stat(s)
TypeError: stat: path should be string, bytes, os.PathLike or 
integer, not NoneType
06/05/19 21:27:07 (E) gajim.notify Notifications D-Bus connection 
failed
Traceback (most recent call last):
  File 
  "/gnu/store/lzzphfg2hf52h1cb2dbvz3qvz2ca26na-gajim-1.1.3/lib/python3.7/site-packages/gajim/notify.py", 
  line 96, in on_proxy_ready
    self.daemon_capabilities = proxy.GetCapabilities()
  File 
  "/gnu/store/f34bv1iaghh7hsymqm57abi8p1lyavv6-python-pygobject-3.28.3/lib/python3.7/site-packages/gi/overrides/Gio.py", 
  line 204, in __call__
    None)
GLib.GError: g-dbus-error-quark: 
GDBus.Error:org.freedesktop.DBus.Error.ServiceUnknown: The name 
org.freedesktop.Notifications was not provided by any .service 
files (2)
^CSIGINT/SIGTERM received
~ λ 

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 227 bytes --]

^ permalink raw reply	[flat|nested] 14+ messages in thread

* bug#35606: Gajim
  2019-05-06 19:21 bug#35606: Gajim Raghav Gururajan
  2019-05-06 19:40 ` Tobias Geerinckx-Rice
@ 2019-05-06 19:45 ` Raghav Gururajan
  2019-05-06 19:49 ` Raghav Gururajan
  2019-05-11  9:48 ` Raghav Gururajan
  3 siblings, 0 replies; 14+ messages in thread
From: Raghav Gururajan @ 2019-05-06 19:45 UTC (permalink / raw)
  To: Tobias Geerinckx-Rice, Clément Lassieur, Ricardo Wurmus; +Cc: 35606

T-G-R!

Oh my goodness, I didn't notice that. LoL. Of course the OS is GNU/Linux. ;). The bug report was automatically generated when I opened the app. I didn't create it.

Yes, as you said, nothing works. All menu greyed out. Can't even close the app.

May 6, 2019 7:40 PM, "Tobias Geerinckx-Rice" <me@tobias.gr> wrote:

> Raghav, Clément, Ricardo, Guix,
> 
> Raghav Gururajan wrote:
> 
>> ## Versions
>> - OS: Linux
> 
> Never heard of that OS… ;-)
> 
>> - GTK+ Version: 3.24.7
>> - PyGObject Version: 3.28.3
>> - python-nbxmpp Version: 0.6.10
>> - Gajim Version: 1.1.3
> 
> Thanks for these, but providing the output of ‘guix describe’
> instead (and making sure both your system and user's packages have
> been fully updated to that version) would be even more
> informative.
> 
>> ## Traceback
> 
> I can't reproduce this, by the way (output below). Gajim opens a
> window and a welcome wizard (which I close). Then I'm left with
> the main window where all the menus work… but all options are
> greyed out (except a few under ‘View’). So the programme isn't
> frozen, but I can't close it, not even using my window manager's
> key bindings. Hence the SIGINT at the end.
> 
> Very strange. Is anyone successfully using Gajim on Guix System?
> Clément? Ricardo?
> 
> Kind regards,
> 
> T G-R
> 
> ~ λ gajim
> (..gajim-real-real:23682): dbind-WARNING **: 21:27:06.317: AT-SPI:
> Error retrieving accessibility bus address:
> org.freedesktop.DBus.Error.ServiceUnknown: The name org.a11y.Bus
> was not provided by any .service files
> creating /home/nckx/.config/gajim directory
> creating /home/nckx/.cache/gajim directory
> creating /home/nckx/.local/share/gajim directory
> creating /home/nckx/.local/share/gajim/certs directory
> creating /home/nckx/.local/share/gajim/debug directory
> creating /home/nckx/.local/share/gajim/plugins_data directory
> creating /home/nckx/.config/gajim/pluginsconfig directory
> creating /home/nckx/.config/gajim/localcerts directory
> creating /home/nckx/.cache/gajim/plugins_download directory
> creating /home/nckx/.local/share/gajim/plugins directory
> creating /home/nckx/.cache/gajim/avatars directory
> creating /home/nckx/.config/gajim/theme directory
> Traceback (most recent call last):
> File
> "/gnu/store/lzzphfg2hf52h1cb2dbvz3qvz2ca26na-gajim-1.1.3/lib/python3.7/site-packages/gajim/applicati
> n.py",
> line 221, in _activate
> self.interface.run(self)
> File
> "/gnu/store/lzzphfg2hf52h1cb2dbvz3qvz2ca26na-gajim-1.1.3/lib/python3.7/site-packages/gajim/gui_inter
> ace.py",
> line 2550, in run
> app.plugin_manager = plugins.PluginManager()
> File
> "/gnu/store/lzzphfg2hf52h1cb2dbvz3qvz2ca26na-gajim-1.1.3/lib/python3.7/site-packages/gajim/plugins/h
> lpers.py",
> line 129, in __call__
> cls.instance = super(Singleton, cls).__call__(*args, **kwargs)
> File
> "/gnu/store/lzzphfg2hf52h1cb2dbvz3qvz2ca26na-gajim-1.1.3/lib/python3.7/site-packages/gajim/plugins/p
> uginmanager.py",
> line 115, in __init__
> pc = self.scan_dir_for_plugins(path)
> File
> "/gnu/store/lzzphfg2hf52h1cb2dbvz3qvz2ca26na-gajim-1.1.3/lib/python3.7/site-packages/gajim/plugins/h
> lpers.py",
> line 114, in wrapper
> result = f(*args, **kwargs)
> File
> "/gnu/store/lzzphfg2hf52h1cb2dbvz3qvz2ca26na-gajim-1.1.3/lib/python3.7/site-packages/gajim/plugins/p
> uginmanager.py",
> line 598, in scan_dir_for_plugins
> if not os.path.isdir(path):
> File
> "/gnu/store/h8l1pby3cm6b4fxsfwwr65b4d1hyh6cs-python-3.7.0/lib/python3.7/genericpath.py",
> line 42, in isdir
> st = os.stat(s)
> TypeError: stat: path should be string, bytes, os.PathLike or
> integer, not NoneType
> 06/05/19 21:27:07 (E) gajim.notify Notifications D-Bus connection
> failed
> Traceback (most recent call last):
> File
> "/gnu/store/lzzphfg2hf52h1cb2dbvz3qvz2ca26na-gajim-1.1.3/lib/python3.7/site-packages/gajim/notify.py
> ,
> line 96, in on_proxy_ready
> self.daemon_capabilities = proxy.GetCapabilities()
> File
> "/gnu/store/f34bv1iaghh7hsymqm57abi8p1lyavv6-python-pygobject-3.28.3/lib/python3.7/site-packages/gi/
> verrides/Gio.py",
> line 204, in __call__
> None)
> GLib.GError: g-dbus-error-quark:
> GDBus.Error:org.freedesktop.DBus.Error.ServiceUnknown: The name
> org.freedesktop.Notifications was not provided by any .service
> files (2)
> ^CSIGINT/SIGTERM received
> ~ λ

^ permalink raw reply	[flat|nested] 14+ messages in thread

* bug#35606: Gajim
  2019-05-06 19:21 bug#35606: Gajim Raghav Gururajan
  2019-05-06 19:40 ` Tobias Geerinckx-Rice
  2019-05-06 19:45 ` Raghav Gururajan
@ 2019-05-06 19:49 ` Raghav Gururajan
  2019-05-11  9:48 ` Raghav Gururajan
  3 siblings, 0 replies; 14+ messages in thread
From: Raghav Gururajan @ 2019-05-06 19:49 UTC (permalink / raw)
  To: Tobias Geerinckx-Rice, Clément Lassieur, Ricardo Wurmus; +Cc: 35606

T-G-R!

One more interesting information. I had to close the Gajim by killing the process. What I noticed in "system monitor" is that the Gajim was running as root instead of that user. I retried, it is the same. Gajim runs as root. Weird.

May 6, 2019 7:45 PM, "Raghav Gururajan" <rvgn@disroot.org> wrote:

> T-G-R!
> 
> Oh my goodness, I didn't notice that. LoL. Of course the OS is GNU/Linux. ;). The bug report was
> automatically generated when I opened the app. I didn't create it.
> 
> Yes, as you said, nothing works. All menu greyed out. Can't even close the app.
> 
> May 6, 2019 7:40 PM, "Tobias Geerinckx-Rice" <me@tobias.gr> wrote:
> 
>> Raghav, Clément, Ricardo, Guix,
>> 
>> Raghav Gururajan wrote:
>> 
>>> ## Versions
>>> - OS: Linux
>> 
>> Never heard of that OS… ;-)
>> 
>>> - GTK+ Version: 3.24.7
>>> - PyGObject Version: 3.28.3
>>> - python-nbxmpp Version: 0.6.10
>>> - Gajim Version: 1.1.3
>> 
>> Thanks for these, but providing the output of ‘guix describe’
>> instead (and making sure both your system and user's packages have
>> been fully updated to that version) would be even more
>> informative.
>> 
>>> ## Traceback
>> 
>> I can't reproduce this, by the way (output below). Gajim opens a
>> window and a welcome wizard (which I close). Then I'm left with
>> the main window where all the menus work… but all options are
>> greyed out (except a few under ‘View’). So the programme isn't
>> frozen, but I can't close it, not even using my window manager's
>> key bindings. Hence the SIGINT at the end.
>> 
>> Very strange. Is anyone successfully using Gajim on Guix System?
>> Clément? Ricardo?
>> 
>> Kind regards,
>> 
>> T G-R
>> 
>> ~ λ gajim
>> (..gajim-real-real:23682): dbind-WARNING **: 21:27:06.317: AT-SPI:
>> Error retrieving accessibility bus address:
>> org.freedesktop.DBus.Error.ServiceUnknown: The name org.a11y.Bus
>> was not provided by any .service files
>> creating /home/nckx/.config/gajim directory
>> creating /home/nckx/.cache/gajim directory
>> creating /home/nckx/.local/share/gajim directory
>> creating /home/nckx/.local/share/gajim/certs directory
>> creating /home/nckx/.local/share/gajim/debug directory
>> creating /home/nckx/.local/share/gajim/plugins_data directory
>> creating /home/nckx/.config/gajim/pluginsconfig directory
>> creating /home/nckx/.config/gajim/localcerts directory
>> creating /home/nckx/.cache/gajim/plugins_download directory
>> creating /home/nckx/.local/share/gajim/plugins directory
>> creating /home/nckx/.cache/gajim/avatars directory
>> creating /home/nckx/.config/gajim/theme directory
>> Traceback (most recent call last):
>> File
>> "/gnu/store/lzzphfg2hf52h1cb2dbvz3qvz2ca26na-gajim-1.1.3/lib/python3.7/site-packages/gajim/applicati
>> n.py",
>> line 221, in _activate
>> self.interface.run(self)
>> File
>> "/gnu/store/lzzphfg2hf52h1cb2dbvz3qvz2ca26na-gajim-1.1.3/lib/python3.7/site-packages/gajim/gui_inter
>> ace.py",
>> line 2550, in run
>> app.plugin_manager = plugins.PluginManager()
>> File
>> "/gnu/store/lzzphfg2hf52h1cb2dbvz3qvz2ca26na-gajim-1.1.3/lib/python3.7/site-packages/gajim/plugins/h
>> lpers.py",
>> line 129, in __call__
>> cls.instance = super(Singleton, cls).__call__(*args, **kwargs)
>> File
>> "/gnu/store/lzzphfg2hf52h1cb2dbvz3qvz2ca26na-gajim-1.1.3/lib/python3.7/site-packages/gajim/plugins/p
>> uginmanager.py",
>> line 115, in __init__
>> pc = self.scan_dir_for_plugins(path)
>> File
>> "/gnu/store/lzzphfg2hf52h1cb2dbvz3qvz2ca26na-gajim-1.1.3/lib/python3.7/site-packages/gajim/plugins/h
>> lpers.py",
>> line 114, in wrapper
>> result = f(*args, **kwargs)
>> File
>> "/gnu/store/lzzphfg2hf52h1cb2dbvz3qvz2ca26na-gajim-1.1.3/lib/python3.7/site-packages/gajim/plugins/p
>> uginmanager.py",
>> line 598, in scan_dir_for_plugins
>> if not os.path.isdir(path):
>> File
>> "/gnu/store/h8l1pby3cm6b4fxsfwwr65b4d1hyh6cs-python-3.7.0/lib/python3.7/genericpath.py",
>> line 42, in isdir
>> st = os.stat(s)
>> TypeError: stat: path should be string, bytes, os.PathLike or
>> integer, not NoneType
>> 06/05/19 21:27:07 (E) gajim.notify Notifications D-Bus connection
>> failed
>> Traceback (most recent call last):
>> File
>> "/gnu/store/lzzphfg2hf52h1cb2dbvz3qvz2ca26na-gajim-1.1.3/lib/python3.7/site-packages/gajim/notify.py
>> ,
>> line 96, in on_proxy_ready
>> self.daemon_capabilities = proxy.GetCapabilities()
>> File
>> "/gnu/store/f34bv1iaghh7hsymqm57abi8p1lyavv6-python-pygobject-3.28.3/lib/python3.7/site-packages/gi/
>> verrides/Gio.py",
>> line 204, in __call__
>> None)
>> GLib.GError: g-dbus-error-quark:
>> GDBus.Error:org.freedesktop.DBus.Error.ServiceUnknown: The name
>> org.freedesktop.Notifications was not provided by any .service
>> files (2)
>> ^CSIGINT/SIGTERM received
>> ~ λ

^ permalink raw reply	[flat|nested] 14+ messages in thread

* bug#35606: Gajim
  2019-05-06 19:40 ` Tobias Geerinckx-Rice
@ 2019-05-07 19:27   ` Ricardo Wurmus
  2019-05-07 19:47   ` Ricardo Wurmus
  1 sibling, 0 replies; 14+ messages in thread
From: Ricardo Wurmus @ 2019-05-07 19:27 UTC (permalink / raw)
  To: Tobias Geerinckx-Rice; +Cc: 35606, Clément Lassieur, Raghav Gururajan


Tobias Geerinckx-Rice <me@tobias.gr> writes:

> Very strange.  Is anyone successfully using Gajim on Guix System?
> Clément?  Ricardo?

I used to use it, but some time ago I shut off my XMPP server because I
didn’t really need it.

I’ll try to bring it up again and then test if I can connect to it with
Gajim.  It does look a bit funny and not how I remember it.  The first
menu item is completely empty, which doesn’t seem right.

--
Ricardo

^ permalink raw reply	[flat|nested] 14+ messages in thread

* bug#35606: Gajim
  2019-05-06 19:40 ` Tobias Geerinckx-Rice
  2019-05-07 19:27   ` Ricardo Wurmus
@ 2019-05-07 19:47   ` Ricardo Wurmus
  2019-05-13  7:04     ` Ricardo Wurmus
  2019-05-13  7:08     ` Raghav Gururajan
  1 sibling, 2 replies; 14+ messages in thread
From: Ricardo Wurmus @ 2019-05-07 19:47 UTC (permalink / raw)
  To: Tobias Geerinckx-Rice; +Cc: 35606, Clément Lassieur, Raghav Gururajan


Tobias Geerinckx-Rice <me@tobias.gr> writes:

> Traceback (most recent call last):
>  File
> "/gnu/store/lzzphfg2hf52h1cb2dbvz3qvz2ca26na-gajim-1.1.3/lib/python3.7/site-packages/gajim/application.py",
> line 221, in _activate
>    self.interface.run(self)
>  File
> "/gnu/store/lzzphfg2hf52h1cb2dbvz3qvz2ca26na-gajim-1.1.3/lib/python3.7/site-packages/gajim/gui_interface.py",
> line 2550, in run
>    app.plugin_manager = plugins.PluginManager()
>  File
> "/gnu/store/lzzphfg2hf52h1cb2dbvz3qvz2ca26na-gajim-1.1.3/lib/python3.7/site-packages/gajim/plugins/helpers.py",
> line 129, in __call__
>    cls.instance = super(Singleton, cls).__call__(*args, **kwargs)
>  File
> "/gnu/store/lzzphfg2hf52h1cb2dbvz3qvz2ca26na-gajim-1.1.3/lib/python3.7/site-packages/gajim/plugins/pluginmanager.py",
> line 115, in __init__
>    pc = self.scan_dir_for_plugins(path)
>  File
> "/gnu/store/lzzphfg2hf52h1cb2dbvz3qvz2ca26na-gajim-1.1.3/lib/python3.7/site-packages/gajim/plugins/helpers.py",
> line 114, in wrapper
>    result = f(*args, **kwargs)
>  File
> "/gnu/store/lzzphfg2hf52h1cb2dbvz3qvz2ca26na-gajim-1.1.3/lib/python3.7/site-packages/gajim/plugins/pluginmanager.py",
> line 598, in scan_dir_for_plugins
>    if not os.path.isdir(path):
>  File
> "/gnu/store/h8l1pby3cm6b4fxsfwwr65b4d1hyh6cs-python-3.7.0/lib/python3.7/genericpath.py",
> line 42, in isdir
>    st = os.stat(s)
> TypeError: stat: path should be string, bytes, os.PathLike or integer,

This is a problem with the “add-plugin-dirs” phase.  After setting
GAJIM_PLUGIN_PATH to “/tmp” Gajim seems to work fine for me.

We need to make sure that even without setting GAJIM_PLUGIN_PATH “path”
is a string.

-- 
Ricardo

^ permalink raw reply	[flat|nested] 14+ messages in thread

* bug#35606: Gajim
  2019-05-06 19:21 bug#35606: Gajim Raghav Gururajan
                   ` (2 preceding siblings ...)
  2019-05-06 19:49 ` Raghav Gururajan
@ 2019-05-11  9:48 ` Raghav Gururajan
  2019-05-11 10:02   ` Ricardo Wurmus
  2019-05-11 10:11   ` Raghav Gururajan
  3 siblings, 2 replies; 14+ messages in thread
From: Raghav Gururajan @ 2019-05-11  9:48 UTC (permalink / raw)
  To: Tobias Geerinckx-Rice, Clément Lassieur, Ricardo Wurmus; +Cc: 35606

Hello Guix Folks!

Any update on this bug please?

Regards,
RG.

^ permalink raw reply	[flat|nested] 14+ messages in thread

* bug#35606: Gajim
  2019-05-11  9:48 ` Raghav Gururajan
@ 2019-05-11 10:02   ` Ricardo Wurmus
  2019-05-11 10:11   ` Raghav Gururajan
  1 sibling, 0 replies; 14+ messages in thread
From: Ricardo Wurmus @ 2019-05-11 10:02 UTC (permalink / raw)
  To: Raghav Gururajan; +Cc: 35606, Clément Lassieur


Raghav Gururajan <rvgn@disroot.org> writes:

> Any update on this bug please?

I’ve sent an update on Tuesday where I pointed out the likely culprit.
Have you attempted to confirm my findings?  What do you think about
changing the phase I pointed out to be incorrect?

--
Ricardo

^ permalink raw reply	[flat|nested] 14+ messages in thread

* bug#35606: Gajim
  2019-05-11  9:48 ` Raghav Gururajan
  2019-05-11 10:02   ` Ricardo Wurmus
@ 2019-05-11 10:11   ` Raghav Gururajan
  1 sibling, 0 replies; 14+ messages in thread
From: Raghav Gururajan @ 2019-05-11 10:11 UTC (permalink / raw)
  To: Ricardo Wurmus; +Cc: 35606, Clément Lassieur

> I’ve sent an update on Tuesday where I pointed out the likely culprit.
> Have you attempted to confirm my findings? What do you think about
> changing the phase I pointed out to be incorrect?

Oops! I missed to read that email. My bad. Regarding empty menu, it same for me too. Regarding the path linking, I am not able to understand it. :(

^ permalink raw reply	[flat|nested] 14+ messages in thread

* bug#35606: Gajim
  2019-05-07 19:47   ` Ricardo Wurmus
@ 2019-05-13  7:04     ` Ricardo Wurmus
  2019-05-13  7:08     ` Raghav Gururajan
  1 sibling, 0 replies; 14+ messages in thread
From: Ricardo Wurmus @ 2019-05-13  7:04 UTC (permalink / raw)
  To: Tobias Geerinckx-Rice; +Cc: 35606-done, Clément Lassieur, Raghav Gururajan


Ricardo Wurmus <rekado@elephly.net> writes:

> Tobias Geerinckx-Rice <me@tobias.gr> writes:
>
>> Traceback (most recent call last):
>>  File
>> "/gnu/store/lzzphfg2hf52h1cb2dbvz3qvz2ca26na-gajim-1.1.3/lib/python3.7/site-packages/gajim/application.py",
>> line 221, in _activate
>>    self.interface.run(self)
>>  File
>> "/gnu/store/lzzphfg2hf52h1cb2dbvz3qvz2ca26na-gajim-1.1.3/lib/python3.7/site-packages/gajim/gui_interface.py",
>> line 2550, in run
>>    app.plugin_manager = plugins.PluginManager()
>>  File
>> "/gnu/store/lzzphfg2hf52h1cb2dbvz3qvz2ca26na-gajim-1.1.3/lib/python3.7/site-packages/gajim/plugins/helpers.py",
>> line 129, in __call__
>>    cls.instance = super(Singleton, cls).__call__(*args, **kwargs)
>>  File
>> "/gnu/store/lzzphfg2hf52h1cb2dbvz3qvz2ca26na-gajim-1.1.3/lib/python3.7/site-packages/gajim/plugins/pluginmanager.py",
>> line 115, in __init__
>>    pc = self.scan_dir_for_plugins(path)
>>  File
>> "/gnu/store/lzzphfg2hf52h1cb2dbvz3qvz2ca26na-gajim-1.1.3/lib/python3.7/site-packages/gajim/plugins/helpers.py",
>> line 114, in wrapper
>>    result = f(*args, **kwargs)
>>  File
>> "/gnu/store/lzzphfg2hf52h1cb2dbvz3qvz2ca26na-gajim-1.1.3/lib/python3.7/site-packages/gajim/plugins/pluginmanager.py",
>> line 598, in scan_dir_for_plugins
>>    if not os.path.isdir(path):
>>  File
>> "/gnu/store/h8l1pby3cm6b4fxsfwwr65b4d1hyh6cs-python-3.7.0/lib/python3.7/genericpath.py",
>> line 42, in isdir
>>    st = os.stat(s)
>> TypeError: stat: path should be string, bytes, os.PathLike or integer,
>
> This is a problem with the “add-plugin-dirs” phase.  After setting
> GAJIM_PLUGIN_PATH to “/tmp” Gajim seems to work fine for me.
>
> We need to make sure that even without setting GAJIM_PLUGIN_PATH “path”
> is a string.

I fixed this with commit a624c3631077aa3fa5c05849579932c5b67b985c.  When
GAJIM_PLUGIN_PATH is not set it will not be added to the list of
directories that are searched for plugins.

--
Ricardo

^ permalink raw reply	[flat|nested] 14+ messages in thread

* bug#35606: Gajim
  2019-05-07 19:47   ` Ricardo Wurmus
  2019-05-13  7:04     ` Ricardo Wurmus
@ 2019-05-13  7:08     ` Raghav Gururajan
  2019-05-14 12:12       ` Ricardo Wurmus
  1 sibling, 1 reply; 14+ messages in thread
From: Raghav Gururajan @ 2019-05-13  7:08 UTC (permalink / raw)
  To: Ricardo Wurmus, Tobias Geerinckx-Rice; +Cc: 35606-done, Clément Lassieur

> I fixed this with commit a624c3631077aa3fa5c05849579932c5b67b985c. When
> GAJIM_PLUGIN_PATH is not set it will not be added to the list of
> directories that are searched for plugins.

Thank you very much Ricardo! Just to be clear, the path get automatically added with this fix right?

^ permalink raw reply	[flat|nested] 14+ messages in thread

* bug#35606: Gajim
  2019-05-13  7:08     ` Raghav Gururajan
@ 2019-05-14 12:12       ` Ricardo Wurmus
  2019-05-14 13:48         ` Clément Lassieur
  2019-05-14 13:56         ` Raghav Gururajan
  0 siblings, 2 replies; 14+ messages in thread
From: Ricardo Wurmus @ 2019-05-14 12:12 UTC (permalink / raw)
  To: Raghav Gururajan; +Cc: 35606-done, Clément Lassieur


Raghav Gururajan <rvgn@disroot.org> writes:

>> I fixed this with commit a624c3631077aa3fa5c05849579932c5b67b985c. When
>> GAJIM_PLUGIN_PATH is not set it will not be added to the list of
>> directories that are searched for plugins.
>
> Thank you very much Ricardo! Just to be clear, the path get
> automatically added with this fix right?

No.  I only made it so that when GAJIM_PLUGIN_PATH is not set it won’t
be added to the list of directories that Gajim looks at, so there’s no
crash.  If GAJIM_PLUGIN_PATH *is* set the directory it points at will be
added to the list.

--
Ricardo

^ permalink raw reply	[flat|nested] 14+ messages in thread

* bug#35606: Gajim
  2019-05-14 12:12       ` Ricardo Wurmus
@ 2019-05-14 13:48         ` Clément Lassieur
  2019-05-14 13:56         ` Raghav Gururajan
  1 sibling, 0 replies; 14+ messages in thread
From: Clément Lassieur @ 2019-05-14 13:48 UTC (permalink / raw)
  To: Ricardo Wurmus; +Cc: 35606-done, Clément Lassieur, Raghav Gururajan

[-- Attachment #1: Type: text/plain, Size: 874 bytes --]

Thank you Ricardo for fixing and Raghav for reporting this bug I introduced!

Sorry not to have more time to work on it at the moment.

Clément

On Tue, May 14, 2019, 2:13 PM Ricardo Wurmus <rekado@elephly.net> wrote:

>
> Raghav Gururajan <rvgn@disroot.org> writes:
>
> >> I fixed this with commit a624c3631077aa3fa5c05849579932c5b67b985c. When
> >> GAJIM_PLUGIN_PATH is not set it will not be added to the list of
> >> directories that are searched for plugins.
> >
> > Thank you very much Ricardo! Just to be clear, the path get
> > automatically added with this fix right?
>
> No.  I only made it so that when GAJIM_PLUGIN_PATH is not set it won’t
> be added to the list of directories that Gajim looks at, so there’s no
> crash.  If GAJIM_PLUGIN_PATH *is* set the directory it points at will be
> added to the list.
>
> --
> Ricardo
>
>

[-- Attachment #2: Type: text/html, Size: 1362 bytes --]

^ permalink raw reply	[flat|nested] 14+ messages in thread

* bug#35606: Gajim
  2019-05-14 12:12       ` Ricardo Wurmus
  2019-05-14 13:48         ` Clément Lassieur
@ 2019-05-14 13:56         ` Raghav Gururajan
  1 sibling, 0 replies; 14+ messages in thread
From: Raghav Gururajan @ 2019-05-14 13:56 UTC (permalink / raw)
  To: Clément Lassieur, Ricardo Wurmus; +Cc: 35606-done

> Thank you Ricardo for fixing and Raghav for reporting this bug I introduced!
> 
> Sorry not to have more time to work on it at the moment.

All good :)

Regards,
RG.

^ permalink raw reply	[flat|nested] 14+ messages in thread

end of thread, other threads:[~2019-05-16  4:09 UTC | newest]

Thread overview: 14+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-05-06 19:21 bug#35606: Gajim Raghav Gururajan
2019-05-06 19:40 ` Tobias Geerinckx-Rice
2019-05-07 19:27   ` Ricardo Wurmus
2019-05-07 19:47   ` Ricardo Wurmus
2019-05-13  7:04     ` Ricardo Wurmus
2019-05-13  7:08     ` Raghav Gururajan
2019-05-14 12:12       ` Ricardo Wurmus
2019-05-14 13:48         ` Clément Lassieur
2019-05-14 13:56         ` Raghav Gururajan
2019-05-06 19:45 ` Raghav Gururajan
2019-05-06 19:49 ` Raghav Gururajan
2019-05-11  9:48 ` Raghav Gururajan
2019-05-11 10:02   ` Ricardo Wurmus
2019-05-11 10:11   ` Raghav Gururajan

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/guix.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).