MobileRead Forums

MobileRead Forums (https://www.mobileread.com/forums/index.php)
-   Calibre (https://www.mobileread.com/forums/forumdisplay.php?f=166)
-   -   Calibre doesn´t start... (https://www.mobileread.com/forums/showthread.php?t=38612)

chili_666 02-11-2009 02:05 PM

Calibre doesn´t start...
 
Hello,

I know that there are a couple of threads on here, dealing with this problem, but I can´t find one that is similar to my output...

Code:

C:\Users\luis>calibre-debug -c "from calibre.gui2.main import main; main()"
Traceback (most recent call last):
  File "debug.py", line 96, in <module>
  File "debug.py", line 80, in main
  File "<string>", line 1, in <module>
  File "D:\Program Files\calibre\library.zip\calibre\gui2\main.py", line 1261, i
n main
  File "D:\Program Files\calibre\library.zip\calibre\gui2\main.py", line 218, in
 __init__
  File "calibre\library\database2.pyo", line 390, in __init__
  File "calibre\library\database2.pyo", line 360, in connect
sqlite3.OperationalError: unable to open database file

C:\Users\luis>calibredb list
Benutze Bibliothek in D:\Media\Bücher\LRF
Traceback (most recent call last):
  File "cli.py", line 448, in <module>
  File "cli.py", line 445, in main
  File "cli.py", line 124, in command_list
  File "cli.py", line 38, in get_db
  File "calibre\library\database2.pyo", line 390, in __init__
  File "calibre\library\database2.pyo", line 360, in connect
sqlite3.OperationalError: unable to open database file

The problem is here
Code:

Benutze Bibliothek in D:\Media\Bücher\LRF
calibre is telling which database it is using. But the folder does not exist anymore. This was an earlier version I tried. I uninstalled and deleted the databse before I tried this version of calibre...

So, what should I do to get it up and running? BTW, this is on Vista32.

Cheers

chili_666

chili_666 02-11-2009 02:08 PM

Oh, and tried deleting all the files in the folder with global.py as wel...

Now it just asks me to specify a folder for the databse and then disappears...

chili_666

kovidgoyal 02-11-2009 02:33 PM

You can't use paths with non ASCII characters in them for the database location on windows.

Make a folder called C:\library (make sure it is writable by the user whi is going to use calibre)

and then start calibre with

Code:

calibre --with-library C:\library
After that calibre should start normally

chili_666 02-12-2009 02:09 AM

Woo, you´re quick!

Thanks a lot for the help - It would never have occured to me that the Ü was to blame...

:thanks:


All times are GMT -4. The time now is 10:31 PM.

Powered by: vBulletin
Copyright ©2000 - 3.8.5, Jelsoft Enterprises Ltd.
MobileRead.com is a privately owned, operated and funded community.