Register Guidelines E-Books Today's Posts Search

Go Back   MobileRead Forums > E-Book Software > Calibre

Notices

Reply
 
Thread Tools Search this Thread
Old 12-23-2017, 08:37 PM   #1
C Alberga
Enthusiast
C Alberga began at the beginning.
 
Posts: 38
Karma: 10
Join Date: Jul 2012
Device: none
Errors reading books from Archive.org

I have download some books from archive.org, for example the epub and kindle versions from

https://archive.org/details/lyellstravelsinn00lyell

The Calibre reader gives errors on both formats:

calibre, version 2.42.0
ERROR: Could not open ebook: D:\Calibre work\To load\lyellstravelsinn00lyell.epub is not a valid EPUB file (could not find opf)

Traceback (most recent call last):
File "site-packages\calibre\gui2\viewer\main.py", line 37, in run
File "threading.py", line 763, in run
File "site-packages\calibre\ebooks\oeb\iterator\book.py", line 100, in __enter__
File "site-packages\calibre\customize\conversion.py", line 241, in __call__
File "site-packages\calibre\ebooks\conversion\plugins\epub_in put.py", line 209, in convert
ValueError: D:\Calibre work\To load\lyellstravelsinn00lyell.epub is not a valid EPUB file (could not find opf)

for the epub, and:

error: unpack requires a string argument of length 6
Failed to render document
Detailed traceback:
Traceback (most recent call last):
File "site-packages\calibre\gui2\lrf_renderer\main.py", line 33, in run
File "site-packages\calibre\ebooks\lrf\lrfparser.py", line 21, in __init__
File "site-packages\calibre\ebooks\lrf\meta.py", line 483, in __init__
File "site-packages\calibre\ebooks\lrf\meta.py", line 98, in __get__
File "site-packages\calibre\ebooks\lrf\meta.py", line 353, in restore_pos
File "site-packages\calibre\ebooks\lrf\meta.py", line 515, in unpack
error: unpack requires a string argument of length 6

for the mobi.

