GNU bug report logs - #35606
Gajim

Previous Next

Package: guix;

Reported by: "Raghav Gururajan" <rvgn <at> disroot.org>

Date: Mon, 6 May 2019 19:22:01 UTC

Severity: normal

Done: Ricardo Wurmus <rekado <at> elephly.net>

Bug is archived. No further changes may be made.

To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 35606 in the body.
You can then email your comments to 35606 AT debbugs.gnu.org in the normal way.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to bug-guix <at> gnu.org:
bug#35606; Package guix. (Mon, 06 May 2019 19:22:02 GMT) Full text and rfc822 format available.

Acknowledgement sent to "Raghav Gururajan" <rvgn <at> disroot.org>:
New bug report received and forwarded. Copy sent to bug-guix <at> gnu.org. (Mon, 06 May 2019 19:22:02 GMT) Full text and rfc822 format available.

Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

From: "Raghav Gururajan" <rvgn <at> disroot.org>
To: bug-guix <at> gnu.org
Subject: Gajim
Date: Mon, 06 May 2019 19:21:17 +0000
[Message part 1 (text/plain, inline)]
## 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.
[Message part 2 (text/html, inline)]

Information forwarded to bug-guix <at> gnu.org:
bug#35606; Package guix. (Mon, 06 May 2019 19:41:02 GMT) Full text and rfc822 format available.

Message #8 received at 35606 <at> debbugs.gnu.org (full text, mbox):

From: Tobias Geerinckx-Rice <me <at> tobias.gr>
To: Raghav Gururajan <rvgn <at> disroot.org>, Clément Lassieur
 <clement <at> lassieur.org>, Ricardo Wurmus <rekado <at> elephly.net>
Cc: 35606 <at> debbugs.gnu.org
Subject: Re: bug#35606: Gajim
Date: Mon, 06 May 2019 21:40:37 +0200
[Message part 1 (text/plain, inline)]
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
~ λ 
[signature.asc (application/pgp-signature, inline)]

Information forwarded to bug-guix <at> gnu.org:
bug#35606; Package guix. (Mon, 06 May 2019 19:46:02 GMT) Full text and rfc822 format available.

Message #11 received at 35606 <at> debbugs.gnu.org (full text, mbox):

From: "Raghav Gururajan" <rvgn <at> disroot.org>
To: "Tobias Geerinckx-Rice" <me <at> tobias.gr>,
 "Clément Lassieur" <clement <at> lassieur.org>, "Ricardo
 Wurmus" <rekado <at> elephly.net>
Cc: 35606 <at> debbugs.gnu.org
Subject: Re: bug#35606: Gajim
Date: Mon, 06 May 2019 19:45:14 +0000
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 <at> 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
> ~ λ




Information forwarded to bug-guix <at> gnu.org:
bug#35606; Package guix. (Mon, 06 May 2019 19:50:02 GMT) Full text and rfc822 format available.

Message #14 received at 35606 <at> debbugs.gnu.org (full text, mbox):

From: "Raghav Gururajan" <rvgn <at> disroot.org>
To: "Tobias Geerinckx-Rice" <me <at> tobias.gr>,
 "Clément Lassieur" <clement <at> lassieur.org>, "Ricardo 
 Wurmus" <rekado <at> elephly.net>
Cc: 35606 <at> debbugs.gnu.org
Subject: Re: bug#35606: Gajim
Date: Mon, 06 May 2019 19:49:25 +0000
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 <at> 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 <at> 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
>> ~ λ




Information forwarded to bug-guix <at> gnu.org:
bug#35606; Package guix. (Tue, 07 May 2019 19:29:02 GMT) Full text and rfc822 format available.

Message #17 received at 35606 <at> debbugs.gnu.org (full text, mbox):

From: Ricardo Wurmus <rekado <at> elephly.net>
To: Tobias Geerinckx-Rice <me <at> tobias.gr>
Cc: 35606 <at> debbugs.gnu.org,
 Clément Lassieur <clement <at> lassieur.org>,
 Raghav Gururajan <rvgn <at> disroot.org>
Subject: Re: bug#35606: Gajim
Date: Tue, 07 May 2019 21:27:53 +0200
Tobias Geerinckx-Rice <me <at> 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





Information forwarded to bug-guix <at> gnu.org:
bug#35606; Package guix. (Tue, 07 May 2019 19:49:02 GMT) Full text and rfc822 format available.

Message #20 received at 35606 <at> debbugs.gnu.org (full text, mbox):

From: Ricardo Wurmus <rekado <at> elephly.net>
To: Tobias Geerinckx-Rice <me <at> tobias.gr>
Cc: 35606 <at> debbugs.gnu.org,
 Clément Lassieur <clement <at> lassieur.org>,
 Raghav Gururajan <rvgn <at> disroot.org>
Subject: Re: bug#35606: Gajim
Date: Tue, 07 May 2019 21:47:38 +0200
Tobias Geerinckx-Rice <me <at> 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





Information forwarded to bug-guix <at> gnu.org:
bug#35606; Package guix. (Sat, 11 May 2019 09:49:03 GMT) Full text and rfc822 format available.

Message #23 received at 35606 <at> debbugs.gnu.org (full text, mbox):

From: "Raghav Gururajan" <rvgn <at> disroot.org>
To: "Tobias Geerinckx-Rice" <me <at> tobias.gr>,
 "Clément Lassieur" <clement <at> lassieur.org>, "Ricardo  
 Wurmus" <rekado <at> elephly.net>
Cc: 35606 <at> debbugs.gnu.org
Subject: Re: bug#35606: Gajim
Date: Sat, 11 May 2019 09:48:23 +0000
Hello Guix Folks!

Any update on this bug please?

Regards,
RG.




