1 | web.Server Traceback (most recent call last):
|
---|
2 | <type 'exceptions.LookupError'>: unknown encoding: ascii
|
---|
3 |
|
---|
4 | /usr/lib/python2.7/dist-packages/twisted/web/server.py, line 131 in process
|
---|
5 | 129 self.postpath = map(unquote, string.split(self.path[1:], '/'))
|
---|
6 | 130 try:
|
---|
7 | 131 resrc = self.site.getResourceFor(self)
|
---|
8 | 132 self.render(resrc)
|
---|
9 | /usr/lib/python2.7/dist-packages/twisted/web/server.py, line 562 in getResourceFor
|
---|
10 | 560 # servers and disconnected sites.
|
---|
11 | 561 request.sitepath = copy.copy(request.prepath)
|
---|
12 | 562 return resource.getChildForRequest(self.resource, request)
|
---|
13 | 563
|
---|
14 | /usr/lib/python2.7/dist-packages/twisted/web/resource.py, line 65 in getChildForRequest
|
---|
15 | 63 pathElement = request.postpath.pop(0)
|
---|
16 | 64 request.prepath.append(pathElement)
|
---|
17 | 65 resource = resource.getChildWithDefault(pathElement, request)
|
---|
18 | 66 return resource
|
---|
19 | /usr/lib/python2.7/dist-packages/deluge/ui/web/server.py, line 542 in getChildWithDefault
|
---|
20 | 540 base += '/'
|
---|
21 | 541
|
---|
22 | 542 request.base = base.encode('idna')
|
---|
23 | 543
|
---|
24 | /usr/lib/python2.7/encodings/idna.py, line 164 in encode
|
---|
25 | 162 trailing_dot = ''
|
---|
26 | 163 for label in labels:
|
---|
27 | 164 result.append(ToASCII(label))
|
---|
28 | 165 # Join with U+002E
|
---|
29 | /usr/lib/python2.7/encodings/idna.py, line 65 in ToASCII
|
---|
30 | 63 try:
|
---|
31 | 64 # Step 1: try ASCII
|
---|
32 | 65 label = label.encode("ascii")
|
---|
33 | 66 except UnicodeError:
|
---|
34 | <type 'exceptions.LookupError'>: unknown encoding: ascii
|
---|