Ticket #4426 (closed defect: fixed)

Opened 2 months ago

Last modified 2 months ago

Error opening epub for view

Reported by: bob301 Owned by: kovidgoyal
Priority: minor Milestone:
Component: E-book viewer Version: trunk
Keywords: Cc:

Description

Run on a vista-64 with calibre 6.29 then 6.32 same result. Occurs when using View function. Also fails when trying to convert it to Mobi. I have a PDF version of the file that I previously loaded. I tried converted it to epub and was able to view it.

ERROR: Could not open ebook: (22, "invalid mode ('wb') or filename")

Traceback (most recent call last): File "site-packages\calibre\gui2\viewer\main.py", line 60, in run File "threading.py", line 477, in run File "site-packages\calibre\ebooks\oeb\iterator.py", line 175, in enter File "site-packages\calibre\customize\conversion.py", line 208, in call File "site-packages\calibre\ebooks\epub\input.py", line 106, in convert File "site-packages\calibre\utils\zipfile.py", line 1013, in extractall File "site-packages\calibre\utils\zipfile.py", line 1001, in extract File "site-packages\calibre\utils\zipfile.py", line 1041, in _extract_member IOError: [Errno 22] invalid mode ('wb') or filename: 'c:\\users\\bob\\appdata\\local\\temp\\calibre_0.6 .32_0f8wmy_ebook_iter\\OEBPS\\images\\new dpr logo bw2"_fmt1.gif'

Change History

Changed 2 months ago by bob301

File is too big to attach - 7 M Would you like me to yousendit

Changed 2 months ago by kovidgoyal

send it to kovidgoyal at gmail .com

Changed 2 months ago by kovidgoyal

  • status changed from new to closed
  • resolution set to fixed

Fixed in branch trunk. The fix will be in the next release.

Changed 2 months ago by bob301

Corrected in new release Thanks

Note: See TracTickets for help on using tickets.