Is it fixed? I am using 2.70.0 and I am getting this error:
[16/Oct/2016:11:40:22] HTTP
Traceback (most recent call last):
File "/usr/lib/python2.7/site-packages/cherrypy/_cprequest.py", line 670, in respond
response.body = self.handler()
File "/usr/lib/python2.7/site-packages/cherrypy/lib/encoding.py", line 220, in __call__
self.body = self.oldhandler(*args, **kwargs)
File "/usr/lib/python2.7/site-packages/cherrypy/_cpdispatch.py", line 60, in __call__
return self.callable(*self.args, **self.kwargs)
File "/usr/lib/calibre/calibre/library/server/utils.py", line 55, in do
ans = func(*args, **kwargs)
File "/usr/lib/calibre/calibre/library/server/utils.py", line 110, in authenticate
self.secret)
File "/usr/lib/python2.7/site-packages/cherrypy/lib/auth_digest.py", line 363, in digest_auth
ha1 = get_ha1(realm, auth.username)
File "/usr/lib/python2.7/site-packages/cherrypy/lib/auth_digest.py", line 58, in get_ha1
return md5_hex('%s:%s:%s' % (username, realm, password))
File "/usr/lib/python2.7/site-packages/cherrypy/lib/auth_digest.py", line 31, in <lambda>
md5_hex = lambda s: md5(ntob(s)).hexdigest()
File "/usr/lib/python2.7/site-packages/cherrypy/_cpcompat.py", line 54, in ntob
assert_native(n)
File "/usr/lib/python2.7/site-packages/cherrypy/_cpcompat.py", line 89, in assert_native
raise TypeError("n must be a native str (got %s)" % type(n).__name__)
TypeError: n must be a native str (got unicode)
Is it fixed? I am using 2.70.0 and I am getting this error:
[16/Oct/ 2016:11: 40:22] HTTP python2. 7/site- packages/ cherrypy/ _cprequest. py", line 670, in respond python2. 7/site- packages/ cherrypy/ lib/encoding. py", line 220, in __call__ (*args, **kwargs) python2. 7/site- packages/ cherrypy/ _cpdispatch. py", line 60, in __call__ *self.args, **self.kwargs) calibre/ calibre/ library/ server/ utils.py" , line 55, in do calibre/ calibre/ library/ server/ utils.py" , line 110, in authenticate python2. 7/site- packages/ cherrypy/ lib/auth_ digest. py", line 363, in digest_auth python2. 7/site- packages/ cherrypy/ lib/auth_ digest. py", line 58, in get_ha1 python2. 7/site- packages/ cherrypy/ lib/auth_ digest. py", line 31, in <lambda> s)).hexdigest( ) python2. 7/site- packages/ cherrypy/ _cpcompat. py", line 54, in ntob native( n) python2. 7/site- packages/ cherrypy/ _cpcompat. py", line 89, in assert_native
Traceback (most recent call last):
File "/usr/lib/
response.body = self.handler()
File "/usr/lib/
self.body = self.oldhandler
File "/usr/lib/
return self.callable(
File "/usr/lib/
ans = func(*args, **kwargs)
File "/usr/lib/
self.secret)
File "/usr/lib/
ha1 = get_ha1(realm, auth.username)
File "/usr/lib/
return md5_hex('%s:%s:%s' % (username, realm, password))
File "/usr/lib/
md5_hex = lambda s: md5(ntob(
File "/usr/lib/
assert_
File "/usr/lib/
raise TypeError("n must be a native str (got %s)" % type(n).__name__)
TypeError: n must be a native str (got unicode)