[Deluge] #3261: web ui 'idna' codec failed

7 views
Skip to first unread message

Deluge

unread,
Jun 11, 2019, 5:56:48 AM6/11/19
to delug...@googlegroups.com
#3261: web ui 'idna' codec failed
------------------------+-------------------
Reporter: ilya-fedin | Owner:
Type: bug | Status: new
Priority: minor | Milestone: 2.0.3
Component: Web UI | Version: 2.0.0
Keywords: |
------------------------+-------------------
After setting base path, I getting this error:

{{{
01:37:40 [CRITICAL][twisted :154 ] Unhandled Error
Traceback (most recent call last):
File "/usr/lib/python3/dist-packages/twisted/protocols/basic.py", line
571, in dataReceived
why = self.lineReceived(line)
File "/usr/lib/python3/dist-packages/twisted/web/http.py", line 2013, in
lineReceived
self.allContentReceived()
File "/usr/lib/python3/dist-packages/twisted/web/http.py", line 2104, in
allContentReceived
req.requestReceived(command, path, version)
File "/usr/lib/python3/dist-packages/twisted/web/http.py", line 866, in
requestReceived
self.process()
--- <exception caught here> ---
File "/usr/lib/python3/dist-packages/twisted/web/server.py", line 190,
in process
resrc = self.site.getResourceFor(self)
File "/usr/lib/python3/dist-packages/twisted/web/server.py", line 826,
in getResourceFor
return resource.getChildForRequest(self.resource, request)
File "/usr/lib/python3/dist-packages/twisted/web/resource.py", line 98,
in getChildForRequest
resource = resource.getChildWithDefault(pathElement, request)
File "/usr/lib/python3/dist-packages/deluge/ui/web/server.py", line 585,
in getChildWithDefault
request.base = base.encode('idna')
builtins.UnicodeError: encoding with 'idna' codec failed (UnicodeError:
label too long)
}}}

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

Deluge

unread,
Jun 11, 2019, 8:28:35 AM6/11/19
to delug...@googlegroups.com
#3261: web ui 'idna' codec failed
-------------------------+-------------------

Reporter: ilya-fedin | Owner:
Type: bug | Status: new
Priority: minor | Milestone: 2.0.3
Component: Web UI | Version: 2.0.0
Resolution: | Keywords:
-------------------------+-------------------

Comment (by ilya-fedin):

The path is
/api/hassio_ingress/KC1iVW8q2Bovo6AONy4jJ2lIwb_Lx2qQSd4U72LHdcM/. It is
automatically generated and there is no possibility to shorten it (I'm
trying to run Deluge in Hass.io Ingress).

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

Deluge

unread,
Jun 11, 2019, 3:27:28 PM6/11/19
to delug...@googlegroups.com
#3261: web ui 'idna' codec failed
-------------------------+--------------------
Reporter: ilya-fedin | Owner:
Type: bug | Status: closed

Priority: minor | Milestone: 2.0.3
Component: Web UI | Version: 2.0.0
Resolution: Fixed | Keywords:
-------------------------+--------------------
Changes (by Cas):

* status: new => closed
* resolution: => Fixed


Comment:

Fixed in develop [5d7db3e72]

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

Reply all
Reply to author
Forward
0 new messages