Comments (5)
What version of twisted? Update to the latest version. Also I think you need deluge 2.0.4dev if you have python >= 3.8.
from deluge-autoremoveplus.
Thanks for the answer.
I updated Twisted as below but the problem is the same.
Owner@all4u:~# pip3 show Twisted
Name: Twisted
Version: 20.3.0
Summary: An asynchronous networking framework written in Python
Home-page: https://twistedmatrix.com/
Author: Twisted Matrix Laboratories
Author-email: [email protected]
License: MIT
Location: /usr/local/lib/python3.8/dist-packages
Requires: constantly, incremental, attrs, Automat, hyperlink, PyHamcrest, zope.interface
Required-by:
Owner@all4u:~# Unhandled error in Deferred:
09:35:58 [CRITICAL][twisted :154 ] Unhandled error in Deferred:
09:35:58 [CRITICAL][twisted :154 ] Unhandled error in Deferred:
Traceback (most recent call last):
File "/usr/lib/python3/dist-packages/deluge/ui/gtk3/pluginmanager.py", line 74, in _on_plugin_enabled_event
self.enable_plugin(name)
File "/usr/lib/python3/dist-packages/deluge/pluginmanagerbase.py", line 153, in enable_plugin
log.error(
File "/usr/local/lib/python3.8/dist-packages/twisted/internet/defer.py", line 1613, in unwindGenerator
return _cancellableInlineCallbacks(gen)
File "/usr/local/lib/python3.8/dist-packages/twisted/internet/defer.py", line 1529, in _cancellableInlineCallbacks
_inlineCallbacks(None, g, status)
--- <exception caught here> ---
File "/usr/local/lib/python3.8/dist-packages/twisted/internet/defer.py", line 1418, in _inlineCallbacks
result = g.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.8/logging/__init__.py", line 1463, in error
self._log(ERROR, msg, args, **kwargs)
File "/usr/lib/python3.8/logging/__init__.py", line 1565, in _log
fn, lno, func, sinfo = self.findCaller(stack_info, stacklevel)
builtins.TypeError: findCaller() takes from 1 to 2 positional arguments but 3 were given
Temporarily disabling observer LegacyLogObserverWrapper(<bound method TwistedLoggingObserver.emit of <deluge.log.TwistedLoggingObserver object at 0x7f8f17b5f5e0>>) due to exception: [Failure instance: Traceback: <class 'TypeError'>: findCaller() takes from 1 to 2 positional arguments but 3 were given
/usr/lib/python3.8/json/encoder.py:253:iterencode
/usr/local/lib/python3.8/dist-packages/twisted/internet/defer.py:962:__del__
/usr/local/lib/python3.8/dist-packages/twisted/logger/_logger.py:190:failure
/usr/local/lib/python3.8/dist-packages/twisted/logger/_logger.py:144:emit
--- <exception caught here> ---
/usr/local/lib/python3.8/dist-packages/twisted/logger/_observer.py:131:__call__
/usr/local/lib/python3.8/dist-packages/twisted/logger/_legacy.py:93:__call__
/usr/lib/python3/dist-packages/deluge/log.py:204:emit
/usr/lib/python3.8/logging/__init__.py:1481:critical
/usr/lib/python3.8/logging/__init__.py:1565:_log
The ability to install deluge development version is not available,
So I will give up.
Thank you.
from deluge-autoremoveplus.
I'm also having the same issue, however I downgraded to python 3.7 and still had the same issue.
from deluge-autoremoveplus.
I've also manually installed deluge 2.0.4 as mentioned and still receive the same error.
Edit: installing from git with the latest patch fixes this issue. The issue is not present in deluge==2.0.4.dev38.
from deluge-autoremoveplus.
If you downgrade to python 3.7 it should also fix the issue, but you have to make sure deluge uses that python. Anyway, it's not an issue related to this plugin but to deluge itself. More info here:
https://dev.deluge-torrent.org/ticket/3327
from deluge-autoremoveplus.
Related Issues (20)
- Spam from log call HOT 9
- 0.6.13 showing as 0.6.12 in deluge webui HOT 2
- Less restrictive options HOT 5
- LSIO docker container plugin install HOT 13
- Settings clarification HOT 17
- Release 0.6.15 HOT 9
- Remove after pausing for a while HOT 1
- AutoRemove - Based on Space - Confused
- Time since seen complete (h) not working. HOT 1
- Disabling (or extending) pause after/remove after seedtime HOT 2
- Plugin won't load in Docker installation HOT 4
- LSIO docker no remove torrent HOT 2
- Delete with specific tracker
- Fix deprecated logging. HOT 2
- Readme Update, Expansion and Clarification
- Support Deluge v1?
- Web UI doesn't let me scroll down.
- Issue with thinclient without GUI open, fails trigger some events. HOT 2
- GTKUI prefs page fix. HOT 7
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from deluge-autoremoveplus.