Thread: Ubuntu Server
View Single Post
Old 12-11-2015, 06:52 PM   #1
Karlieth
Junior Member
Karlieth began at the beginning.
 
Posts: 3
Karma: 10
Join Date: Dec 2015
Device: kindle paperwhite
Ubuntu Server

Hey, I have an Ubuntu server setup (headless) and am unable to set a library path every time i try it returns
xvfb-run calibredb add /mnt/sdc/toadd/* --library-path /mnt/sdc/Edutational/*
Traceback (most recent call last):
File "site.py", line 66, in main
File "site-packages/calibre/library/cli.py", line 1604, in main
File "site-packages/calibre/library/cli.py", line 437, in command_add
File "site-packages/calibre/library/cli.py", line 68, in get_db
File "site-packages/calibre/db/legacy.py", line 73, in __init__
File "site-packages/calibre/db/legacy.py", line 46, in create_backend
File "site-packages/calibre/db/backend.py", line 355, in __init__
File "site-packages/calibre/db/backend.py", line 1080, in fget
File "site-packages/calibre/db/backend.py", line 798, in conn
File "site-packages/calibre/db/backend.py", line 250, in __init__
CantOpenError: CantOpenError: unable to open database file

i have removed a metadata.db file that was created in my home directory, I realize this would be simpler if i installed a GUI but that kind of defeats the purpose of the server
Attached Thumbnails
Click image for larger version

Name:	Karlieth's_Graphic.PNG
Views:	303
Size:	282.4 KB
ID:	144576  

Last edited by WT Sharpe; 12-13-2015 at 12:40 AM. Reason: Screenshot
Karlieth is offline   Reply With Quote