In a recent post (viewtopic.php?f=13&t=55393&start=10#p230847) @Lord-Kamina mentioned having built a .app for MacOSX. I have been using his version as a thin client while I updated my seedbox from 1.3.5 to 2.0.3.
Now I am trying to build my own MacOSX version using the development source code obtained using git (the developer branch) so I can see about playing with some changes to the Thin Client interface. Using the MacPorts port for Deluge (deluge @2.0.3_1+python37) I have started trying to build deluge. The build seems to finish fine but when I try running deluge or deluge-gtk I get the following error telling me that gi is not available:
Code: Select all
Unable to initialize gettext/locale!
'ngettext'
Traceback (most recent call last):
File "/Library/Frameworks/Python.framework/Versions/3.8/lib/python3.8/site-packages/deluge-2.0.4.dev23-py3.8.egg/deluge/i18n/util.py", line 118, in setup_translation
builtins.__dict__['_n'] = builtins.__dict__['ngettext']
KeyError: 'ngettext'
Traceback (most recent call last):
File "/Library/Frameworks/Python.framework/Versions/3.8/bin/deluge-gtk", line 11, in <module>
load_entry_point('deluge==2.0.4.dev23', 'gui_scripts', 'deluge-gtk')()
File "/Library/Frameworks/Python.framework/Versions/3.8/lib/python3.8/site-packages/deluge-2.0.4.dev23-py3.8.egg/deluge/ui/gtk3/__init__.py", line 63, in start
Gtk().start()
File "/Library/Frameworks/Python.framework/Versions/3.8/lib/python3.8/site-packages/deluge-2.0.4.dev23-py3.8.egg/deluge/ui/gtk3/__init__.py", line 43, in start
from .gtkui import GtkUI
File "/Library/Frameworks/Python.framework/Versions/3.8/lib/python3.8/site-packages/deluge-2.0.4.dev23-py3.8.egg/deluge/ui/gtk3/gtkui.py", line 19, in <module>
import gi # isort:skip (Required before Gtk import).
ModuleNotFoundError: No module named 'gi'
Code: Select all
pip3 install gi
ERROR: Could not find a version that satisfies the requirement gi (from versions: none)
ERROR: No matching distribution found for gi
pip3 install python-gi
ERROR: Could not find a version that satisfies the requirement python-gi (from versions: none)
ERROR: No matching distribution found for python-gi
pip3 install gtk
ERROR: Could not find a version that satisfies the requirement gtk (from versions: none)
ERROR: No matching distribution found for gtk
Any assistance that you can provide on how to get Gtk setup properly so I can continue building/running deluge on my MacOSX computer would be greatly appreciated. Some notes about my system setup:
- MacOSX Catalina (v10.15.3)
- Python 3.7.3
- Source code for Deluge from developer branch updated this morning
Shadallark