Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Output error caused by a PermissionError with the cache file #163

Open
Dwtexe opened this issue Oct 22, 2023 · 0 comments
Open

Output error caused by a PermissionError with the cache file #163

Dwtexe opened this issue Oct 22, 2023 · 0 comments
Labels
bug Something isn't working

Comments

@Dwtexe
Copy link

Dwtexe commented Oct 22, 2023

whenever i want to output an epub file it gives me an error. but i can access the translated epub file from the temp folder.

LOG:

calibre, version 6.28.1 (win32, embedded-python: True)

Translation job failed: Başarısız Oldu: [English > Turkish] Translating "Mushoku Tensei_ Jobless Reincarnation Vol. 10"

[English > Turkish] Translating "Mushoku Tensei_ Jobless Reincarnation Vol. 10"
InputFormatPlugin: EPUB Input running
on C:\Users\mamio\Calibre Kitaplığı\Rifujin na Magonote\Mushoku Tensei_ Jobless Reincarnati (101)\Mushoku Tensei_ Jobless Reincar - Rifujin na Magonote.epub
Found HTML cover OEBPS/Text/CoverPage.html
Parsing all content...
Merging user specified metadata...
Detecting structure...
Flattening CSS and remapping font sizes...
Source base font size is 12.00000pt
Removing fake margins...
Cleaning up manifest...
Trimming unused files from manifest...
Creating EPUB Output...
Translating ebook content ... (this will take a while)
==============================
| Diagnosis Information
==============================
| Calibre Version: 6.28.1
| Plugin Version: v2.2.0
| Translation Engine: DeepL
| Source Language: English
| Target Language: Turkish
| Cache Enabled: False
| Merging Length: 90000
| Concurrent requests: 1
| Request Interval: 0.0
| Request Attempt: 3
| Request Timeout: 10.0
| Input Path: C:\Users\mamio\Calibre Kitaplığı\Rifujin na Magonote\Mushoku Tensei_ Jobless Reincarnati (101)\Mushoku Tensei_ Jobless Reincar - Rifujin na Magonote.epub
| Output Path: C:\Users\mamio\AppData\Local\Temp\calibre_iqhkx4nt\6wekdam_.epub
==============================
Start to translate ebook content
==============================
Total items: 5
Character count: 365923
==============================

THE TRANSLATION WAS HERE BUT I DELETED IT BECAUSE IT WAS TOO LONG.


==============================
Time consuming: 0.0 minutes
Translation completed.
==============================
Start to convert ebook format:
==============================
Splitting markup on page breaks and flow limits, if any...
	Looking for large trees in OEBPS/Text/section-0016.html...
	No large trees found
	Looking for large trees in OEBPS/Text/section-0010.html...
	No large trees found
	Split into 3 parts
	Looking for large trees in OEBPS/Text/section-0002.html...
	No large trees found
	Looking for large trees in OEBPS/Text/section-0006.html...
	No large trees found
	Looking for large trees in OEBPS/Text/section-0020.html...
	No large trees found
	Looking for large trees in OEBPS/Text/section-0015.html...
	No large trees found
	Split into 3 parts
	Looking for large trees in OEBPS/Text/section-0009.html...
	No large trees found
	Looking for large trees in OEBPS/Text/section-0001.html...
	No large trees found
	Split into 3 parts
	Looking for large trees in OEBPS/Text/section-0005.html...
	No large trees found
	Split into 3 parts
	Looking for large trees in OEBPS/Text/section-0019.html...
	No large trees found
	Looking for large trees in OEBPS/Text/TableOfContents.html...
	No large trees found
	Looking for large trees in OEBPS/Text/section-0004.html...
	No large trees found
	Split into 2 parts
	Looking for large trees in OEBPS/Text/section-0008.html...
	No large trees found
	Split into 3 parts
	Looking for large trees in OEBPS/Text/section-0012.html...
	No large trees found
	Looking for large trees in OEBPS/Text/section-0014.html...
	No large trees found
	Looking for large trees in OEBPS/Text/section-0018.html...
	No large trees found
	Looking for large trees in OEBPS/Text/section-0017.html...
	No large trees found
	Split into 3 parts
	Looking for large trees in OEBPS/Text/section-0003.html...
	No large trees found
	Looking for large trees in OEBPS/Text/section-0007.html...
	No large trees found
	Split into 3 parts
	Looking for large trees in OEBPS/Text/section-0013.html...
	No large trees found
	Looking for large trees in OEBPS/Text/section-0011.html...
	No large trees found
	Split into 3 parts
EPUB output written to C:\Users\mamio\AppData\Local\Temp\calibre_iqhkx4nt\6wekdam_.epub
Traceback (most recent call last):
  File "runpy.py", line 196, in _run_module_as_main
  File "runpy.py", line 86, in _run_code
  File "site.py", line 83, in <module>
  File "site.py", line 78, in main
  File "site.py", line 50, in run_entry_point
  File "calibre\utils\ipc\worker.py", line 215, in main
  File "calibre\utils\ipc\worker.py", line 150, in arbitrary_n
  File "calibre_plugins.ebook_translator.lib.conversion", line 113, in convert_book
  File "calibre_plugins.ebook_translator.lib.cache", line 222, in done
  File "calibre_plugins.ebook_translator.lib.cache", line 219, in destroy
PermissionError: [WinError 32] Dosya başka bir işlem tarafından kullanıldığından bu işlem dosyaya erişemiyor: 'C:\\Users\\mamio\\AppData\\Local\\Temp\\com.bookfere.Calibre.EbookTranslator\\temp\\2be5fda8d54ae9b91458d747a29d1256.db'
@bookfere bookfere added the bug Something isn't working label Nov 8, 2023
@bookfere bookfere changed the title output error Output error caused by a PermissionError with the cache file Feb 29, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants