Calibre-web book details is empty

After the last update to version 0.6.5-ls48 when I click on any book, the book details window remains empty, I cannot open the book, edit metadata, etc.

If I try to upload a book in calibre-web there are these errors:

Internal Server Error

500 Internal Server Error: The server encountered an internal error and was unable to complete your request. Either the server is overloaded or there is an error in the application.

Traceback (most recent call last):

File “/usr/local/lib/python3.6/dist-packages/flask/”, line 2446, in wsgi_app

response = self.full_dispatch_request()

File “/usr/local/lib/python3.6/dist-packages/flask/”, line 1951, in full_dispatch_request

rv = self.handle_user_exception(e)

File “/usr/local/lib/python3.6/dist-packages/flask/”, line 1820, in handle_user_exception

reraise(exc_type, exc_value, tb)

File “/usr/local/lib/python3.6/dist-packages/flask/”, line 39, in reraise

raise value

File “/usr/local/lib/python3.6/dist-packages/flask/”, line 1949, in full_dispatch_request

rv = self.dispatch_request()

File “/usr/local/lib/python3.6/dist-packages/flask/”, line 1935, in dispatch_request

return self.view_functionsrule.endpoint

File “/app/calibre-web/cps/”, line 166, in decorated_view

return login_required(func)(*args, **kwargs)

File “/usr/local/lib/python3.6/dist-packages/flask_login/”, line 272, in decorated_view

return func(*args, **kwargs)

File “/app/calibre-web/cps/”, line 1471, in show_book

is_xhr=request.is_xhr, title=entries.title, books_shelfs=book_in_shelfs,

File “/usr/local/lib/python3.6/dist-packages/werkzeug/”, line 347, in getattr

return getattr(self._get_current_object(), name)

AttributeError: ‘Request’ object has no attribute ‘is_xhr’