If html name ends with 3 periods, calibre will crash on conversion
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
calibre |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
I'm doing html to epub conversion with calibre. If the name of the html file ends with 3 periods (ex: coco....html), calibre will crash during the conversion with the following message:
Creating EPUB Output...
67% Creating EPUB Output
Looking for large trees in Brian%20W.
No large trees found
Split into 2 parts
Traceback (most recent call last):
File "site.py", line 58, in main
File "site-packages/
File "site-packages/
File "site-packages/
File "site-packages/
File "site-packages/
File "site-packages/
File "site-packages/
TypeError: not enough arguments for format string
If the name ends with only 2 periods or the periods are anywhere else in the name, the conversion is finishing correctly.
Related branches
summary: |
- If html name contains 3 periods, calibre will crash on conversion + If html name ends with 3 periods, calibre will crash on conversion |
Attach a file demonstrating/ reproducing the problem. If the file you are attaching is copyrighted, mark the bug as private. You can do this by clicking the tiny yellow icon next to "This bug is public" in the top right area of the bug's page.
status incomplete