I updgraded toUubuntu 20.4
Deluge upgrade to 2.0
Deluge (libtorrent 1.1.15???) has a problem with memory leakage.
So I upgraded libtorrent using various guides none of which seemingly worked successfully
These are the various commands that were run:
- sudo apt-get build-dep libtorrent-rasterbar
- sudo apt-get install build-essential checkinstall libboost-system-dev
libboost-python-dev libboost-chrono-dev libboost-random-dev
libssl-dev
- tar xf libtorrent-rasterbar-1.2.14.tar.gz
- cd libtorrent-rasterbar-1.2.14/
- ./configure --enable-python-binding --with-libiconv make -j$(nproc)
- sudo checkinstall
- pip install setuptools
- sudo apt install python3-pip
- pip install setuptools
- sudo checkinstall
- make -j$(nproc)
- pip install python-libtorrent-bin
- python3 -c "import libtorrent; print (libtorrent.version)"
- sudo apt install git intltool closure-compiler python3-pip
- pip3 install --user tox
- sudo apt install python3-libtorrent python3-geoip python3-dbus
python3-gi python3-gi-cairo gir1.2-gtk-3.0 gir1.2-appindicator3
python3-pygame libnotify4 librsvg2-common xdg-utils
- sudo apt install gir1.2-appindicator3
This is the current output of: deluge --version
Unable to initialize gettext/locale!
'ngettext'
Traceback (most recent call last):
File "/usr/lib/python3/dist-packages/deluge/i18n/util.py", line 118, in setup_translation
builtins.__dict__['_n'] = builtins.__dict__['ngettext']
KeyError: 'ngettext'
deluge 2.0.3
libtorrent: 2.0.2.0
Python: 3.8.5
OS: Linux Ubuntu 20.04 focal
What can I do to go back to at least the memory leaking Deluge with the older libtorrent?