View Single Post
Old 09-01-2013, 06:29 PM   #1
msteine1
Junior Member
msteine1 began at the beginning.
 
Posts: 4
Karma: 10
Join Date: Sep 2013
Device: headless server
Question Headless Server problem: 'NoneType' object has no attribute

Hi there,

calibre is really great, thxs for this software.

I installed calibre on a headless ubuntu server.

Service runs and I can access the calibre service with the URL and loging in is also possible. But if I go to “ALL BOOKS” I get the following error:

Code:
Error: No books found

TypeError: Object # has no method ‘undef’

at Object.printStackTrace.implementation.createException (http://192.168.XXX.123:8080/static/stacktrace.js:81:18)

at Object.printStackTrace.implementation.run (http://192.168.XXX.123:8080/static/stacktrace.js:66:25)

at printStackTrace (http://192.168.XXX.123:8080/static/stacktrace.js:57:62)

at render_error (http://192.168.XXX.123:8080/static/browse/browse.js:134:18)

at booklist (http://192.168.XXX.123:8080/static/browse/browse.js:271:29)

at HTMLDocument. (http://192.168.XXX.123:8080/browse/category/allbooks:33:17)

at Function.jQuery.extend.ready (http://192.168.XXX.123:8080/static/jquery.js:392:9)

at HTMLDocument.DOMContentLoaded (http://192.168.XXX.123:8080/static/jquery.js:745:10)
My library is here -> : /opt/owncloud/…/04_books

I tried it with other permissions (0775) and changed owner and group to root, but no success ;(

If I check the library I get the following message:

Code:
 
calibredb check_library
Traceback (most recent call last):
  File "site.py", line 58, in main
  File "site-packages/calibre/library/cli.py", line 1470, in main
  File "site-packages/calibre/library/cli.py", line 1190, in command_check_library
  File "site-packages/calibre/db/legacy.py", line 63, in __init__
  File "site-packages/calibre/db/backend.py", line 313, in __init__
  File "posixpath.py", line 352, in abspath
  File "posixpath.py", line 61, in isabs
AttributeError: 'NoneType' object has no attribute 'startswith'

Hopefully someone can help me with that.

Martin
msteine1 is offline   Reply With Quote