Register Guidelines E-Books Today's Posts Search

Go Back   MobileRead Forums > E-Book Software > Calibre > Devices

Notices

Reply
 
Thread Tools Search this Thread
Old 01-16-2015, 02:53 PM   #1
crystal_lattice
Junior Member
crystal_lattice began at the beginning.
 
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!
crystal_lattice is offline   Reply With Quote
Old 01-16-2015, 03:48 PM   #2
theducks
Well trained by Cats
theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.
 
theducks's Avatar
 
Posts: 31,059
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?
theducks is offline   Reply With Quote
Advert
Old 01-17-2015, 12:27 AM   #3
crystal_lattice
Junior Member
crystal_lattice began at the beginning.
 
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.
crystal_lattice is offline   Reply With Quote
Old 01-17-2015, 03:33 AM   #4
BetterRed
null operator (he/him)
BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.
 
Posts: 21,725
Karma: 29711016
Join Date: Mar 2012
Location: Sydney Australia
Device: none
Quote:
Originally Posted by crystal_lattice View Post
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.
@crystal_lattice - try giving calibre a dedicated "temp' area

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
BetterRed is offline   Reply With Quote
Old 01-17-2015, 04:33 AM   #5
PeterT
Grand Sorcerer
PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.
 
Posts: 13,522
Karma: 78910202
Join Date: Nov 2007
Location: Toronto
Device: Libra H2O, Libra Colour
Also see Using the viewer or doing any conversions results in a permission denied error on windows or I am getting a “Permission Denied” error?
PeterT is offline   Reply With Quote
Advert
Old 01-20-2015, 10:08 PM   #6
crystal_lattice
Junior Member
crystal_lattice began at the beginning.
 
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!
crystal_lattice is offline   Reply With Quote
Reply


Forum Jump


All times are GMT -4. The time now is 12:19 PM.


MobileRead.com is a privately owned, operated and funded community.