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

Go Back   MobileRead Forums > E-Book Software > Sigil

Notices

Reply
 
Thread Tools Search this Thread
Old 06-18-2011, 08:08 PM   #1
Cayo
Enthusiast
Cayo has a complete set of Star Wars action figures.Cayo has a complete set of Star Wars action figures.Cayo has a complete set of Star Wars action figures.Cayo has a complete set of Star Wars action figures.
 
Posts: 25
Karma: 310
Join Date: May 2011
Device: none
After converting to html to epub, file won't open.

As a new Sigil user, I tried converting an HTML file to ePub. After saving it in Sigil, I tried to open it with Cool Reader (PC version), and got an error "Error while opening document".

How can I determine what the problem is and correct it?


For what it's worth, I tried clicking the Validate button. It comes up with a single issue:

OEBPS/Test/logo.jpg
This resource is reachable but not present in the OPF <manifest>.
Cayo is offline   Reply With Quote
Old 06-18-2011, 08:34 PM   #2
theducks
Grand Sorcerer
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: 15,244
Karma: 6020307
Join Date: Aug 2009
Location: (The original) Silicon Valley, USA
Device: Galaxy Tab 2, Astak Pocket Pro, K4NT
Quote:
Originally Posted by Cayo View Post
As a new Sigil user, I tried converting an HTML file to ePub. After saving it in Sigil, I tried to open it with Cool Reader (PC version), and got an error "Error while opening document".

How can I determine what the problem is and correct it?


For what it's worth, I tried clicking the Validate button. It comes up with a single issue:

OEBPS/Test/logo.jpg
This resource is reachable but not present in the OPF <manifest>.
Somewhere there is one or more lines with Test/logo.jpg

Sigil puts images in: ../Images/
so if there is a logo.jpg, S&R Text/logo.jpg to Images/logo.jpg, otherwise: Delete those references (<img... </img> )
theducks is offline   Reply With Quote
Old 06-18-2011, 08:53 PM   #3
Cayo
Enthusiast
Cayo has a complete set of Star Wars action figures.Cayo has a complete set of Star Wars action figures.Cayo has a complete set of Star Wars action figures.Cayo has a complete set of Star Wars action figures.
 
Posts: 25
Karma: 310
Join Date: May 2011
Device: none
Quote:
Originally Posted by theducks View Post
Somewhere there is one or more lines with Test/logo.jpg

Sigil puts images in: ../Images/
so if there is a logo.jpg, S&R Text/logo.jpg to Images/logo.jpg, otherwise: Delete those references (<img... </img> )
Thanks for explaining that. I found and deleted the reference, and the Validate function reports no errors.

However, the file still won't open anywhere else. What else could be wrong?
Cayo is offline   Reply With Quote
Old 06-18-2011, 08:59 PM   #4
theducks
Grand Sorcerer
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: 15,244
Karma: 6020307
Join Date: Aug 2009
Location: (The original) Silicon Valley, USA
Device: Galaxy Tab 2, Astak Pocket Pro, K4NT
Quote:
Originally Posted by Cayo View Post
Thanks for explaining that. I found and deleted the reference, and the Validate function reports no errors.

However, the file still won't open anywhere else. What else could be wrong?
where is anywhere else?

Many readers will not open a huge segment (260K compressed/section is a good number to stay under). If your epub file is over 300K, you need to do 1 or more 'Sigil splits' (usually before Chapter starts).
If you use Firefox, get the EPBREADER plugin (down 1 forum )
theducks is offline   Reply With Quote
Old 06-18-2011, 09:11 PM   #5
Cayo
Enthusiast
Cayo has a complete set of Star Wars action figures.Cayo has a complete set of Star Wars action figures.Cayo has a complete set of Star Wars action figures.Cayo has a complete set of Star Wars action figures.
 
Posts: 25
Karma: 310
Join Date: May 2011
Device: none
Quote:
Originally Posted by theducks View Post
where is anywhere else?

