#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
--
You received this message because you are subscribed to the Google Groups
"Deluge Dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/deluge-dev/045.61fc30bdca6418831e91298a253c1846%40deluge-torrent.org.