Custom Query (2447 matches)

Filters
 
Or
 
  
 
Columns

Show under each result:


Results (313 - 315 of 2447)

Ticket Resolution Summary Owner Reporter
#3520 Fixed [Solved] Country flags are missing when using libtorrent from RC_1_2 branch. Alexey
Description

OS: Arch

Deluge: 2.1.0.dev118

Libtorrent: 1.2.16.0

Python: 3.10.4


Hello!

I have some issues with download speed when using Libtorrent>=2.0, so I am stick with 1.2 branch. It seems my problem started after one of the recent system updates. Unfortunately, I have deleted full pacman logs, but this is the list of the most recent update:

upgraded libsasl (2.1.27-3 -> 2.1.28-1)
upgraded gstreamer (1.20.1-1 -> 1.20.2-1)
upgraded gst-plugins-base-libs (1.20.1-1 -> 1.20.2-1)
upgraded gst-plugins-bad-libs (1.20.1-1 -> 1.20.2-1)
upgraded gst-plugins-base (1.20.1-1 -> 1.20.2-1)
upgraded nss (3.77-1 -> 3.78-1)
upgraded glibmm (2.66.3-1 -> 2.66.3-3)
upgraded luajit (2.1.0.beta3.r397.g20aea939-1 -> 2.1.0.beta3.r404.g3ee3c9cf-1)
upgraded xmlsec (1.2.33-1 -> 1.2.34-1)
upgraded zxing-cpp (1.2.0-1 -> 1.3.0-1)
upgraded enchant (2.3.2-2 -> 2.3.3-1)
upgraded jansson (2.14-1 -> 2.14-2)
upgraded vulkan-icd-loader (1.3.208-1 -> 1.3.209-1)
upgraded pcre2 (10.39-1 -> 10.40-1)
upgraded libglvnd (1.4.0-1 -> 1.4.0-2)
upgraded ndctl (72.1-1 -> 73-1)
upgraded nodejs (17.9.0-2 -> 18.1.0-1)
upgraded noto-fonts (20201226-2 -> 20220502-1)
upgraded pacman-contrib (1.5.0-1 -> 1.5.1-1)
upgraded python-packaging (20.9-7 -> 21.3-1)
upgraded ttf-croscore (20201226-2 -> 20220502-1)
upgraded vulkan-headers (1:1.3.211-1 -> 1:1.3.212-1)
upgraded lsof (4.94.0-1 -> 4.95.0-1)
upgraded perl-http-daemon (6.13-1 -> 6.14-1)
upgraded perl-libwww (6.59-1 -> 6.60-1)
upgraded glibmm (2.66.3-3 -> 2.66.4-1)
upgraded openssl (1.1.1.n-1 -> 1.1.1.o-1)
upgraded python-more-itertools (8.12.0-1 -> 8.12.0-2)

The problem is that country flags are missing in Deluge "Peers" tab, there are just empty spaces instead of icons. Previously there was no such problem. I have geoip, geoip-database and python-geoip installed. When starting deluged daemon, the following errors are printed:

[ERROR   ][deluge.component              :128 ] [Failure instance: Traceback: <class 'KeyError'>: 'unknown name in settings_pack: peer_tos'                                  [0]
/usr/lib/python3.10/site-packages/twisted/internet/base.py:1328:mainLoop
/usr/lib/python3.10/site-packages/twisted/internet/base.py:994:runUntilCurrent
/usr/lib/python3.10/site-packages/twisted/internet/defer.py:662:callback
/usr/lib/python3.10/site-packages/twisted/internet/defer.py:764:_startRunCallbacks
--- <exception caught here> ---
/usr/lib/python3.10/site-packages/twisted/internet/defer.py:858:_runCallbacks
/usr/lib/python3.10/site-packages/twisted/internet/task.py:871:cb
/usr/lib/python3.10/site-packages/deluge/core/preferencesmanager.py:158:start
/usr/lib/python3.10/site-packages/deluge/core/preferencesmanager.py:172:do_config_set_func
/usr/lib/python3.10/site-packages/deluge/core/preferencesmanager.py:260:_on_set_peer_tos
/usr/lib/python3.10/site-packages/deluge/core/core.py:238:apply_session_setting
/usr/lib/python3.10/site-packages/deluge/core/core.py:246:apply_session_settings
]
Unhandled error in Deferred:

