sigil吧 关注:2,793贴子:15,196
  • 2回复贴,共1

【插件崩溃】部分文件无法拆分

只看楼主收藏回复

报错内容如下:

状态: failed
Traceback (most recent call last):
File "sre_parse.py", line 1039, in parse_template
KeyError: '\\c'
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "D:\Program Files\Sigil\plugin_launchers\python\launcher.py", line 142, in launch
self.exitcode = target_script.run(container)
File "C:\Users\win10\AppData\Local\sigil-ebook\sigil\plugins\SplitChapter\plugin.py", line 643, in run
build_xhtml(title_tags,win)
File "C:\Users\win10\AppData\Local\sigil-ebook\sigil\plugins\SplitChapter\plugin.py", line 564, in build_xhtml
xhtml = re.sub(r"[ \t]*\[MAIN\]",set_p_em(chapter_text,indent),xhtml,1)
File "re.py", line 210, in sub
File "re.py", line 327, in _subx
File "re.py", line 318, in _compile_repl
File "sre_parse.py", line 1042, in parse_template
re.error: bad escape \c at position 594 (line 16, column 10)
Error: bad escape \c at position 594 (line 16, column 10)


Sigil版本 1.9.20.X1
插件版本
问题:
部分文件无法拆分,无法拆分文件:
https://www.lanzoui.com/ivV8d1o0bqzi
@遥遥心航


IP属地:重庆1楼2024-02-11 17:00回复
    我这拆分没问题啊,sigil2.0.1 X1A 插件2.8版本,要不你更新再试试看还报错吗。


    IP属地:广西2楼2024-02-15 20:45
    收起回复