calibre, version 3.14.0 ERRO: Could not open e-book: Falha ao ler o livro, C:\Users\Admin\Google Drive\Work\Calibre\Livros\Allan Kardec\O Evangelho Segundo o Espiritismo (3146)\O Evangelho Segundo o Espiritis - Allan Kardec.azw3 clique em "Mostrar detalhes" para mais informações. Traceback (most recent call last): File "site-packages\calibre\utils\ipc\simple_worker.py", line 284, in main File "site-packages\calibre\ebooks\oeb\iterator\book.py", line 64, in extract_book File "site-packages\calibre\customize\conversion.py", line 245, in __call__ File "site-packages\calibre\ebooks\conversion\plugins\mobi_input.py", line 44, in convert File "site-packages\calibre\ebooks\mobi\reader\mobi8.py", line 114, in __call__ File "site-packages\calibre\ebooks\mobi\reader\mobi8.py", line 465, in expand_text File "site-packages\calibre\ebooks\mobi\reader\markup.py", line 356, in expand_mobi8_markup File "site-packages\calibre\ebooks\mobi\reader\markup.py", line 204, in update_flow_links IndexError: cannot fit 'long' into an index-sized integer

Bug #1740140 reported by Marcelo Santos on 2017-12-26
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
calibre
Undecided
Unassigned

Bug Description

When I try to open or convert an AZW3 file, I got the following error:

"calibre, version 3.14.0
ERRO: Could not open e-book: Falha ao ler o livro, C:\Users\Admin\Google Drive\Work\Calibre\Livros\Allan Kardec\O Evangelho Segundo o Espiritismo (3146)\O Evangelho Segundo o Espiritis - Allan Kardec.azw3 clique em "Mostrar detalhes" para mais informações.

Traceback (most recent call last):
  File "site-packages\calibre\utils\ipc\simple_worker.py", line 284, in main
  File "site-packages\calibre\ebooks\oeb\iterator\book.py", line 64, in extract_book
  File "site-packages\calibre\customize\conversion.py", line 245, in __call__
  File "site-packages\calibre\ebooks\conversion\plugins\mobi_input.py", line 44, in convert
  File "site-packages\calibre\ebooks\mobi\reader\mobi8.py", line 114, in __call__
  File "site-packages\calibre\ebooks\mobi\reader\mobi8.py", line 465, in expand_text
  File "site-packages\calibre\ebooks\mobi\reader\markup.py", line 356, in expand_mobi8_markup
  File "site-packages\calibre\ebooks\mobi\reader\markup.py", line 204, in update_flow_links
IndexError: cannot fit 'long' into an index-sized integer"

Any other file is converted and opened without any issues at all, but, just this file Calibre won't open or convert.

I downloaded the file again from the source, and I was able to open it in my Kindle or Kindle for PC, but in Calibre I can't.

Marcelo Santos (marcelo-scs) wrote :

Fixed in branch master. The fix will be in the next release. calibre is usually released every alternate Friday.

 status fixreleased

Changed in calibre:
status: New → Fix Released
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers