Bad file descriptor error in downloaded epub when opened from web browser
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
calibre |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
>calibre, version 4.2.0
>ERROR: Unhandled exception: <b>IOError<
The error is triggered when changing sections (the transition between html files in the epub; the transitions also take several seconds to load, which is extremely slow compared to expectations, but this seems to be an unrelated and known issue with the new reader).
I have been able to reproduce it only when the file is opened from the Downloads list of Firefox 70.0 (64-bit). The error is not triggered when the file is opened from Calibre or from the Windows Explorer. I have attached the epub downloaded from wikisource in case it's relevant.
>Traceback (most recent call last):
> File "site-packages\
>IOError: [Errno 9] Bad file descriptor
>calibre 4.2 embedded-python: True is64bit: False
>Windows-
>32bit process running on 64bit windows
>('Windows', '10', '10.0.18362')
>Python 2.7.14
>Windows: ('10', '10.0.18362', 'SP0', u'Multiprocessor Free')
Fixed in branch master. The fix will be in the next release. calibre is usually released every alternate Friday.
status fixreleased