[Deluge] #3547: deluge-web error related to GeoIP

2 views
Skip to first unread message

Deluge

unread,
Aug 27, 2022, 1:17:03 PM8/27/22
to delug...@googlegroups.com
#3547: deluge-web error related to GeoIP
----------------------------+---------------------
Reporter: th0ma7 | Type: bug
Status: new | Priority: minor
Milestone: needs verified | Component: Unknown
Version: 2.1.0 | Keywords:
----------------------------+---------------------
Currently preparing a PR on github to publish an updated version of deluge
for Synology NAS for version DSM6 and DSM7
https://github.com/SynoCommunity/spksrc/pull/5398

Client and server are version 2.1.1

I noticed at deluged startup that it was complaining related to GeoIP:
{{{
deluged.log:23:26:53 [WARNING ][deluge.core.preferencesmanager:465 ] GeoIP
Unavailable: 'NoneType' object is not callable
}}}

Did a bit a search and noticed that while the C library was properly
included within the deluge package file, that the python wheel was
missing.

Right after I've included the GeoIP wheel in deluge package, the deluge-
web daemon failed to start with the following error:
{{{
Starting deluge command /volume1/@appstore/deluge/env/bin/deluge-web -c
/volume1/@appdata/deluge -l /volume1/@appdata/deluge/logs/deluge-web.log
-L info --logrotate -P /volume1/@appdata/deluge/logs/deluge-web.pid -d
Traceback (most recent call last):
File "/volume1/@appstore/deluge/env/bin/deluge-web", line 8, in <module>
sys.exit(start())
File "/volume1/@appstore/deluge/env/lib/python3.10/site-
packages/deluge/ui/web/__init__.py", line 6, in start
web.start()
File "/volume1/@appstore/deluge/env/lib/python3.10/site-
packages/deluge/ui/web/web.py", line 71, in start
self.__server = server.DelugeWeb(options=self.options)
File "/volume1/@appstore/deluge/env/lib/python3.10/site-
packages/deluge/ui/web/server.py", line 692, in __init__
self.web_api = WebApi()
File "/volume1/@appstore/deluge/env/lib/python3.10/site-
packages/deluge/ui/web/json_api.py", line 380, in __init__
self.hostlist = HostList()
File "/volume1/@appstore/deluge/env/lib/python3.10/site-
packages/deluge/ui/hostlist.py", line 102, in __init__
default_hostlist(),
File "/volume1/@appstore/deluge/env/lib/python3.10/site-
packages/deluge/ui/hostlist.py", line 31, in default_hostlist
username, password = get_localhost_auth()
TypeError: cannot unpack non-iterable NoneType object
}}}

It's not a blocker per say as I'll simply comment out GeoIP for now but
wondered if there isn't an isse elsewhere?

Thnx in advance.

--
Ticket URL: <https://dev.deluge-torrent.org/ticket/3547>
Deluge <https://deluge-torrent.org/>
Deluge Project

Deluge

unread,
Aug 27, 2022, 2:46:13 PM8/27/22
to delug...@googlegroups.com
#3547: deluge-web error related to GeoIP
----------------------+----------------------------
Reporter: th0ma7 | Owner:

Type: bug | Status: new
Priority: minor | Milestone: needs verified
Component: Unknown | Version: 2.1.0
Resolution: | Keywords:
----------------------+----------------------------

Comment (by th0ma7):

Seems similar to: https://dev.deluge-torrent.org/ticket/2926

After starting fresh with a default core.conf file and importing my
changes from my previous version all is now good :) Problem now resolved.

--
Ticket URL: <https://dev.deluge-torrent.org/ticket/3547#comment:1>

Reply all
Reply to author
Forward
0 new messages