Opened 5 years ago
Closed 5 years ago
#3245 closed bug (Duplicate)
cannot set base url
Reported by: | ffejj | Owned by: | |
---|---|---|---|
Priority: | minor | Milestone: | 2.0.3 |
Component: | Web UI | Version: | develop |
Keywords: | Cc: |
Description (last modified by )
after setting web base in web.conf i get this error when trying to access webui:
web.Server Traceback (most recent call last): builtins.TypeError: must be str, not bytes /usr/lib/python3/dist-packages/twisted/web/server.py:190 in process 189 try: 190 resrc = self.site.getResourceFor(self) 191 if resource._IEncodingResource.providedBy(resrc): /usr/lib/python3/dist-packages/twisted/web/server.py:826 in getResourceFor 825 request.sitepath = copy.copy(request.prepath) 826 return resource.getChildForRequest(self.resource, request) 827 /usr/lib/python3/dist-packages/twisted/web/resource.py:98 in getChildForRequest 97 request.prepath.append(pathElement) 98 resource = resource.getChildWithDefault(pathElement, request) 99 return resource /usr/lib/python3/dist-packages/deluge/ui/web/server.py:561 in getChildWithDefault 560 if base[0] != '/': 561 base = '/' + base 562web.Server Traceback (most recent call last): builtins.TypeError: must be str, not bytes /usr/lib/python3/dist-packages/twisted/web/server.py:190 in process 189 try: 190 resrc = self.site.getResourceFor(self) 191 if resource._IEncodingResource.providedBy(resrc): /usr/lib/python3/dist-packages/twisted/web/server.py:826 in getResourceFor 825 request.sitepath = copy.copy(request.prepath) 826 return resource.getChildForRequest(self.resource, request) 827 /usr/lib/python3/dist-packages/twisted/web/resource.py:98 in getChildForRequest 97 request.prepath.append(pathElement) 98 resource = resource.getChildWithDefault(pathElement, request) 99 return resource /usr/lib/python3/dist-packages/deluge/ui/web/server.py:561 in getChildWithDefault 560 if base[0] != '/': 561 base = '/' + base 562 builtins.TypeError: must be str, not bytes builtins.TypeError: must be str, not bytes
Change History (3)
comment:1 by , 5 years ago
Description: | modified (diff) |
---|---|
Milestone: | 2.x → 2.0.0 |
comment:3 by , 5 years ago
Milestone: | 2.1.x → 2.0.3 |
---|---|
Resolution: | → Duplicate |
Status: | new → closed |
Missed fixing this! A duplicate ticket with a bit more detail has been created and will be fixed shortly.
Note:
See TracTickets
for help on using tickets.
Thanks for reporting, looks like an encoding issue needs fixed.