gi import not working
What information I'm giving is probably not enough, but if you could direct to me I can give more debugging information. Thanks!
- OS: macOS 10.15.4
- Gajim version: 1.1
- GTK version: 3.24.18
- Python-nbxmpp version: 0.6.10
Steps to reproduce the problem
- Follow the instructions for installation on macOS.
When I ran
brew link --force gettext, I got this:
Warning: Refusing to link macOS provided/shadowed software: gettext If you need to have gettext first in your PATH run: echo 'export PATH="/usr/local/opt/gettext/bin:$PATH"' >> ~/.bash_profile For compilers to find gettext you may need to set: export LDFLAGS="-L/usr/local/opt/gettext/lib" export CPPFLAGS="-I/usr/local/opt/gettext/include"
I did the
PATH thing but it didn't help (even after
. ~/.bash_profile) so I just moved on. Perhaps this is the problem?
App should open.
App doesn't open. Instead:
No translations found Dirs searched: [PosixPath('/usr/local/share'), PosixPath('/usr/share')] Traceback (most recent call last): File "./launch.py", line 4, in <module> gajim.main() File "/Users/liwoxa/Plumbing/gajim/gajim/gajim.py", line 123, in main _init_gui('GTK') File "/Users/liwoxa/Plumbing/gajim/gajim/gajim.py", line 49, in _init_gui _init_gtk() File "/Users/liwoxa/Plumbing/gajim/gajim/gajim.py", line 54, in _init_gtk gi.require_version('GLib', '2.0') AttributeError: module 'gi' has no attribute 'require_version'