Many readers will not open a huge segment (260K compressed/section is a good number to stay under). If your epub file is over 300K, you need to do 1 or more 'Sigil splits' (usually before Chapter starts).
If you use Firefox, get the EPBREADER plugin (down 1 forum )

Thanks, I didn't know that about the size requirements. By Sigil Splits, do you mean chapter breaks or something else? I saw something about SGF breaks as well...
Cayo is offline   Reply With Quote
Old 06-18-2011, 09:16 PM   #6
theducks
Grand Sorcerer
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: 15,244
Karma: 6020307
Join Date: Aug 2009
Location: (The original) Silicon Valley, USA
Device: Galaxy Tab 2, Astak Pocket Pro, K4NT
Quote:
Originally Posted by Cayo View Post
Thanks, I didn't know that about the size requirements. By Sigil Splits, do you mean chapter breaks or something else? I saw something about SGF breaks as well...
Not a 'requirement'.
A limitation of handheld devices

That is it. the CH icon.
Place the cursor at the END of the line you want to split (no mid point usage.) the click the button
theducks is offline   Reply With Quote
Old 06-18-2011, 09:58 PM   #7
Cayo
Enthusiast
Cayo has a complete set of Star Wars action figures.Cayo has a complete set of Star Wars action figures.Cayo has a complete set of Star Wars action figures.Cayo has a complete set of Star Wars action figures.
 
Posts: 25
Karma: 310
Join Date: May 2011
Device: none
That was it! Once I did that, the file was openable. Thanks!

One remaining problem, however, is that the cover image - which shows up fine in Sigil, doesn't show up when viewing the file through a reader. I made sure to flag it as the cover in Sigil, but that doesn't seem to matter.

Any ideas what I'm missing?
Cayo is offline   Reply With Quote
Old 06-18-2011, 10:01 PM   #8
AnemicOak
Bookaholic
AnemicOak ought to be getting tired of karma fortunes by now.AnemicOak ought to be getting tired of karma fortunes by now.AnemicOak ought to be getting tired of karma fortunes by now.AnemicOak ought to be getting tired of karma fortunes by now.AnemicOak ought to be getting tired of karma fortunes by now.AnemicOak ought to be getting tired of karma fortunes by now.AnemicOak ought to be getting tired of karma fortunes by now.AnemicOak ought to be getting tired of karma fortunes by now.AnemicOak ought to be getting tired of karma fortunes by now.AnemicOak ought to be getting tired of karma fortunes by now.AnemicOak ought to be getting tired of karma fortunes by now.
 
AnemicOak's Avatar
 
Posts: 10,429
Karma: 28936355
Join Date: Oct 2007
Location: Minnesota
Device: HDX 8.9, AuraHD, Nook HD+, Kindle 2,3,T , Opus, Nexus7, iPhone5, etc
Are both the cover image and the 'page' with the cover flagged?
AnemicOak is offline   Reply With Quote
Old 06-18-2011, 10:12 PM   #9
Cayo
Enthusiast
Cayo has a complete set of Star Wars action figures.Cayo has a complete set of Star Wars action figures.Cayo has a complete set of Star Wars action figures.Cayo has a complete set of Star Wars action figures.
 
Posts: 25
Karma: 310
Join Date: May 2011
Device: none
The image was, I just flagged the page. It made no difference.

I deleted and re-inserted the image, still no go.
Cayo is offline   Reply With Quote
Old 06-18-2011, 10:38 PM   #10
Cayo
Enthusiast
Cayo has a complete set of Star Wars action figures.Cayo has a complete set of Star Wars action figures.Cayo has a complete set of Star Wars action figures.Cayo has a complete set of Star Wars action figures.
 
Posts: 25
Karma: 310
Join Date: May 2011
Device: none
If it makes any difference, I'll mention that since this started as a single HTML file, which I added chapter breaks to - the code for the cover page contains all of the CSS code that was originally there and intended for the whole document.
Cayo is offline   Reply With Quote
Old 06-18-2011, 10:46 PM   #11
theducks
Grand Sorcerer
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: 15,244
Karma: 6020307
Join Date: Aug 2009
Location: (The original) Silicon Valley, USA
Device: Galaxy Tab 2, Astak Pocket Pro, K4NT
Quote:
Originally Posted by Cayo View Post
If it makes any difference, I'll mention that since this started as a single HTML file, which I added chapter breaks to - the code for the cover page contains all of the CSS code that was originally there and intended for the whole document.
You really need to put the CSS stuff into the stylesheet (and add a <Link ..> on each page).

