Quote:
Originally Posted by kovidgoyal
calibre-debug -c "from calibre.utils.exim import test_import; test_import('c:/path/to/folder/with/exported/data', 'c:/path/to/empty/folder')"
|
So, I too had a strange issue with restoring my export onto a new machine (old one crashed). I tried importing via GUI and that resulted in a strange "Access Denied" error, so I followed the instructions quoted above, replacing the source and destination appropriately and I got the same error:
Code:
Completed 1709 1709
Settings and plugins 1 2
Python function terminated unexpectedly
[Error 5] Access is denied (Error Code: 1)
Traceback (most recent call last):
File "site.py", line 132, in main
File "site.py", line 109, in run_entry_point
File "site-packages\calibre\debug.py", line 241, in main
File "<string>", line 1, in <module>
File "site-packages\calibre\utils\exim.py", line 374, in test_import
File "site-packages\calibre\utils\exim.py", line 360, in import_data
WindowsError: [Error 5] Access is denied
I'm running Windows 10 64-bit with the latest version of Calibre 64-bit v3.2.1. I checked the file permissions of the folder and all *.calibre-data files and they're set to Full Permissions for "Everyone" as well as the permissions on the destination folder. Should I be running this import in an admin command prompt? Kind of at a loss here and not sure why the import is failing the full restore.....