View Single Post
Old 02-23-2021, 07:10 PM   #9
markpearl
Enthusiast
markpearl ought to be getting tired of karma fortunes by now.markpearl ought to be getting tired of karma fortunes by now.markpearl ought to be getting tired of karma fortunes by now.markpearl ought to be getting tired of karma fortunes by now.markpearl ought to be getting tired of karma fortunes by now.markpearl ought to be getting tired of karma fortunes by now.markpearl ought to be getting tired of karma fortunes by now.markpearl ought to be getting tired of karma fortunes by now.markpearl ought to be getting tired of karma fortunes by now.markpearl ought to be getting tired of karma fortunes by now.markpearl ought to be getting tired of karma fortunes by now.
 
Posts: 43
Karma: 576732
Join Date: Jun 2011
Device: Kindle
Quote:
Originally Posted by gbm View Post
I was able to reproduce your problem.
Spoiler:
Code:
calibre, version 5.10.1
ERROR: Unhandled exception: <b>PermissionError</b>:[WinError 5] Access is denied: 'C:\\Users\\sadie\\AppData\\Local\\Temp\\calibre_ayuypwhy'

calibre 5.10.1 [64bit]  embedded-python: True is64bit: True
Windows-10-10.0.18362 Windows ('64bit', 'WindowsPE')
('Windows', '10', '10.0.18362')
Python 3.8.5
Windows: ('10', '10.0.18362', '', 'Multiprocessor Free')
Interface language: None
Successfully initialized third party plugins: 
Traceback (most recent call last):
  File "calibre\gui2\convert\single.py", line 289, in accept
  File "calibre\gui2\convert\metadata.py", line 282, in commit
  File "calibre\gui2\convert\metadata.py", line 35, in create_opf_file
  File "calibre\ptempfile.py", line 172, in __init__
  File "calibre\ptempfile.py", line 123, in base_dir
  File "tempfile.py", line 359, in mkdtemp
PermissionError: [WinError 5] Access is denied: 'C:\\Users\\sadie\\AppData\\Local\\Temp\\calibre_ayuypwhy'

You need to open the file manager and open:
Code:
C:\Users\user\AppData\Local
Right click on Temp
Click on Properties
Click on Security
Click on edit
Highlight user
in the permissions for user remove the check under Deny
click apply
click continue on all error messages


You are done

bernie
Bernie, I can't thank you enough! I'd give you my first born but he's 30 years old...lol. I don't know how the heck the permissions changed when I upgraded from Windows 7 to 10.

The only difference in my setup is that there are two permissions -- "Everyone" and "Administrators" -- the 'allows' were all checked for Admin but only the first two for Everyone (no 'deny' anywhere) so I ticked 'allow' in the rest of the boxes, clicked through the error messages (all regarding Python) and closed it out. Calibre now converts for me...you're a prince!

Only question I have is do I upgrade safely to Calibre 5.x now or leave well enough alone and stick with 4.23? I'm inclined to leave it for now and enjoy the program as I have for the past decade.

Best regards!
markpearl is offline   Reply With Quote