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 04-23-2013, 03:02 AM   #1
Celsus_
Junior Member
Celsus_ began at the beginning.
 
Posts: 1
Karma: 10
Join Date: Oct 2012
Device: Nexus 7
Calibre: Access Denied

After successfully using Calibre for many years, I have started having issues. Whenever I try to open my EPUB files in calibre's viewer I get the message:

calibre, version 0.9.27
ERROR: Could not open ebook: [Error 5] Access is denied: u'C:\\Users\\Name\\AppData\\Local\\Temp\\calibre_j s95_t\\sshqee_ebook_iter'

Traceback (most recent call last):
File "site-packages\calibre\gui2\viewer\main.py", line 40, in run
File "threading.py", line 504, in run
File "site-packages\calibre\ebooks\oeb\iterator\book.py", line 99, in __enter__
File "site-packages\calibre\customize\conversion.py", line 234, in __call__
File "site-packages\calibre\__init__.py", line 441, in __enter__
WindowsError: [Error 5] Access is denied: u'C:\\Users\\Name\\AppData\\Local\\Temp\\calibre_j s95_t\\sshqee_ebook_iter'
____________________________________________

I'm using Windows 7 64bit and the 64bit version of calibre. I had not updated or changed any calibre settings, though I have since updated it in an attempt to fix it. I read where this error can be a conflict issue with anti-virus software, but I don't believe that is the case here as my anti-virus is set to manual updates only and the program has firewall/anti-virus exceptions. Additionally, I have checked my AppData folder permissions and everything looks okay on that end. So...I'm not sure what else to try. The program works when running as administrator...but I have never needed to do that in the past, and when running as administrator, other weird things happen...like calibre will no longer allow me to drag and drop books into the program. Any help is much appreciated
Celsus_ is offline   Reply With Quote
Old 04-23-2013, 03:06 AM   #2
kovidgoyal
creator of calibre
kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.
 
kovidgoyal's Avatar
 
Posts: 43,859
Karma: 22666666
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
Something on your computer is preventing calibre from accessing its own temporary files. Most
likely the permissions on your Temp folder are incorrect. Go to the folder
C:\\Users\\USERNAME\\AppData\\Local in Windows Explorer and then
right click on the Temp folder, select Properties and go to
the Security tab. Make sure that your user account has full control
for this folder.

Alternately, you can run calibre as Administrator, but doing so will cause
some functionality, such as drag and drop to not work.
kovidgoyal is online now   Reply With Quote
Advert
Old 11-01-2013, 05:20 AM   #3
Zeevik
Junior Member
Zeevik began at the beginning.
 
Posts: 1
Karma: 10
Join Date: Apr 2013
Device: Kindle Paperwhite
Calibre issue to view books

calibre, version 1.8.0
ERROR: Unhandled exception: <b>CriticalError</b>:Failed to launch worker process:
Traceback (most recent call last):
File "site-packages\calibre\utils\ipc\server.py", line 144, in do_launch
File "site-packages\calibre\utils\ipc\launch.py", line 221, in __call__
File "subprocess.py", line 711, in __init__
File "subprocess.py", line 948, in _execute_child
WindowsError: [Error 5] Access is denied


calibre 1.8 isfrozen: True is64bit: False
Windows-8-6.2.9200 Windows ('32bit', 'WindowsPE')
('Windows', '8', '6.2.9200')
Python 2.7.5
Windows: ('8', '6.2.9200', '', 'Multiprocessor Free')
Traceback (most recent call last):
File "site-packages\calibre\gui2\actions\view.py", line 198, in view_book
File "site-packages\calibre\gui2\actions\view.py", line 278, in _view_books
File "site-packages\calibre\gui2\actions\view.py", line 236, in _view_calibre_books
File "site-packages\calibre\gui2\actions\view.py", line 101, in view_format_by_id
File "site-packages\calibre\gui2\actions\view.py", line 132, in _view_file
File "site-packages\calibre\gui2\actions\view.py", line 120, in _launch_viewer
File "site-packages\calibre\gui2\jobs.py", line 253, in launch_gui_app
File "site-packages\calibre\utils\ipc\server.py", line 162, in run_job
File "site-packages\calibre\utils\ipc\server.py", line 135, in launch_worker
CriticalError: Failed to launch worker process:
Traceback (most recent call last):
File "site-packages\calibre\utils\ipc\server.py", line 144, in do_launch
File "site-packages\calibre\utils\ipc\launch.py", line 221, in __call__
File "subprocess.py", line 711, in __init__
File "subprocess.py", line 948, in _execute_child
WindowsError: [Error 5] Access is denied
What is this error? Reinstalling does not help... And I cannot use the software at all, becauase I cannot add books as well. Adding books just stalls... I think that the only way that works for me is the portable version, but it has it downs.
Zeevik is offline   Reply With Quote
Old 11-01-2013, 05:54 AM   #4
kovidgoyal
creator of calibre
kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.
 
kovidgoyal's Avatar
 
Posts: 43,859
Karma: 22666666
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
Something on your computer is preventing calibre from launching worker processes, most likely a security program of some sort.
kovidgoyal is online now   Reply With Quote
Old 07-25-2018, 04:54 PM   #5
AlbertLotito
Junior Member
AlbertLotito began at the beginning.
 
Posts: 3
Karma: 10
Join Date: Jul 2018
Device: paperwhite
Smile Access Denied, Error 5 (shutil.py)

After a lot of debugging, it turns out that the solution is absurdly simple.

Ensure that the entire "calibre library" folder tree is not read-only.

In windows:

Calibre Portable\Calibre Library>attrib -r *.* /d /s

In other words: open a cmd prompt.
go to your Calibre Library folder
Type attrib -r *.* /d /s
  • Attrib: Set attributes
  • -r: Turn or Read-only
  • /s: do subfolders
  • /d: Processes directories as well.

Good luck.
AlbertLotito is offline   Reply With Quote
Advert
Reply


Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Calibre 0.9.24 [64-bit] Permission Denied Error edwdecarlo Devices 6 03-23-2013 01:22 PM
"Access denied" to downloaded news - Windows Error message 5 SunFuLai Recipes 14 12-02-2011 02:20 AM
Troubleshooting "Access denied" when connected to computer. Virus. Dr. Drib Amazon Kindle 16 08-23-2010 05:54 PM
permission denied in calibre longhair75 Calibre 0 08-13-2010 01:09 PM


All times are GMT -4. The time now is 09:56 AM.


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