![]() |
#1 |
Junior Member
![]() Posts: 3
Karma: 10
Join Date: Sep 2024
Device: Tolino shine 3
|
"FileNotFoundError" Calibre doesn't start
Hello guys,
i wanted to start calibre today after maybe 3(?) weeks of not using it. But it didn't start. I tryed uninstalling and reinstalling it, but nothing changed. On reddit i read, that deleting the folders with calibre in /appdata/local and /appdata/roaming. I uninstalled calibre, did that, restarted the pc and than reinstall. Again nothing is happening. calibre-debug -g gave me this message: Traceback (most recent call last): File "runpy.py", line 198, in _run_module_as_main File "runpy.py", line 88, in _run_code File "site.py", line 83, in <module> File "site.py", line 78, in main File "site.py", line 49, in run_entry_point File "importlib\__init__.py", line 126, in import_module File "<frozen importlib._bootstrap>", line 1204, in _gcd_import File "<frozen importlib._bootstrap>", line 1176, in _find_and_load File "<frozen importlib._bootstrap>", line 1126, in _find_and_load_unlocked File "<frozen importlib._bootstrap>", line 241, in _call_with_frames_removed File "<frozen importlib._bootstrap>", line 1204, in _gcd_import File "<frozen importlib._bootstrap>", line 1176, in _find_and_load File "<frozen importlib._bootstrap>", line 1147, in _find_and_load_unlocked File "<frozen importlib._bootstrap>", line 690, in _load_unlocked File "bypy-importer.py", line 279, in exec_module File "calibre\__init__.py", line 23, in <module> File "<frozen importlib._bootstrap>", line 1176, in _find_and_load File "<frozen importlib._bootstrap>", line 1147, in _find_and_load_unlocked File "<frozen importlib._bootstrap>", line 690, in _load_unlocked File "bypy-importer.py", line 279, in exec_module File "calibre\constants.py", line 424, in <module> File "calibre\constants.py", line 174, in cache_dir File "calibre\constants.py", line 131, in _get_cache_dir File "os.py", line 215, in makedirs File "os.py", line 225, in makedirs FileNotFoundError: [WinError 2] Das System kann die angegebene Datei nicht finden: 'C:\\Users\\wolfg\\AppData\\Roaming\\calibre' Why does calibre not creat this folders anew ? And how can I force it to do so? Friendly greetings |
![]() |
![]() |
![]() |
#2 |
creator of calibre
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 44,273
Karma: 23661992
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
|
That is the system call to create those folders that is failing. Make sure
C:\Users\wolfg\AppData\Roaming exists and has correct permissions |
![]() |
![]() |
![]() |
#3 |
Junior Member
![]() Posts: 3
Karma: 10
Join Date: Sep 2024
Device: Tolino shine 3
|
The folder exist, but what permission for the folder do you mean? Every other program can write new folders in there. And if I manually create the missing folders it wants to acces the file "global-atomic-_h7f0zqn".
I am really clueless, but thanks for the quick reply |
![]() |
![]() |
![]() |
#4 |
creator of calibre
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 44,273
Karma: 23661992
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
|
Then you have something on your computer interfering with calibre, reboot in safe mode and it will likely work, to confirm.
|
![]() |
![]() |
![]() |
#5 |
Junior Member
![]() Posts: 3
Karma: 10
Join Date: Sep 2024
Device: Tolino shine 3
|
It worked in save mode and the missing folders are finally back, but when I start it in regular mode, I get the message:
"calibre, version 7.17.0 FEHLER: Kann keinen temporären Ordner erzeugen: Kann keinen temporären Ordner erzeugen, Calibre kann nicht gestartet werden "Details anzeigen" anklicken für weitere Informationen." "ERROR: Cannot create a temporary folder: Cannot create a temporary folder, Calibre cannot be started “Click on ‘Show details’ for more information.” Traceback (most recent call last): File "calibre\gui2\__init__.py", line 1223, in __init__ File "calibre\ptempfile.py", line 122, in base_dir File "tempfile.py", line 368, in mkdtemp FileNotFoundError: [WinError 2] Das System kann die angegebene Datei nicht finden: 'C:\\Users\\wolfg\\AppData\\Local\\Temp\\calibre_2 581d9cm' I followed the instructions in this post, but with no effect. https://www.mobileread.com/forums/sh...d.php?t=178552 After I changed the temp directory, it first seemed to be working, but than I got this message: calibre, version 7.17.0 FEHLER: Contacting calibre failed: Failed to contact running instance of calibre, try restarting calibre Failed to connect to Listener at: \\.\pipe\CalibreGUI-wolfgx with error: QLocalSocket::connectToServer: Invalid name b'launched:["calibre.exe"]' So i tryed to reinstall again and now I'm back to: calibre, version 7.17.0 FEHLER: Fehler beim Starten: There was an error during calibre startup. Parts of calibre may not function. Click "Show details" to learn more. Traceback (most recent call last): File "calibre\gui2\main.py", line 250, in start_gui File "calibre\gui2\ui.py", line 350, in initialize File "calibre\gui2\init.py", line 87, in init_library_view_mixin File "calibre\utils\config_base.py", line 500, in __setitem__ File "calibre\utils\config_base.py", line 514, in set File "calibre\utils\config_base.py", line 449, in set File "calibre\utils\config_base.py", line 386, in commit_data File "tempfile.py", line 563, in NamedTemporaryFile File "tempfile.py", line 560, in opener File "tempfile.py", line 256, in _mkstemp_inner FileNotFoundError: [Errno 2] No such file or directory: 'C:\\Users\\wolfg\\AppData\\Roaming\\calibre\\glob al-atomic-x8rsspfa' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "calibre\gui2\main.py", line 307, in initialize_db_stage2 File "calibre\gui2\main.py", line 249, in start_gui File "calibre\utils\config.py", line 415, in __exit__ File "calibre\utils\config.py", line 408, in commit File "calibre\utils\config_base.py", line 386, in commit_data File "tempfile.py", line 563, in NamedTemporaryFile File "tempfile.py", line 560, in opener File "tempfile.py", line 256, in _mkstemp_inner FileNotFoundError: [Errno 2] No such file or directory: 'C:\\Users\\wolfg\\AppData\\Roaming\\calibre\\gui-atomic-e7ox30op' I tryed Safe Mode again and it still works there. But in regular mode I´m stuck with this message. It seems that another program/utility/service somehow blocks calibre from working corectly, but I can't find the right one. And the last changes I made on my PC since the last time calibre was working, were setting up a Ubuntu USB boot drive and the installation of the ecosia browser, which I have already uninstalled. But I don't have to use calibre that much, for now I can use it in safe mode and I won't reset my windows just for that. If you have more input I would be glad, but it`s not urgent. Thanks for your help |
![]() |
![]() |
![]() |
#6 | ||
Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 2,111
Karma: 8796704
Join Date: Jun 2010
Device: Kobo Clara HD,Hisence Sero 7 Pro RIP, Nook STR, jetbook lite
|
How to change File and Folder permissions in Windows 11/10 Quote:
bernie Quote:
|
||
![]() |
![]() |
![]() |
Tags |
calibre, filenotfounderror |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
Start "edit book" plugin in Calibre 5 | wolf123 | Development | 6 | 02-05-2021 08:06 AM |
How to define the "Start" or "Beginning" page in Calibre | paul_01 | Conversion | 5 | 08-12-2016 06:58 AM |
"invalid start byte" when trying to open a azw3 file with calibre | berlineirn06 | Conversion | 4 | 12-26-2012 01:44 PM |
Using Calibre to make doc -> mobi files. Problems with "start reading" section. | Stodder | Calibre | 0 | 07-03-2011 10:32 AM |
A little newb help? Launch Calibre via batch file with "Start in tray" modifier | jphphotography | Calibre | 7 | 01-04-2011 11:49 AM |