[bug][convert] convert to epub oserror

Bug #2028138 reported by polyproline
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
calibre
New
Undecided
Unassigned

Bug Description

ebook-convert.exe (calibre 6.23.0)
win 11 10.0.22621

PS D:\work\tmp> ebook-convert.exe .\fail.chm fail.epub
1% 转换为HTML中...
InputFormatPlugin: CHM Input running
on D:\work\tmp\fail.chm
Failed to extract Images/11ab9d74-bd6b-4872-9246-7326052da08b.gif from CHM, ignoring
Language not specified
Creator not specified
Title not specified
Building file list...
IgnoreFile("Could not read from file: **\\Temp\\calibre_ylx6b6jc\\l5qwfzn6_chm2oeb\\时政经济(缠中说禅经济学)\\'http:\\blog.sina.com.cn\\u\\1224665874' with error: [Errno 22] Invalid argument: 'C:\\\\Users\\\\linux\\\\AppData\\\\Local\\\\Temp\\\\calibre_ylx6b6jc\\\\l5qwfzn6_chm2oeb\\\\时政经济(缠中说禅经济学)\\\\'http:\\\\blog.sina.com.cn\\\\u\\\\1224665874''")
.....
Normalizing filename cases
Rewriting HTML links
Forcing Mu Lu.html into XHTML namespace
Forcing 66.htm into XHTML namespace
Forcing 63.htm into XHTML namespace
Forcing 54.htm into XHTML namespace
Forcing 53.htm into XHTML namespace
Forcing 38.htm into XHTML namespace
Forcing 37.htm into XHTML namespace
Forcing 36.htm into XHTML namespace
Forcing 131.htm into XHTML namespace
Forcing 130.htm into XHTML namespace
Forcing 129.htm into XHTML namespace
Forcing 123.htm into XHTML namespace
Forcing 111.htm into XHTML namespace
Forcing 103.htm into XHTML namespace
Forcing 102.htm into XHTML namespace
Forcing 100.htm into XHTML namespace
Forcing 88.htm into XHTML namespace
Forcing 87.htm into XHTML namespace
Forcing 85.htm into XHTML namespace
Forcing 84.htm into XHTML namespace
Forcing 82.htm into XHTML namespace
Forcing 172.htm into XHTML namespace
Forcing 165.htm into XHTML namespace
Forcing 162.htm into XHTML namespace
Forcing 161.htm into XHTML namespace
Forcing 156.htm into XHTML namespace
Forcing 152.htm into XHTML namespace
Forcing 151.htm into XHTML namespace
Forcing 143.htm into XHTML namespace
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\ebooks\conversion\cli.py", line 419, in main
  File "calibre\ebooks\conversion\plumber.py", line 1108, in run
  File "calibre\customize\conversion.py", line 242, in __call__
  File "calibre\ebooks\conversion\plugins\chm_input.py", line 77, in convert
  File "calibre\ebooks\conversion\plugins\chm_input.py", line 108, in _create_oebbook_html
  File "calibre\ebooks\conversion\plugins\html_input.py", line 207, in create_oebbook
  File "calibre\ebooks\oeb\base.py", line 268, in rewrite_links
  File "calibre\ebooks\conversion\plugins\html_input.py", line 283, in resource_adder
  File "calibre\ebooks\conversion\plugins\html_input.py", line 273, in link_to_local_path
  File "calibre\utils\filenames.py", line 630, in get_long_path_name
OSError: [WinError 123] 文件名、目录名或卷标语法不正确。: '\\\\?\\**\\Temp\\calibre_ylx6b6jc\\l5qwfzn6_chm2oeb\\时政经济(缠中说禅经济学)\\'http:\\blog.sina.com.cn\\u\\1224665874''
PS D:\work\tmp>

Revision history for this message
polyproline (polyproline) wrote :
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Bug attachments

Remote bug watches

Bug watches keep track of this bug in other bug trackers.