Is this a known problem (I couldn't find anything in the forum) and is there a fix for it?

Last edited by C Alberga; 12-23-2017 at 08:39 PM.
C Alberga is offline   Reply With Quote
Old 12-24-2017, 04:11 AM   #2
Divingduck
Wizard
Divingduck ought to be getting tired of karma fortunes by now.Divingduck ought to be getting tired of karma fortunes by now.Divingduck ought to be getting tired of karma fortunes by now.Divingduck ought to be getting tired of karma fortunes by now.Divingduck ought to be getting tired of karma fortunes by now.Divingduck ought to be getting tired of karma fortunes by now.Divingduck ought to be getting tired of karma fortunes by now.Divingduck ought to be getting tired of karma fortunes by now.Divingduck ought to be getting tired of karma fortunes by now.Divingduck ought to be getting tired of karma fortunes by now.Divingduck ought to be getting tired of karma fortunes by now.
 
Posts: 1,161
Karma: 1404241
Join Date: Nov 2010
Location: Germany
Device: Sony PRS-650
This EPUP isn't perfect but it opens with actual ADE and calibre Viewer and Editor (version 3.14).
Updating calibre will maybe fix your problem. Your version is from October 2015.
Divingduck is offline   Reply With Quote
Advert
Old 12-27-2017, 10:21 PM   #3
C Alberga
Enthusiast
C Alberga began at the beginning.
 
Posts: 38
Karma: 10
Join Date: Jul 2012
Device: none
Actually, my installed Calibre is up-to-date, but it is possible that the version of the e-reader that is called when I "open" an .epub file is a left-over from earlier times.

Seems I was one version behind and updated to 3.14. However, version 3.14 of the e-reader still gives the same errors. Not sure where to go next.
C Alberga is offline   Reply With Quote
Old 12-27-2017, 10:32 PM   #4
kovidgoyal
creator of calibre
kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.
 
kovidgoyal's Avatar
 
Posts: 43,860
Karma: 22666666
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
According to the error message you posted you are using calibre version 2.42.0
kovidgoyal is offline   Reply With Quote
Old 12-28-2017, 07:21 AM   #5
C Alberga
Enthusiast
C Alberga began at the beginning.
 
Posts: 38
Karma: 10
Join Date: Jul 2012
Device: none
Yes, at first, because I had associated the reader with .epub before the 64 bit version arrived, and had not uninstalled that. However, as I said in my reply, the latest version also fails for me.;

calibre, version 3.14.0
ERROR: Could not open e-book: Failed to read book, D:\Calibre work\To load\travelsinnortham02lyel_1.epub click "Show Details" for more information

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\epub_in put.py", line 259, in convert
ValueError: D:\Calibre work\To load\travelsinnortham02lyel_1.epub is not a valid EPUB file (could not find opf)

So the problem persists.
C Alberga is offline   Reply With Quote
Advert
Old 12-28-2017, 08:45 AM   #6
kovidgoyal
creator of calibre
kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.
 
kovidgoyal's Avatar
 
Posts: 43,860
Karma: 22666666
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
That book opens fine for me in calibre 3.14
kovidgoyal is offline   Reply With Quote
Old 12-28-2017, 10:36 AM   #7
C Alberga
Enthusiast
C Alberga began at the beginning.
 
Posts: 38
Karma: 10
Join Date: Jul 2012
Device: none
I guess it just doesn't love me:

calibre, version 3.14.0
ERROR: Could not open e-book: Failed to read book, D:\Calibre work\To load\lyellstravelsinn00lyell.epub click "Show Details" for more information

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\epub_in put.py", line 259, in convert
ValueError: D:\Calibre work\To load\lyellstravelsinn00lyell.epub is not a valid EPUB file (could not find opf)

(I've actually downloaded this three times, in case of data loss, but none work.
C Alberga is offline   Reply With Quote
Old 12-28-2017, 10:44 AM   #8
JSWolf
Resident Curmudgeon
JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.
 
JSWolf's Avatar
 
Posts: 74,027
Karma: 129333114
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Libra 2, Kobo Aura H2O, PRS-650, PRS-T1, nook STR, PW3
Works for me as well.
JSWolf is offline   Reply With Quote
Old 12-28-2017, 11:00 AM   #9
C Alberga
Enthusiast
C Alberga began at the beginning.
 
Posts: 38
Karma: 10
Join Date: Jul 2012
Device: none
Could one of you successful people e-mail the copy which is readable so I can see if it is the copy I have which is bad, or something about my machine? Please, send to:

Cyril at Alberga dot net
C Alberga is offline   Reply With Quote
Old 12-28-2017, 03:02 PM   #10
BetterRed
null operator (he/him)
BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.
 
Posts: 20,579
Karma: 26954694
Join Date: Mar 2012
Location: Sydney Australia
Device: none
Quote:
Originally Posted by C Alberga View Post
Could one of you successful people e-mail the copy which is readable so I can see if it is the copy I have which is bad, or something about my machine? Please, send to:

Cyril at Alberga dot net
I've uploaded it to media fire, and sent url via PM here.

I suggest you make sure you can open it in Windows via C:\Program Files\Calibre2\ebook-viewer.exe before adding it into a calibre library.

BR
BetterRed is offline   Reply With Quote
Old 12-28-2017, 03:22 PM   #11
C Alberga
Enthusiast
C Alberga began at the beginning.
 
Posts: 38
Karma: 10
Join Date: Jul 2012
Device: none
Huzzah!

That I can read. Now if I can figure out why my downloads were all damaged I'll look for the second trip too.

Thank you, though it still hasn't cleared up the mystery.
C Alberga is offline   Reply With Quote
Old 12-28-2017, 03:28 PM   #12
JSWolf
Resident Curmudgeon
JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.
 
JSWolf's Avatar
 
Posts: 74,027
Karma: 129333114
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Libra 2, Kobo Aura H2O, PRS-650, PRS-T1, nook STR, PW3
If you are using Internet Explorer, then use Firefox instead.
JSWolf is offline   Reply With Quote
Old 12-28-2017, 03:45 PM   #13
BetterRed
null operator (he/him)
BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.
 
Posts: 20,579
Karma: 26954694
Join Date: Mar 2012
Location: Sydney Australia
Device: none
FWIW - I used Free Download Manager to download it from archive.org, and Edge to upload to MF using their upload overlay 'gadget'.
BetterRed is offline   Reply With Quote
Reply


Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Archive.org crutledge General Discussions 129 08-28-2015 06:22 AM
Has anyone tried reading on mobile, books from Archive.org or Google books? automa General Discussions 15 12-03-2012 07:53 PM
Archive.org copyright question Hatgirl General Discussions 7 03-23-2010 07:58 PM
Archive.org adds Mobi format for most of 1.8m books Nate the great News 2 12-11-2009 03:01 PM


All times are GMT -4. The time now is 08:36 PM.


MobileRead.com is a privately owned, operated and funded community.