Register Guidelines E-Books Today's Posts Search

Go Back   MobileRead Forums > E-Book Software > Calibre > Conversion

Notices

Reply
 
Thread Tools Search this Thread
Old 11-13-2011, 08:45 AM   #1
NCRoadRunner
Junior Member
NCRoadRunner began at the beginning.
 
NCRoadRunner's Avatar
 
Posts: 9
Karma: 10
Join Date: Oct 2011
Location: Murphy, NC
Device: Kindle Touch
Cool .mobi file will not display

A while back I converted a file over to .mobi format, and it loads and views with no problems on the Kindle, but can not be viewed on Calibre. When I try to view it the view window opens, the progress 'spinner' goes. After a few minutes the spinner starts to slow, still no document being viewed. Eventually the spinner stops (~5 minutes), and thats it. The document still has not come up. It's not a big issue for me, since it does fine on the Kindle, but something is amis that it will not display on Calibre.Thanks....... Henri

This is the error report that finally came out after 15 minutes:
calibre, version 0.8.26
ERROR: Could not open ebook:

Traceback (most recent call last):
File "site-packages\calibre\gui2\viewer\main.py", line 64, in run
File "threading.py", line 483, in run
File "site-packages\calibre\ebooks\oeb\iterator.py", line 198, in __enter__
File "site-packages\calibre\customize\conversion.py", line 204, in __call__
File "site-packages\calibre\ebooks\mobi\input.py", line 27, in convert
File "site-packages\calibre\ebooks\mobi\reader.py", line 325, in extract_content
File "site-packages\calibre\ebooks\mobi\reader.py", line 950, in add_anchors
MemoryError

Last edited by NCRoadRunner; 11-13-2011 at 09:15 AM.
NCRoadRunner is offline   Reply With Quote
Old 11-13-2011, 10:03 PM   #2
DoctorOhh
US Navy, Retired
DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.
 
DoctorOhh's Avatar
 
Posts: 9,864
Karma: 13806776
Join Date: Feb 2009
Location: North Carolina
Device: Icarus Illumina XL HD, Nexus 7
Quote:
Originally Posted by NCRoadRunner View Post
A while back I converted a file over to .mobi format, and it loads and views with no problems on the Kindle, but can not be viewed on Calibre.
Calibre converts the file to ePub for viewing. The conversion for this file is running out of memory so calibre's viewer will never open it. You might want to use another viewer for Mobi files, like Kindle for PC. You can turn off using the internal viewer for reading mobi files by going to Preferences - Behavior and unchecking the Mobi box in the Use internal viewer for: window.
DoctorOhh is offline   Reply With Quote
Advert
Old 11-14-2011, 07:59 AM   #3
NCRoadRunner
Junior Member
NCRoadRunner began at the beginning.
 
NCRoadRunner's Avatar
 
Posts: 9
Karma: 10
Join Date: Oct 2011
Location: Murphy, NC
Device: Kindle Touch
Question

dwanthny,

While I might agree, this PC has 8GB memory, and at no time during the 'open' does the memory utilization go over 45%, and processor utilization over 28%. I have monitored that very closely over several attempts to open this file.

I must be missing something somewhere....

And yes, the file opens correctly in Kindle......

Thanks,
Henri
NCRoadRunner is offline   Reply With Quote
Old 11-14-2011, 08:11 AM   #4
DoctorOhh
US Navy, Retired
DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.
 
DoctorOhh's Avatar
 
Posts: 9,864
Karma: 13806776
Join Date: Feb 2009
Location: North Carolina
Device: Icarus Illumina XL HD, Nexus 7
Quote:
Originally Posted by NCRoadRunner View Post
this PC has 8GB memory, and at no time during the 'open' does the memory utilization go over 45%,
...

I must be missing something somewhere...
You aren't missing anything.

According to your numbers it throws up a memory error at around 3.6 gigs. Calibre may run on a 64 bit machine but I'm betting something internal is limited to 32bits because it always seems to error around the same point no matter how much memory you have.

Bottom line if you want to view this file on your PC use a different viewer than Calibre.
DoctorOhh is offline   Reply With Quote
Old 11-14-2011, 08:30 AM   #5
NCRoadRunner
Junior Member
NCRoadRunner began at the beginning.
 
NCRoadRunner's Avatar
 
Posts: 9
Karma: 10
Join Date: Oct 2011
Location: Murphy, NC
Device: Kindle Touch
Smile

Quote:
Originally Posted by dwanthny View Post
You aren't missing anything.
Walt,
Thaks for the input, so basically it's probably calibre not being 64bit capable. That I can understand.....

It was not an important thing as the file opens/operates normally with Kindle
Thanks again,
Henri
NCRoadRunner is offline   Reply With Quote
Advert
Old 11-14-2011, 10:43 AM   #6
PeterT
Grand Sorcerer
PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.
 
PeterT's Avatar
 
