Hi,
I just installed the new Raspberry Pi OS (64-bit) with desktop.
I also run:
sudo apt update
sudo apt upgrade
sudo apt install deluged deluge-web python3-mako
(I first tried sudo apt install deluged deluge-web and it did dot work either.)
This installed delude 2.0.3 i believe and this version relies on python 3.9.
I am receiving the errors below concerning python 3.11.
So, how can I install deluge in a proper way on teh new PI OS?
Thanks
some of the errors are below:
I just installed the new Raspberry Pi OS (64-bit) with desktop.
I also run:
sudo apt update
sudo apt upgrade
sudo apt install deluged deluge-web python3-mako
(I first tried sudo apt install deluged deluge-web and it did dot work either.)
This installed delude 2.0.3 i believe and this version relies on python 3.9.
I am receiving the errors below concerning python 3.11.
So, how can I install deluge in a proper way on teh new PI OS?
Thanks
some of the errors are below:
Code:
09:12:18 [ERROR ][deluge.i18n.util :147 ] module 'gettext' has no attribute 'bind_textdomain_codeset'Traceback (most recent call last): File "/usr/lib/python3/dist-packages/deluge/i18n/util.py", line 111, in setup_translation gettext.bind_textdomain_codeset(I18N_DOMAIN, 'UTF-8') ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^AttributeError: module 'gettext' has no attribute 'bind_textdomain_codeset'Traceback (most recent call last): File "/usr/lib/python3/dist-packages/twisted/internet/defer.py", line 857, in _runCallbacks current.result = callback( # type: ignore[misc] File "/usr/lib/python3/dist-packages/deluge/ui/web/json_api.py", line 437, in _on_client_connect_fail log.error( File "/usr/lib/python3/dist-packages/twisted/internet/defer.py", line 1905, in unwindGenerator return _cancellableInlineCallbacks(gen) File "/usr/lib/python3/dist-packages/twisted/internet/defer.py", line 1815, in _cancellableInlineCallbacks _inlineCallbacks(None, gen, status)--- <exception caught here> --- File "/usr/lib/python3/dist-packages/twisted/internet/defer.py", line 1660, in _inlineCallbacks result = current_context.run(gen.send, result) File "/usr/lib/python3/dist-packages/deluge/log.py", line 79, in error yield LoggingLoggerClass.error(self, msg, *args, **kwargs) File "/usr/lib/python3.11/logging/__init__.py", line 1518, in error self._log(ERROR, msg, args, **kwargs) File "/usr/lib/python3.11/logging/__init__.py", line 1622, in _log fn, lno, func, sinfo = self.findCaller(stack_info, stacklevel)builtins.TypeError: Logging.findCaller() takes from 1 to 2 positional arguments but 3 were givenTemporarily disabling observer LegacyLogObserverWrapper(<bound method TwistedLoggingObserver.emit of <deluge.log.TwistedLoggingObserver object at 0x7f8226bdd0>>) due to exception: [Failure instance: Traceback: <class 'TypeError'>: Logging.findCaller() takes from 1 to 2 positional arguments but 3 were given/usr/lib/python3/dist-packages/OpenSSL/SSL.py:1891:send/usr/lib/python3/dist-packages/twisted/internet/defer.py:344:__del__/usr/lib/python3/dist-packages/twisted/logger/_logger.py:190:failure/usr/lib/python3/dist-packages/twisted/logger/_logger.py:142:emit--- <exception caught here> ---/usr/lib/python3/dist-packages/twisted/logger/_observer.py:81:__call__/usr/lib/python3/dist-packages/twisted/logger/_legacy.py:90:__call__/usr/lib/python3/dist-packages/deluge/log.py:204:emit/usr/lib/python3.11/logging/__init__.py:1536:critical/usr/lib/python3.11/logging/__init__.py:1622:_log]Traceback (most recent call last): File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1891, in send with _ffi.from_buffer(buf) as data: File "/usr/lib/python3/dist-packages/twisted/internet/defer.py", line 344, in __del__ log.failure(format, self.failResult, debugInfo=debugInfo) File "/usr/lib/python3/dist-packages/twisted/logger/_logger.py", line 190, in failure self.emit(level, format, log_failure=failure, **kwargs) File "/usr/lib/python3/dist-packages/twisted/logger/_logger.py", line 142, in emit self.observer(event)--- <exception caught here> --- File "/usr/lib/python3/dist-packages/twisted/logger/_observer.py", line 81, in __call__ observer(event) File "/usr/lib/python3/dist-packages/twisted/logger/_legacy.py", line 90, in __call__ self.legacyObserver(event) File "/usr/lib/python3/dist-packages/deluge/log.py", line 204, in emit getattr(LoggingLoggerClass, event_dict['log_level'].name)( File "/usr/lib/python3.11/logging/__init__.py", line 1536, in critical self._log(CRITICAL, msg, args, **kwargs) File "/usr/lib/python3.11/logging/__init__.py", line 1622, in _log fn, lno, func, sinfo = self.findCaller(stack_info, stacklevel)builtins.TypeError: Logging.findCaller() takes from 1 to 2 positional arguments but 3 were givenStatistics: Posted by dandan21 — Thu Aug 21, 2025 6:18 am