From: Ricardo Wurmus <rekado@elephly.net>
To: Tobias Geerinckx-Rice <me@tobias.gr>
Cc: 35606-done@debbugs.gnu.org,
"Clément Lassieur" <clement@lassieur.org>,
"Raghav Gururajan" <rvgn@disroot.org>
Subject: bug#35606: Gajim
Date: Mon, 13 May 2019 09:04:26 +0200 [thread overview]
Message-ID: <87k1eu96o5.fsf@elephly.net> (raw)
In-Reply-To: <87ftpqdp2d.fsf@elephly.net>
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
next prev parent reply other threads:[~2019-05-13 7:07 UTC|newest]
Thread overview: 14+ messages / expand[flat|nested] mbox.gz Atom feed top
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 [this message]
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
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://guix.gnu.org/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=87k1eu96o5.fsf@elephly.net \
--to=rekado@elephly.net \
--cc=35606-done@debbugs.gnu.org \
--cc=clement@lassieur.org \
--cc=me@tobias.gr \
--cc=rvgn@disroot.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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).