Custom Query (2449 matches)

Filters
 
Or
 
  
 
Columns

Show under each result:


Results (295 - 297 of 2449)

Ticket Resolution Summary Owner Reporter
#3469 Upstream Files can't be moved nop666
Description

Ubuntu 21.04, Deluge 2.0.3, libtorrent: 1.2.9.0

Files cannot be moved, either via the "move completed to" setting, or manually via the GUI "Move Download Folder" function. The problem seems to be in in the 'move_storage' function in LibTorrent? 1.2.9, per the fix in 1.2.10: https://github.com/arvidn/libtorrent/releases/tag/libtorrent-1.2.10

It seems to confirm bugs #3458 new bug "move completed to" doesn't work https://dev.deluge-torrent.org/ticket/3458

#3457 new bug "Move Download Folder" does nothing https://dev.deluge-torrent.org/ticket/3457

Note that this problem came up for me after upgrading Ubuntu from 20.10 to 21.04.

I don't want to be a whiner, but this bug is a show-stopper for me, as it means that I can't file any new torrents on my media server. This seems to be a matter of just updating the version of LibTorrent?. Any advice on how I can do that without building from source myself would be gratefully appreciated!

Debug log when attempting to "Move Download Folder": (Cut & paste from xterm, with the 'move_storage' lines highlighted, so any formatting problems are my fault): =============================================================================================== Unhandled error in Deferred: 21:08:04 [CRITICAL][twisted :154 ] Unhandled error in Deferred:

Traceback (most recent call last):

File "/usr/lib/python3/dist-packages/gi/overrides/Gtk.py", line 1649, in main

return _Gtk_main(*args, kwargs)

File "/usr/lib/python3/dist-packages/deluge/ui/gtk3/menubar.py", line 368, in on_dialog_response_event

client.core.move_storage(

File "/usr/lib/python3/dist-packages/deluge/ui/client.py", line 551, in call

return self.daemon.call(self.base, *args, kwargs)

File "/usr/lib/python3/dist-packages/deluge/ui/client.py", line 500, in call

return defer.maybeDeferred(m, *copy.deepcopy(args), copy.deepcopy(kwargs))

--- <exception caught here> ---

File "/usr/lib/python3/dist-packages/twisted/internet/defer.py", line 151, in maybeDeferred

result = f(*args, kw)

* File "/usr/lib/python3/dist-packages/deluge/core/core.py", line 691, in move_storage * if not self.torrentmanager[torrent_id].move_storage(dest): * File "/usr/lib/python3/dist-packages/deluge/core/torrent.py", line 1248, in move_storage * self.handle.move_storage(dest, flags=2) Boost.Python.ArgumentError?: Python argument types in

torrent_handle.move_storage(torrent_handle, str)

did not match C++ signature:

move_storage(libtorrent::torrent_handle {lvalue}, std::cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > path, libtorrent::move_flags_t flags=libtorrent.move_flags_t.always_replace_files)

Temporarily disabling observer LegacyLogObserverWrapper?(<bound method TwistedLoggingObserver?.emit of <deluge.log.TwistedLoggingObserver? object at 0x7fb2264a1370>>) due to exception: [Failure instance: Traceback: <class 'TypeError?'>: findCaller() takes from 1 to 2 positional arguments but 3 were given /usr/lib/python3/dist-packages/deluge/ui/gtk3/menubar.py:368:on_dialog_response_event /usr/lib/python3/dist-packages/twisted/internet/defer.py:962:__del /usr/lib/python3/dist-packages/twisted/logger/_logger.py:190:failure /usr/lib/python3/dist-packages/twisted/logger/_logger.py:144:emit --- <exception caught here> --- /usr/lib/python3/dist-packages/twisted/logger/_observer.py:131:__call /usr/lib/python3/dist-packages/twisted/logger/_legacy.py:93:__call /usr/lib/python3/dist-packages/deluge/log.py:204:emit /usr/lib/python3.9/logging/init__.py:1493:critical /usr/lib/python3.9/logging/init__.py:1577:_log ] Traceback (most recent call last):

File "/usr/lib/python3/dist-packages/deluge/ui/gtk3/menubar.py", line 368, in on_dialog_response_event

client.core.move_storage(

File "/usr/lib/python3/dist-packages/twisted/internet/defer.py", line 962, in del

log.failure(format,

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 144, in emit

self.observer(event)

--- <exception caught here> ---

File "/usr/lib/python3/dist-packages/twisted/logger/_observer.py", line 131, in call

observer(event)

File "/usr/lib/python3/dist-packages/twisted/logger/_legacy.py", line 93, in call

self.legacyObserver(event)

File "/usr/lib/python3/dist-packages/deluge/log.py", line 204, in emit

getattr(LoggingLoggerClass?, event_dictlog_level?.name)(

File "/usr/lib/python3.9/logging/init.py", line 1493, in critical

self._log(CRITICAL, msg, args, kwargs)

File "/usr/lib/python3.9/logging/init.py", line 1577, 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 ===============================================================================================

#3470 Fixed Setproctitle not opt-dep. mhertz
Description

As title, the code in deluge using setproctitle, uses it in optional manner, but it's "hardcoded" for install in setup.py(and requirements.txt but ok there I guess, maybe add comment though) under 'install_requires'.

Only stumbled upon this one, and didn't check if other optional deps have same issue.

Thanks in advance.

#3476 Fixed GTKUI logs error when enabling plugin. mhertz
Description

In latest python-setuptools 1.57 there's a metadata change causing the description being added to actual payload of generated PKG-INFO and not as header-field like previously. The metadata-spec states it CAN do this, but always does in my tests when using this version. Whenever enabling a plugin, then will show an error in log/terminal about 'None' not supported as first argument, as now is in payload and not in a 'Description' header field anymore, and per spec returns None in that case. I guess can be changed to check for this circumstance, but I quickly just changed line 1147 in deluge/ui/gtk3/preferences.py from: '

self.builder.get_object('label_plugin_details').set_text(
            plugin_info['Description']
        )

Into instead:

 self.builder.get_object('label_plugin_details').set_text(
            plugin_info['Summary']
        )

Which works for old and new PKG-INFO generated files.

Here's two examples of generated AutoAdd?.egg-info/PKG-INFO files from unmodified deluge git clone and built with 'python setup.py bdist_egg', first with latest python-setuptools 1.57, and next with previous python-setuptools 1.56.2(both python3, as on arch, python means python3, and btw using latest python 3.9.5 also):

Metadata-Version: 2.1
Name: AutoAdd
Version: 1.8
Summary: Monitors folders for .torrent files.
Home-page: http://dev.deluge-torrent.org/wiki/Plugins/AutoAdd
Author: Chase Sterling, Pedro Algarvio
Author-email: chase.sterling@gmail.com, pedro@algarvio.me
License: GPLv3
Platform: UNKNOWN

Monitors folders for .torrent files.

Metadata-Version: 2.1
Name: AutoAdd
Version: 1.8
Summary: Monitors folders for .torrent files.
Home-page: http://dev.deluge-torrent.org/wiki/Plugins/AutoAdd
Author: Chase Sterling, Pedro Algarvio
Author-email: chase.sterling@gmail.com, pedro@algarvio.me
License: GPLv3
Description: Monitors folders for .torrent files.
Platform: UNKNOWN

Thanks in advance.

Note: See TracQuery for help on using queries.