Traceback (most recent call last):
  File "/usr/lib/python3.10/site-packages/twisted/internet/base.py", line 1328, in mainLoop
    reactorBaseSelf.runUntilCurrent()
  File "/usr/lib/python3.10/site-packages/twisted/internet/base.py", line 994, in runUntilCurrent
    call.func(*call.args, **call.kw)
  File "/usr/lib/python3.10/site-packages/twisted/internet/defer.py", line 662, in callback
    self._startRunCallbacks(result)
  File "/usr/lib/python3.10/site-packages/twisted/internet/defer.py", line 764, in _startRunCallbacks
    self._runCallbacks()
--- <exception caught here> ---
  File "/usr/lib/python3.10/site-packages/twisted/internet/defer.py", line 858, in _runCallbacks
    current.result = callback(  # type: ignore[misc]
  File "/usr/lib/python3.10/site-packages/twisted/internet/task.py", line 871, in cb
    return callable(*args, **kw)
  File "/usr/lib/python3.10/site-packages/deluge/core/preferencesmanager.py", line 158, in start
    self.do_config_set_func(key, self.config[key])
  File "/usr/lib/python3.10/site-packages/deluge/core/preferencesmanager.py", line 172, in do_config_set_func
    on_set_func(key, value)
  File "/usr/lib/python3.10/site-packages/deluge/core/preferencesmanager.py", line 260, in _on_set_peer_tos
    self.core.apply_session_setting('peer_tos', int(value, 16))
  File "/usr/lib/python3.10/site-packages/deluge/core/core.py", line 238, in apply_session_setting
    self.apply_session_settings({key: value})
  File "/usr/lib/python3.10/site-packages/deluge/core/core.py", line 246, in apply_session_settings
    self.session.apply_settings(settings)
builtins.KeyError: 'unknown name in settings_pack: peer_tos'

However, if compile Libtorrent from RC_2_0 branch, country flags are rendered correctly, and there are no errors at startup.

#3521 Fixed Content-type's charset should be accepted and probably ignored for jsonrpc communication ibizaman
Description

Sending a request with 'Content-Type: application/json' works fine:

$ curl 'http://127.0.0.1:8112/json' -X POST \
       -H 'Content-Type: application/json' \
       --data-raw '{"method":"daemon.get_version","params":[],"id":1}'
{ "result": null
, "error": { "message": "Not authenticated"
           , "code": 1
           }
, "id": 1}

But it should work too with 'Content-Type: application/json;charset=utf-8' although it doesn't:

$ curl 'http://127.0.0.1:8112/json' -X POST \
       -H 'Content-Type: application/json;charset=utf-8' \
       --data-raw '{"method":"daemon.get_version","params":[],"id":1}'
{ "result": null
, "id": null
, "error": { "code": 5
           , "message": "JSONException: Invalid JSON request content-type: application/json;charset=utf-8"
           }
}

This is a valid content-type as per https://greenbytes.de/tech/webdav/rfc2616.html#header.content-type
I believe I know how to fix this and will create a PR for it.
#3530 Fixed Trackers are not added through magnets. mhertz
Description

As title, optional trackers defined in magnet URI's with '&tr=' args, isn't applied e.g. in GTK-UI when pressing 'add' without metadata-prefetching finished yet / filelist empty. If in GTK-UI waiting until prefetching finished / file(s) listed, then does work however. Same issue when adding magnets with optional trackers through 'deluge-console add' command.

It's irrelevant which libtorrent version used, but happens in deluge 2.1.0 but not 2.0.5 and down. I narrowed it further down specifically to commit 2bd095e being the culprit: https://github.com/deluge-torrent/deluge/commit/2bd095e5bfc49cbe178fc0ba9df38b88afc238aa

Issue originally found and reported by nemonein in following forum-thread: https://forum.deluge-torrent.org/viewtopic.php?f=7&p=235005#p235005

Thanks alot in advance!

Batch Modify
Note: See TracBatchModify for help on using batch modify.
Note: See TracQuery for help on using queries.