Register Guidelines E-Books Today's Posts Search

Go Back   MobileRead Forums > E-Book Software > Calibre

Notices

Reply
 
Thread Tools Search this Thread
Old 06-26-2020, 02:45 AM   #1
lovingfriendstar
Member
lovingfriendstar began at the beginning.
 
Posts: 12
Karma: 10
Join Date: Aug 2018
Device: Kindle Paperwhite 3
Polishing multiple books failing

Polishing individual books bear no problem but when polishing multiple books, about half of the jobs randomly fail with an error similar to this. These same books can be polished without any error if the process is repeated.

Code:
Polish book 1 of 6 (BookName)
Found existing cover page
Python function terminated unexpectedly
  [Error 5] Access is denied (Error Code: 1)
 Traceback (most recent call last):
  File "site.py", line 114, in main
  File "site.py", line 88, in run_entry_point
  File "site-packages\calibre\utils\ipc\worker.py", line 209, in main
  File "site-packages\calibre\ebooks\oeb\polish\main.py", line 291, in gui_polish
  File "site-packages\calibre\ebooks\oeb\polish\main.py", line 269, in polish
  File "site-packages\calibre\ebooks\oeb\polish\main.py", line 258, in polish_one
  File "site-packages\calibre\ebooks\oeb\polish\hyphenation.py", line 16, in add_soft_hyphens
  File "site-packages\calibre\utils\hyphenation\hyphenate.py", line 116, in add_soft_hyphens_to_html
  File "site-packages\calibre\utils\hyphenation\hyphenate.py", line 102, in add_to_tag
  File "site-packages\backports\functools_lru_cache.py", line 152, in wrapper
  File "site-packages\calibre\utils\hyphenation\hyphenate.py", line 27, in dictionary_for_locale
  File "site-packages\calibre\utils\hyphenation\dictionaries.py", line 110, in path_to_dictionary
  File "site-packages\calibre\utils\hyphenation\dictionaries.py", line 72, in extract_dicts
WindowsError: [Error 5] Access is denied
Using Calibre 4.19 on recently resetted Windows 10 2004 64-bit, running on Ryzen 7 1700, 8GB RAM. Also happened on Calibre 4.18 and previous Windows installation too. Still happening even when Kaspersky antivirus protection is disabled.
lovingfriendstar is offline   Reply With Quote
Old 06-26-2020, 04:50 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: 45,338
Karma: 27182818
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
Are you sure you are on calibre 4.19 this was fixed in 4.14. https://github.com/kovidgoyal/calibr...31fcfe7459e1cc
kovidgoyal is offline   Reply With Quote
Advert
Old 06-27-2020, 11:35 AM   #3
lovingfriendstar
Member
lovingfriendstar began at the beginning.
 
Posts: 12
Karma: 10
Join Date: Aug 2018
Device: Kindle Paperwhite 3
Thanks for replying, Mr. Kovid Goyal. I'm indeed up to date with Calibre, currently using 4.19 64-bit. https://imgur.com/7OMFzEL

Perhaps I should try a complete reinstall by removing the configuration directory? I have been just copy-pasting the configuration folder whenever I have to reinstall Windows so it might have been messed up somehow in the process.

If I have to remove everything to do a clean install, would you be so kind as to point me how to back up settings like my virtual libraries and custom columns, etc? I like the current library UI I've refined over the multiple years I've been using this awesome software.

Last edited by lovingfriendstar; 06-27-2020 at 11:38 AM. Reason: Updated screenshot with a better one
lovingfriendstar is offline   Reply With Quote
Old 06-27-2020, 11:39 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: 45,338
Karma: 27182818
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
No doing a full re-install wont solve the issue, it has nothing to do with configuration. Try the next release, I have added some ore code that might fix the problem, though since I cannot replicate it...
kovidgoyal is offline   Reply With Quote
Old 06-27-2020, 01:13 PM   #5
lovingfriendstar
Member
lovingfriendstar began at the beginning.
 
Posts: 12
Karma: 10
Join Date: Aug 2018
Device: Kindle Paperwhite 3
Thank you. I will try the next release then. I hope it will be solved.
lovingfriendstar is offline   Reply With Quote
Advert
Old 07-03-2020, 04:23 AM   #6
lovingfriendstar
Member
lovingfriendstar began at the beginning.
 
Posts: 12
Karma: 10
Join Date: Aug 2018
Device: Kindle Paperwhite 3
Just tested the new release, did a quick polish on 8 books and and the problem seems to be fixed. Thanks for your hard work.
lovingfriendstar is offline   Reply With Quote
Old 07-03-2020, 05:17 AM   #7
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: 45,338
Karma: 27182818
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
You're welcome
kovidgoyal is offline   Reply With Quote
Reply


Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Two books are failing to convert entirely Arilando Conversion 9 04-19-2020 10:24 PM
Polishing Books Error pinky62 Library Management 1 08-20-2019 06:41 AM
Trouble adding multiple books from multiple directories to Calibre LisaAlissa Library Management 17 09-02-2015 12:00 PM
Regexp for adding books failing nvcleemp Library Management 10 08-29-2015 02:23 AM
<Command Line> Add multiple books in multiple formats himitsu Calibre 8 09-25-2010 11:07 PM


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


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