Register Guidelines E-Books Search Today's Posts Mark Forums Read

Go Back   MobileRead Forums > E-Book Software > Calibre

Notices

Reply
 
Thread Tools Search this Thread
Old 08-11-2009, 01:43 PM   #1
scgf
Connoisseur
scgf doesn't litterscgf doesn't litter
 
Posts: 76
Karma: 194
Join Date: Aug 2008
Device: Amazon Kindle 3, iPad, iPhone 4, iPod Touch (UK)
Could not find reasonable point at which to split

I have been trying and trying to convert a novel I have bought from lit to ePub. I have tried it all ways - command line convert to html, then Calibre to convert to ePub, converting to ePub on the command line, trying the whole process with Callibre, editing the html, then converting - I am completely exasperated.

It converted to lit format very easily, but I no longer have a Sony Reader.

The error appears to be because the html file is too large - I wasn't aware that this particular book was that long.

I have attached the error message from Calibre.

Looking forward to a solution!
Attached Files
File Type: txt error.txt (2.0 KB, 118 views)
scgf is offline   Reply With Quote
Old 08-11-2009, 01:47 PM   #2
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: 25,952
Karma: 5036099
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
Most likely this is because the LIT file just contains one <pre> tag with lots of text in it. Thus calibre cannot figure out where to split the file.
kovidgoyal is online now   Reply With Quote
Old 08-11-2009, 01:48 PM   #3
scgf
Connoisseur
scgf doesn't litterscgf doesn't litter
 
Posts: 76
Karma: 194
Join Date: Aug 2008
Device: Amazon Kindle 3, iPad, iPhone 4, iPod Touch (UK)
Thanks kovidgoyal

What do I need to do to the html file?
scgf is offline   Reply With Quote
Old 08-11-2009, 02:10 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: 25,952
Karma: 5036099
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
just extract the contents of the <pre> tag and put it into a txt file and convert that
kovidgoyal is online now   Reply With Quote
Old 08-11-2009, 05:26 PM   #5
scgf
Connoisseur
scgf doesn't litterscgf doesn't litter
 
Posts: 76
Karma: 194
Join Date: Aug 2008
Device: Amazon Kindle 3, iPad, iPhone 4, iPod Touch (UK)
Cheers kovidgoyal. I removed <pre> and </pre> from the html file and the conversion worked perfectly.

Thank you!
scgf is offline   Reply With Quote
Old 08-12-2009, 06:14 AM   #6
HarryT
eBook Enthusiast
HarryT ought to be getting tired of karma fortunes by now.HarryT ought to be getting tired of karma fortunes by now.HarryT ought to be getting tired of karma fortunes by now.HarryT ought to be getting tired of karma fortunes by now.HarryT ought to be getting tired of karma fortunes by now.HarryT ought to be getting tired of karma fortunes by now.HarryT ought to be getting tired of karma fortunes by now.HarryT ought to be getting tired of karma fortunes by now.HarryT ought to be getting tired of karma fortunes by now.HarryT ought to be getting tired of karma fortunes by now.HarryT ought to be getting tired of karma fortunes by now.
 
HarryT's Avatar
 
Posts: 63,522
Karma: 41548799
Join Date: Nov 2006
Location: UK
Device: PW2, iPad Retina Mini, iPhone 4, MS Surface Pro, Onyx T68, N7,
Does that actually matter for the Opus, though (the device the original poster has)? To the best of my knowledge, devices using the Adobe "Portable SDK" ePub reader don't have the 260k "flow limit" that the Sony Reader has.
HarryT is offline   Reply With Quote
Old 08-12-2009, 12:58 PM   #7
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: 25,952
Karma: 5036099
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
Don't know, that needs to be verified. Once it is, I'll create an Output profile for the Opus that disables size based splitting.
kovidgoyal is online now   Reply With Quote
Old 08-12-2009, 01:00 PM   #8
HarryT
eBook Enthusiast
HarryT ought to be getting tired of karma fortunes by now.HarryT ought to be getting tired of karma fortunes by now.HarryT ought to be getting tired of karma fortunes by now.HarryT ought to be getting tired of karma fortunes by now.HarryT ought to be getting tired of karma fortunes by now.HarryT ought to be getting tired of karma fortunes by now.HarryT ought to be getting tired of karma fortunes by now.HarryT ought to be getting tired of karma fortunes by now.HarryT ought to be getting tired of karma fortunes by now.HarryT ought to be getting tired of karma fortunes by now.HarryT ought to be getting tired of karma fortunes by now.
 
HarryT's Avatar
 
Posts: 63,522
Karma: 41548799
Join Date: Nov 2006
Location: UK
Device: PW2, iPad Retina Mini, iPhone 4, MS Surface Pro, Onyx T68, N7,
I think it would still be a good idea to create "Sony-sized" flow for device compatibility purposes, especially if uploading books here.

If anyone has an ePub file with large flows, I'll be happy to test it on my Opus, just so we know.
HarryT is offline   Reply With Quote
Old 08-12-2009, 04:55 PM   #9
Valloric
Created Sigil, FlightCrew
Valloric ought to be getting tired of karma fortunes by now.Valloric ought to be getting tired of karma fortunes by now.Valloric ought to be getting tired of karma fortunes by now.Valloric ought to be getting tired of karma fortunes by now.Valloric ought to be getting tired of karma fortunes by now.Valloric ought to be getting tired of karma fortunes by now.Valloric ought to be getting tired of karma fortunes by now.Valloric ought to be getting tired of karma fortunes by now.Valloric ought to be getting tired of karma fortunes by now.Valloric ought to be getting tired of karma fortunes by now.Valloric ought to be getting tired of karma fortunes by now.
 
