![]() |
#1 |
Junior Member
![]() Posts: 5
Karma: 10
Join Date: Aug 2024
Location: Kansas City, MO
Device: Kindle 11
|
PermissionError [WinError 5] when creating Catalog
Hi all -
I have searched threads and just can't seem to find the answer. Been using Calibre a very long time but don't "tweak" it much. A few months back, I suddenly started getting the following error when attempting to create a current .CSV Catalog for my library: calibre, version 8.0.1 (win32, embedded-python: True) Conversion error: Failed: Generate catalog Generate catalog Catalog_CSV_XML('Calibre Library-Brian'): Generating CSV connected_device: Amazon Kindle Book count: 7709 Fields: ondevice,authors,title,series,series_index,formats ,rating,tags,size,author_sort,timestamp 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 50, in run_entry_point File "calibre\utils\ipc\worker.py", line 215, in main File "calibre\gui2\convert\gui_conversion.py", line 85, in gui_catalog File "shutil.py", line 759, in rmtree File "shutil.py", line 617, in _rmtree_unsafe File "shutil.py", line 617, in _rmtree_unsafe File "shutil.py", line 626, in _rmtree_unsafe File "shutil.py", line 624, in _rmtree_unsafe PermissionError: [WinError 5] Access is denied: 'C:\\Users\\BRIAN~1.HEF\\AppData\\Local\\Temp\\cal ibre_jzx_fasb\\8lbqbq1mcallib\\.calnotes\\backup' I have gone to the Temp folder and made sure it was not read only or hidden and have deleted the files out of it, didn't help. Also tried the debug mode, and didn't work as well as restarted without plugins. Any advice to get around this? I was able to get it to work on a 2nd computer with a fresh install, but now that computer is giving the same error. I have been using the Calibre portable and keep my library on a 32gb stick. Thank you for any help! |
![]() |
![]() |
![]() |
#2 |
Addict
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 241
Karma: 291844
Join Date: Oct 2019
Device: Kobo Nia
|
Standard advice for this error on Windows is to reboot the PC into safe mode and see if the problem goes away. if it does then something in the system startup (which safe mode has disabled) is causing this issue. Normally it's a 3rd party virus checker.
|
![]() |
![]() |
Advert | |
|
![]() |
#3 |
Junior Member
![]() Posts: 5
Karma: 10
Join Date: Aug 2024
Location: Kansas City, MO
Device: Kindle 11
|
OK, that didn't work. Again, I am using Calibre portable, so I copied my entire library folder onto my PC. Then cleaned my flash drive and cleared any calibre folders in my windows folders. I reinstalled the latest Calibre portable onto the flash drive and was able to create a csv catalog with no problem (of course only the one book). Then I imported my library using switch/create library. But when I try to create a csv catalog I get the same previous permission error message. It seems to be something embedded in my library database.
Is there any way to import my entire library of ~8000 books without getting the previous configuration? Or am I missing something else? |
![]() |
![]() |
![]() |
#4 | |
Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 2,169
Karma: 8800000
Join Date: Jun 2010
Device: Kobo Clara HD,Hisence Sero 7 Pro RIP, Nook STR, jetbook lite
|
https://www.mobileread.com/forums/sh...63&postcount=4
Fix teh permissions for your calibre temp folder. C:\\Users\\BRIAN~1.HEF\\AppData\\Local\\Temp\\cal ibre_jzx_fasb\\8lbqbq1mcallib\\.calnotes\\backup' AV is a good place to start. bernie Quote:
Last edited by gbm; Today at 05:20 PM. |
|
![]() |
![]() |
![]() |
#5 | |
null operator (he/him)
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 21,629
Karma: 29710338
Join Date: Mar 2012
Location: Sydney Australia
Device: none
|
Quote:
BR |
|
![]() |
![]() |
Advert | |
|
![]() |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
PermissionError: [WinError 5] Access is denied ... \AppData\\Local\\Temp\\ | 1v4n0 | Conversion | 1 | 11-20-2023 04:44 AM |
PermissionError: [WinError 5] Access is denied when updating Metadata | rb431 | Calibre | 21 | 06-10-2023 11:18 AM |
Creating Catalog | Tanjamuse | Calibre | 6 | 02-28-2020 01:44 AM |
Problem with creating catalog | Jade Aislin | Library Management | 2 | 07-03-2013 05:36 PM |
Problem creating catalog | beckywc | Library Management | 10 | 12-05-2012 03:27 PM |