Posts: 12,166
Karma: 73448616
Join Date: Nov 2007
Location: Toronto
Device: Nexus 7, Clara, Touch, Tolino EPOS
But.... I hate to say it I *REALLY* doubt that even a 64 bit version of calibre would solve that issue for you. It frankly sounds more like there is an issue in the mobi markup that is making calibre upset on doing a conversion.
PeterT is offline   Reply With Quote
Old 11-14-2011, 11:13 AM   #7
NCRoadRunner
Junior Member
NCRoadRunner began at the beginning.
 
NCRoadRunner's Avatar
 
Posts: 9
Karma: 10
Join Date: Oct 2011
Location: Murphy, NC
Device: Kindle Touch
Smile

Quote:
Originally Posted by PeterT View Post
But.... I hate to say it I *REALLY* doubt that even a 64 bit version of calibre would solve that issue for you. It frankly sounds more like there is an issue in the mobi markup that is making calibre upset on doing a conversion.
PeterT,
I posted a similar item on the 'calibre' bug site - They basically washed their hands of it.....

From: bounces@canonical.com [mailto:bounces@canonical.com] On Behalf Of Kovid Goyal
Sent: Sunday, November 13, 2011 10:32 PM
To: henri@themonniers.com
Subject: [Bug 889870] Re: calibre bug 889870


That file is a dictionary, in order to diplay MOBI files calibre has to convert them first. Converting dictionaries requires inordinate amounts of RAM. Your computer is running out of it.

status wontfix

** Changed in: calibre
Status: New => Won't Fix

It is not a big issue for me, but I still think there is something lurking.....
Henri
NCRoadRunner is offline   Reply With Quote
Old 11-14-2011, 11:16 AM   #8
theducks
Well trained by Cats
theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.
 
theducks's Avatar
 
Posts: 29,800
Karma: 54830978
Join Date: Aug 2009
Location: The Central Coast of California
Device: Kobo Libra2,Kobo Aura2v1, K4NT(Fixed: New Bat.), Galaxy Tab A
I agree with petert
If you can open it on a handheld (usually very memory limited) device, 64bit OS RAM limits are not going to fix the problem.

There is something (recursive?) in the markup that sent Calibre deep off into left field.
theducks is offline   Reply With Quote
Old 11-14-2011, 09:54 PM   #9
DoctorOhh
US Navy, Retired
DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.
 
DoctorOhh's Avatar
 
Posts: 9,864
Karma: 13806776
Join Date: Feb 2009
Location: North Carolina
Device: Icarus Illumina XL HD, Nexus 7
Quote:
Originally Posted by theducks View Post
If you can open it on a handheld (usually very memory limited) device
Not to pick nits, but opening it on a handheld and converting a file from mobi to epub for viewing are two different beasts.

Quote:
Originally Posted by theducks View Post
64bit OS RAM limits are not going to fix the problem.
You are probably right, but we'll never know since even though calibre runs on a 64 bit machine it seems limited to 32 bit memory restrictions. Kovid's response to the bug report seems to indicate it might succeed with enough memory allocated to the program.
DoctorOhh is offline   Reply With Quote
Old 11-14-2011, 10:52 PM   #10
wallcraft
reader
wallcraft ought to be getting tired of karma fortunes by now.wallcraft ought to be getting tired of karma fortunes by now.wallcraft ought to be getting tired of karma fortunes by now.wallcraft ought to be getting tired of karma fortunes by now.wallcraft ought to be getting tired of karma fortunes by now.wallcraft ought to be getting tired of karma fortunes by now.wallcraft ought to be getting tired of karma fortunes by now.wallcraft ought to be getting tired of karma fortunes by now.wallcraft ought to be getting tired of karma fortunes by now.wallcraft ought to be getting tired of karma fortunes by now.wallcraft ought to be getting tired of karma fortunes by now.
 
wallcraft's Avatar
 
Posts: 6,975
Karma: 5183568
Join Date: Mar 2006
Location: Mississippi, USA
Device: Kindle 3, Kobo Glo HD
I agree with the Calibre developers. There is little point in getting dictionary conversion from MOBI to ePub working, because the resulting epub would not be usable as a dictionary anyway.
wallcraft is offline   Reply With Quote
Reply


Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
18MB EPUB converts to 40MB Mobi! What can I do to reduce Mobi file size? perdman Conversion 11 12-09-2017 04:18 AM
Update Mobi header/file metadata without doing a Mobi to Mobi conversion RecQuery Conversion 2 06-30-2012 11:43 AM
Txt file display changes? timepiece Amazon Kindle 1 04-29-2011 01:56 PM
File Name display option in Library? FoxkehKayak enTourage Archive 5 11-13-2010 07:09 AM
PB302: Is there a way to display file names? guyanonymous PocketBook 4 07-23-2010 10:03 AM


All times are GMT -4. The time now is 02:51 AM.


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