Information forwarded to bug-guix <at> gnu.org:
bug#35606; Package guix. (Sat, 11 May 2019 10:03:01 GMT) Full text and rfc822 format available.

Message #26 received at 35606 <at> debbugs.gnu.org (full text, mbox):

From: Ricardo Wurmus <rekado <at> elephly.net>
To: Raghav Gururajan <rvgn <at> disroot.org>
Cc: 35606 <at> debbugs.gnu.org, Tobias Geerinckx-Rice <me <at> tobias.gr>,
 Clément Lassieur <clement <at> lassieur.org>
Subject: Re: bug#35606: Gajim
Date: Sat, 11 May 2019 12:02:22 +0200
Raghav Gururajan <rvgn <at> 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





Information forwarded to bug-guix <at> gnu.org:
bug#35606; Package guix. (Sat, 11 May 2019 10:12:02 GMT) Full text and rfc822 format available.

Message #29 received at 35606 <at> debbugs.gnu.org (full text, mbox):

From: "Raghav Gururajan" <rvgn <at> disroot.org>
To: "Ricardo Wurmus" <rekado <at> elephly.net>
Cc: 35606 <at> debbugs.gnu.org, Tobias Geerinckx-Rice <me <at> tobias.gr>,
 Clément Lassieur <clement <at> lassieur.org>
Subject: Re: bug#35606: Gajim
Date: Sat, 11 May 2019 10:11:24 +0000
> 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. :(




Reply sent to Ricardo Wurmus <rekado <at> elephly.net>:
You have taken responsibility. (Mon, 13 May 2019 07:06:02 GMT) Full text and rfc822 format available.

Notification sent to "Raghav Gururajan" <rvgn <at> disroot.org>:
bug acknowledged by developer. (Mon, 13 May 2019 07:06:02 GMT) Full text and rfc822 format available.

Message #34 received at 35606-done <at> debbugs.gnu.org (full text, mbox):

From: Ricardo Wurmus <rekado <at> elephly.net>
To: Tobias Geerinckx-Rice <me <at> tobias.gr>
Cc: 35606-done <at> debbugs.gnu.org,
 Clément Lassieur <clement <at> lassieur.org>,
 Raghav Gururajan <rvgn <at> disroot.org>
Subject: Re: bug#35606: Gajim
Date: Mon, 13 May 2019 09:04:26 +0200
Ricardo Wurmus <rekado <at> elephly.net> writes:

> Tobias Geerinckx-Rice <me <at> 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





Information forwarded to bug-guix <at> gnu.org:
bug#35606; Package guix. (Mon, 13 May 2019 07:09:02 GMT) Full text and rfc822 format available.

Message #37 received at 35606-done <at> debbugs.gnu.org (full text, mbox):

From: "Raghav Gururajan" <rvgn <at> disroot.org>
To: "Ricardo Wurmus" <rekado <at> elephly.net>, "Tobias Geerinckx-Rice"
 <me <at> tobias.gr>
Cc: 35606-done <at> debbugs.gnu.org,
 Clément Lassieur <clement <at> lassieur.org>
Subject: Re: bug#35606: Gajim
Date: Mon, 13 May 2019 07:08:51 +0000
> 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?




Information forwarded to bug-guix <at> gnu.org:
bug#35606; Package guix. (Tue, 14 May 2019 13:49:02 GMT) Full text and rfc822 format available.

Message #40 received at 35606-done <at> debbugs.gnu.org (full text, mbox):

From: Clément Lassieur <clement <at> lassieur.org>
To: Ricardo Wurmus <rekado <at> elephly.net>
Cc: Tobias Geerinckx-Rice <me <at> tobias.gr>, 35606-done <at> debbugs.gnu.org,
 Clément Lassieur <clement <at> lassieur.org>,
 Raghav Gururajan <rvgn <at> disroot.org>
Subject: Re: bug#35606: Gajim
Date: Tue, 14 May 2019 15:48:14 +0200
[Message part 1 (text/plain, inline)]
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 <at> elephly.net> wrote:

>
> Raghav Gururajan <rvgn <at> 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
>
>
[Message part 2 (text/html, inline)]

Information forwarded to bug-guix <at> gnu.org:
bug#35606; Package guix. (Tue, 14 May 2019 13:57:02 GMT) Full text and rfc822 format available.

Message #43 received at 35606-done <at> debbugs.gnu.org (full text, mbox):

From: "Raghav Gururajan" <rvgn <at> disroot.org>
To: "Clément Lassieur" <clement <at> lassieur.org>,
 "Ricardo Wurmus" <rekado <at> elephly.net>
Cc: Tobias Geerinckx-Rice <me <at> tobias.gr>, 35606-done <at> debbugs.gnu.org
Subject: Re: bug#35606: Gajim
Date: Tue, 14 May 2019 13:56:11 +0000
> 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.




Information forwarded to bug-guix <at> gnu.org:
bug#35606; Package guix. (Thu, 16 May 2019 04:02:02 GMT) Full text and rfc822 format available.

Message #46 received at 35606-done <at> debbugs.gnu.org (full text, mbox):

From: Ricardo Wurmus <rekado <at> elephly.net>
To: Raghav Gururajan <rvgn <at> disroot.org>
Cc: Tobias Geerinckx-Rice <me <at> tobias.gr>, 35606-done <at> debbugs.gnu.org,
 Clément Lassieur <clement <at> lassieur.org>
Subject: Re: bug#35606: Gajim
Date: Tue, 14 May 2019 14:12:45 +0200
Raghav Gururajan <rvgn <at> 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





bug archived. Request was from Debbugs Internal Request <help-debbugs <at> gnu.org> to internal_control <at> debbugs.gnu.org. (Thu, 13 Jun 2019 11:24:04 GMT) Full text and rfc822 format available.

This bug report was last modified 4 years and 290 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.