View Single Post
Old 09-01-2013, 06:41 PM   #2
msteine1
Junior Member
msteine1 began at the beginning.
 
Posts: 4
Karma: 10
Join Date: Sep 2013
Device: headless server
Ignore the Quote. It seems to me, that library-path=... is a global option and does not help here

Quote:
I think the pathes in my metadata.db are wrong because I copied it from a windows machine where a local instance of calibre is running.
Code:
Tried to fix it with: calibredb library-path /opt/owncloud/.../04_books
But no success and I can't find a helpfile to the library-path command.


Next thing I tried is to restore the database, but no luck either:
Code:
calibredb restore_database -r
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 1246, in command_restore_database
  File "site-packages/calibre/db/restore.py", line 44, in __init__
  File "posixpath.py", line 352, in abspath
  File "posixpath.py", line 61, in isabs
AttributeError: 'NoneType' object has no attribute 'startswith'

Last edited by msteine1; 09-01-2013 at 06:55 PM.
msteine1 is offline   Reply With Quote