If you had first converted with Calibre, then do the fine tune with Sigil, most of the work would have been done for you.
theducks is offline   Reply With Quote
Old 06-18-2011, 11:03 PM   #12
Cayo
Enthusiast
Cayo has a complete set of Star Wars action figures.Cayo has a complete set of Star Wars action figures.Cayo has a complete set of Star Wars action figures.Cayo has a complete set of Star Wars action figures.
 
Posts: 25
Karma: 310
Join Date: May 2011
Device: none
Good to know. But that's not likely to cause the issue with the cover, is it?
Cayo is offline   Reply With Quote
Old 06-19-2011, 12:30 AM   #13
theducks
Grand Sorcerer
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: 15,244
Karma: 6020307
Join Date: Aug 2009
Location: (The original) Silicon Valley, USA
Device: Galaxy Tab 2, Astak Pocket Pro, K4NT
Quote:
Originally Posted by Cayo View Post
Good to know. But that's not likely to cause the issue with the cover, is it?
Not unless you have an style error.
Sigil does not check the CSS in V.3 and only checks the <Style> tags and class syntax

Keep the image size about 600x800 or smaller. jpg only,
theducks is offline   Reply With Quote
Old 06-19-2011, 02:24 AM   #14
crich70
Grand Sorcerer
crich70 ought to be getting tired of karma fortunes by now.crich70 ought to be getting tired of karma fortunes by now.crich70 ought to be getting tired of karma fortunes by now.crich70 ought to be getting tired of karma fortunes by now.crich70 ought to be getting tired of karma fortunes by now.crich70 ought to be getting tired of karma fortunes by now.crich70 ought to be getting tired of karma fortunes by now.crich70 ought to be getting tired of karma fortunes by now.crich70 ought to be getting tired of karma fortunes by now.crich70 ought to be getting tired of karma fortunes by now.crich70 ought to be getting tired of karma fortunes by now.
 
crich70's Avatar
 
Posts: 7,437
Karma: 23846667
Join Date: Feb 2010
Location: Monroe Wisconsin
Device: K3, Kindle Paperwhite, Calibre, and Mobipocket for Pc (netbook)
You might want to check to make sure you don't have multiple copies of the same image as well. I had to adjust the size of an image not long ago (I scaled it in GIMP) and even though I'd cut it from the page it was inserted into the copies I'd cut still remained in the image folder which made the file grow in size quite a bit (27 mb).
crich70 is offline   Reply With Quote
Old 06-19-2011, 01:01 PM   #15
theducks
Grand Sorcerer
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: 15,244
Karma: 6020307
Join Date: Aug 2009
Location: (The original) Silicon Valley, USA
Device: Galaxy Tab 2, Astak Pocket Pro, K4NT
Quote:
Originally Posted by crich70 View Post
You might want to check to make sure you don't have multiple copies of the same image as well. I had to adjust the size of an image not long ago (I scaled it in GIMP) and even though I'd cut it from the page it was inserted into the copies I'd cut still remained in the image folder which made the file grow in size quite a bit (27 mb).
The flightcrew check should have yellow flagged the extra image file as 'Unused'
theducks is offline   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
Converting multiple HTML files into one EPUB file bigdukesix ePub 3 03-08-2011 01:12 PM
Converting Merged HTML file to Epub/PDF Not Working MV64 Calibre 1 06-07-2010 08:48 PM
Need help converting file which is too long to be HTML ficbot Workshop 8 04-07-2010 12:45 AM
Small HTML file won't finish converting AlexBell Calibre 2 07-06-2009 07:15 AM
Open HTML from Kindle file system w/browser tomsem Kindle Developer's Corner 2 05-03-2009 02:21 PM


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


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