Giter Site home page Giter Site logo

Comments (5)

springjools avatar springjools commented on September 5, 2024

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.

rexx6 avatar rexx6 commented on September 5, 2024

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.

garretyoder avatar garretyoder commented on September 5, 2024

I'm also having the same issue, however I downgraded to python 3.7 and still had the same issue.

from deluge-autoremoveplus.

garretyoder avatar garretyoder commented on September 5, 2024

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.

springjools avatar springjools commented on September 5, 2024

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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.