Decoding fails when opening a file with a specific file name in the viewer
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
| calibre |
Undecided
|
Unassigned |
Bug Description
(error contents)
If the file name contains "ソ", decoding fails and the file cannot be opened.
Note:"ソ" is Japanese character.
(procedure)
1.Put the file "ソ.cbz" attached to the bug report in any folder.
2.Register "ソ.cbz" in caliber library or open with caliber viewer.
(system info)
OS:Microsoft Windows 10 Pro 64bit
calibre Version:4.9.1
(Error report)
=======
Failed to open the book at C:\ソ.cbz. Click "Show details" for more info.
=======
calibre, version 4.9.1
エラー: Loading book failed: Failed to open the book at C:\book\ソ.cbz. Click "Show details" for more info.
Traceback (most recent call last):
File "site-packages\
File "site-packages\
File "site-packages\
ConversionFailure: Failed to convert book: C:\book\ソ.cbz with error:
Traceback (most recent call last):
File "site-packages\
File "site-packages\
File "site-packages\
File "site-packages\
File "site-packages\
File "site-packages\
File "site-packages\
UnicodeDecodeError: 'utf8' codec can't decode byte 0x83 in position 0: invalid start byte
InputFormatPlugin: Comic Input running
on C:\book\ソ.cbz
Failed to run pipe worker with command: from calibre.
Python function terminated unexpectedly
'utf8' codec can't decode byte 0x83 in position 0: invalid start byte (Error Code: 1)
Traceback (most recent call last):
File "site.py", line 114, in main
File "site.py", line 88, in run_entry_point
File "site-packages\
File "<string>", line 1, in <module>
File "site-packages\
File "site-packages\
File "site-packages\
File "site-packages\
File "site-packages\
File "site-packages\
File "site-packages\
File "site-packages\
File "site-packages\
File "site-packages\
File "site-packages\
File "site-packages\
File "site-packages\
File "site-packages\
UnicodeDecodeError: 'utf8' codec can't decode byte 0x83 in position 0: invalid start byte
=======
yoshiki hayashibara (hayashibara) wrote : | #1 |
yoshiki hayashibara (hayashibara) wrote : | #3 |
Confirmed that the issue has been fixed.
Thank you.
Fixed in branch master. The fix will be in the next release. calibre is usually released every alternate Friday.
status fixreleased