I encountered the following problem when adding x-ray to a Chinese book, and when I chose to add word wise, I was prompted that the language of my book was not supported. #240
Unanswered
Mayb1NextT1me
asked this question in
Q&A
Replies: 1 comment 5 replies
-
This error is fixed on master branch, you can download test version from GitHub Actions. |
Beta Was this translation helpful? Give feedback.
5 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Starting job: 正在为《龙族Ⅰ·火之晨曦》生成X-Ray
Job: "正在为《龙族Ⅰ·火之晨曦》生成X-Ray" failed with error:
Traceback (most recent call last):
File "calibre\gui2\threaded_jobs.py", line 85, in start_work
File "calibre_plugins.worddumb.parse_job", line 131, in do_job
File "calibre_plugins.worddumb.utils", line 167, in spacy_model_name
KeyError: 'zh_cn'
Called with args: (ParseJobData(book_id=468, book_path='D:\calibre书库\江南\龙族Ⅰ·火之晨曦 (468)\龙族Ⅰ·火之晨曦 - 江南.azw3', mi=<calibre.ebooks.metadata.book.base.Metadata object at 0x0000024D9B1F0510>, book_fmt='AZW3', book_lang='zh_cn', useragent='WordDumb/3.32.0 (https://github.com/xxyzz/WordDumb)', plugin_path=WindowsPath('C:/Users/Administrator.DESKTOP-F8LFG0J/AppData/Roaming/calibre/plugins/WordDumb.zip'), spacy_model='', create_ww=False, create_x=True, asin='BBZJN5ZF14', acr='Long_Zu_I_Huo_Zhi_Chen_Xi', revision='f35009da', kfx_json=None, mobi_html=b'\n\n \n
Beta Was this translation helpful? Give feedback.
All reactions