![]() |
#1 |
Junior Member
![]() Posts: 3
Karma: 10
Join Date: Jan 2015
Device: Kindle Paperwhite
|
Help
Calibre was working the other day, today I get a python error when it tries to start. Uninstalled/removed program files twice and reinstalled, nothing.
cmd output Microsoft Windows [Version 6.1.7601] Copyright (c) 2009 Microsoft Corporation. All rights reserved. C:\Users\Broe>calibre-debug -g Python function terminated unexpectedly [Error 5] Access is denied: u'C:\\Users\\Broe\\AppData\\Local\\Temp\\calibre_j 8swdu' (Error Code: 1) Traceback (most recent call last): File "site.py", line 132, in main File "site.py", line 108, in run_entry_point File "site.py", line 50, in load_module File "site-packages\calibre\__init__.py", line 21, in <module> File "site.py", line 50, in load_module File "site-packages\calibre\startup.py", line 52, in <module> File "site-packages\calibre\ptempfile.py", line 101, in base_dir File "tempfile.py", line 333, in mkdtemp WindowsError: [Error 5] Access is denied: u'C:\\Users\\Broe\\AppData\\Local\\Tem p\\calibre_j8swdu' Any ideas? Thanks! |
![]() |
![]() |
![]() |
#2 |
Well trained by Cats
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 31,057
Karma: 60358908
Join Date: Aug 2009
Location: The Central Coast of California
Device: Kobo Libra2,Kobo Aura2v1, K4NT(Fixed: New Bat.), Galaxy Tab A
|
That says something (anti virus?) is blocking your TMP folder.
Have you rebooted? |
![]() |
![]() |
Advert | |
|
![]() |
#3 |
Junior Member
![]() Posts: 3
Karma: 10
Join Date: Jan 2015
Device: Kindle Paperwhite
|
I've rebooted a couple times. I also just tried disabling my anti-virus and firewall and still got the same message. Left them disabled, rebooted, no avail.
|
![]() |
![]() |
![]() |
#4 | |
null operator (he/him)
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 21,725
Karma: 29711016
Join Date: Mar 2012
Location: Sydney Australia
Device: none
|
Quote:
Create a directory at root of system drive called something like calibre_temp, then create a user environment variable CALIBRE_TEMP_DIR that points to that directory. See Customizing calibre — Environment Variables BR |
|
![]() |
![]() |
![]() |
#5 |
Grand Sorcerer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 13,515
Karma: 78910202
Join Date: Nov 2007
Location: Toronto
Device: Libra H2O, Libra Colour
|
|
![]() |
![]() |
Advert | |
|
![]() |
#6 |
Junior Member
![]() Posts: 3
Karma: 10
Join Date: Jan 2015
Device: Kindle Paperwhite
|
Big thanks to everyone. Turns out it was permissions of the temp folder. Don't know why it was changed but it's now working and now I know another place to look in similar situations. Thanks again!
|
![]() |
![]() |