Valloric's Avatar
 
Posts: 1,978
Karma: 350515
Join Date: Feb 2008
Device: Sony Reader PRS 505
Quote:
Originally Posted by HarryT View Post
Does that actually matter for the Opus, though (the device the original poster has)? To the best of my knowledge, devices using the Adobe "Portable SDK" ePub reader don't have the 260k "flow limit" that the Sony Reader has.
AFAIK it is 300kb per flow, or more precisely, ~96kb for compressed ZIP. And Sony Reader uses the Mobile SDK too, just an older version. I also doubt they have removed the limit completely, maybe just pushed it up a bit.
Valloric is offline   Reply With Quote
Old 08-13-2009, 03:30 AM   #10
HarryT
eBook Enthusiast
HarryT ought to be getting tired of karma fortunes by now.HarryT ought to be getting tired of karma fortunes by now.HarryT ought to be getting tired of karma fortunes by now.HarryT ought to be getting tired of karma fortunes by now.HarryT ought to be getting tired of karma fortunes by now.HarryT ought to be getting tired of karma fortunes by now.HarryT ought to be getting tired of karma fortunes by now.HarryT ought to be getting tired of karma fortunes by now.HarryT ought to be getting tired of karma fortunes by now.HarryT ought to be getting tired of karma fortunes by now.HarryT ought to be getting tired of karma fortunes by now.
 
HarryT's Avatar
 
Posts: 63,522
Karma: 41548799
Join Date: Nov 2006
Location: UK
Device: PW2, iPad Retina Mini, iPhone 4, MS Surface Pro, Onyx T68, N7,
Quote:
Originally Posted by Valloric View Post
AFAIK it is 300kb per flow, or more precisely, ~96kb for compressed ZIP. And Sony Reader uses the Mobile SDK too, just an older version. I also doubt they have removed the limit completely, maybe just pushed it up a bit.
AFAIK, the ePub reader on the Sony 505 and 700 predates the Adobe "portable SDK" that the more recent devices are using. I think the Sony one was custom-written by Sony and Adobe.
HarryT is offline   Reply With Quote
Old 08-13-2009, 06:11 AM   #11
Jellby
frumious Bandersnatch
Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.
 
Jellby's Avatar
 
Posts: 6,150
Karma: 4792399
Join Date: Jan 2008
Location: Spaniard in Sweden
Device: Cybook Orizon, Kobo Aura
Quote:
Originally Posted by HarryT View Post
If anyone has an ePub file with large flows, I'll be happy to test it on my Opus, just so we know.
La divina commedia has large flows (and big pictures, and lots of hyperlinks, and "exotic" characters"...)
Jellby is offline   Reply With Quote
Old 08-13-2009, 06:21 AM   #12
HarryT
eBook Enthusiast
HarryT ought to be getting tired of karma fortunes by now.HarryT ought to be getting tired of karma fortunes by now.HarryT ought to be getting tired of karma fortunes by now.HarryT ought to be getting tired of karma fortunes by now.HarryT ought to be getting tired of karma fortunes by now.HarryT ought to be getting tired of karma fortunes by now.HarryT ought to be getting tired of karma fortunes by now.HarryT ought to be getting tired of karma fortunes by now.HarryT ought to be getting tired of karma fortunes by now.HarryT ought to be getting tired of karma fortunes by now.HarryT ought to be getting tired of karma fortunes by now.
 
HarryT's Avatar
 
Posts: 63,522
Karma: 41548799
Join Date: Nov 2006
Location: UK
Device: PW2, iPad Retina Mini, iPhone 4, MS Surface Pro, Onyx T68, N7,
Just tried it - works fine on the Opus, with the exception (reported elsewhere) that the Russian part does not have the required characters in the font.
HarryT is offline   Reply With Quote
Old 08-13-2009, 12:29 PM   #13
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: 25,952
Karma: 5036099
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
Can somebody tell me the screensize, dpi of the Opus for the new output profile
kovidgoyal is online now   Reply With Quote
Old 08-13-2009, 12:36 PM   #14
Jellby
frumious Bandersnatch
Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.
 
Jellby's Avatar
 
Posts: 6,150
Karma: 4792399
Join Date: Jan 2008
Location: Spaniard in Sweden
Device: Cybook Orizon, Kobo Aura
I think it's 800×600 pixels, and 200dpi.
Jellby is offline   Reply With Quote
Old 08-13-2009, 12:41 PM   #15
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: 25,952
Karma: 5036099
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
Is that the full useable are or just the nominal screen size?
kovidgoyal is online now   Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Ended PRS-505 in reasonable order £50 WigglePig Flea Market 15 09-08-2010 04:22 AM
A reasonable ebook publisher calvin-c Deals, Freebies, and Resources (No Self-Promotion) 4 01-16-2010 11:03 AM
Classic Reasonable to wait for Alex instead of Nook adio Barnes & Noble NOOK 6 11-18-2009 11:49 PM
Error: Could not find reasonable point at which to split MTR Calibre 7 10-09-2009 11:03 AM
Seriously thoughtful When Reasonable People Take Positions Dr. Drib Lounge 82 04-17-2009 07:23 PM


All times are GMT -4. The time now is 12:56 AM.


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