Skip to content

opds address dont work #1096

Description

@Obi8

Hello Guys,

i installed calibre-web on my raspberry pi.
It looks really good and the performance is also good. :-)
My problem is if i try to enter the opds calibre-web address like hostname:port/opds/
i must download a file "application/atom+xml".

If try with a opds reader (freda) i get a error:

ERROR:tornado.access:500 GET /opds/series/2 (192.168.178.58) 59.74ms
WARNING:tornado.access:401 GET /opds/series/2 (192.168.178.58) 14.42ms
WARNING:tornado.access:401 GET /opds (192.168.178.58) 14.16ms
 ERROR in app: Exception on /opds/series/2 [GET]
Traceback (most recent call last):
  File "/usr/local/lib/python2.7/dist-packages/flask/app.py", line 2446, in wsgi                                                       _app
    response = self.full_dispatch_request()
  File "/usr/local/lib/python2.7/dist-packages/flask/app.py", line 1951, in full                                                       _dispatch_request
    rv = self.handle_user_exception(e)
  File "/usr/local/lib/python2.7/dist-packages/flask/app.py", line 1820, in hand                                                       le_user_exception
    reraise(exc_type, exc_value, tb)
  File "/usr/local/lib/python2.7/dist-packages/flask/app.py", line 1949, in full                                                       _dispatch_request
    rv = self.dispatch_request()
  File "/usr/local/lib/python2.7/dist-packages/flask/app.py", line 1935, in disp                                                       atch_request
    return self.view_functions[rule.endpoint](**req.view_args)
  File "/home/pi/calibre-web/cps/web.py", line 285, in decorated
    if not auth or not check_auth(auth.username, auth.password):
  File "/home/pi/calibre-web/cps/web.py", line 270, in check_auth
    return bool(user and check_password_hash(user.password, password))
  File "/usr/local/lib/python2.7/dist-packages/werkzeug/security.py", line 221,                                                        in check_password_hash
    return safe_str_cmp(_hash_internal(method, salt, password)[0], hashval)
  File "/usr/local/lib/python2.7/dist-packages/werkzeug/security.py", line 153,                                                        in _hash_internal
    rv = pbkdf2_hex(password, salt, iterations, hashfunc=method)
  File "/usr/local/lib/python2.7/dist-packages/werkzeug/security.py", line 53, i                                                       n pbkdf2_hex
    rv = pbkdf2_bin(data, salt, iterations, keylen, hashfunc)
  File "/usr/local/lib/python2.7/dist-packages/werkzeug/security.py", line 87, i                                                       n pbkdf2_bin
    return hashlib.pbkdf2_hmac(hash_name, data, salt, iterations, keylen)
TypeError: pbkdf2_hmac() argument 2 must be string or buffer, not None

Can any one help me?

My System:
Raspberry Pi 3
Rasbian
All dependecies are installed

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions