Register Guidelines E-Books Today's Posts Search

Go Back   MobileRead Forums > E-Book Software > Sigil

Notices

Reply
 
Thread Tools Search this Thread
Old 05-02-2014, 04:29 AM   #1
GrannyGrump
Obsessively Dedicated...
GrannyGrump ought to be getting tired of karma fortunes by now.GrannyGrump ought to be getting tired of karma fortunes by now.GrannyGrump ought to be getting tired of karma fortunes by now.GrannyGrump ought to be getting tired of karma fortunes by now.GrannyGrump ought to be getting tired of karma fortunes by now.GrannyGrump ought to be getting tired of karma fortunes by now.GrannyGrump ought to be getting tired of karma fortunes by now.GrannyGrump ought to be getting tired of karma fortunes by now.GrannyGrump ought to be getting tired of karma fortunes by now.GrannyGrump ought to be getting tired of karma fortunes by now.GrannyGrump ought to be getting tired of karma fortunes by now.
 
GrannyGrump's Avatar
 
Posts: 3,202
Karma: 34984330
Join Date: May 2011
Location: JAPAN (US expatriate)
Device: Sony PRS-T2, ADE on PC
Mysterious Crashing Problem on v 7.4

I am having a (first time ever) crashing problem with Sigil 7.4, running both on Win 8-64-bit, and on Vista x86.

Only one particular page in one particular book is giving problems.

Flight Crew and Pagina epubcheck report "No problems found." W3C validator reports the following embedded font-related error messages.

font-family Property font-family doesn't exist in CSS level 2.1 but exists in [css1, css2, css3] : "Iota"

Property src doesn't exist : url(../Fonts/Iota.ttf) format("truetype")

Value Error : font-style Property font-style doesn't exist in CSS level 2.1 but exists in [css1, css2, css3] : normal

Value Error : font-weight Property font-weight doesn't exist in CSS level 2.1 but exists in [css1, css2, css3] : normal

------

I have used this custom font before without problems, and the page in the epub that is having problems does not link to this font, anyway.

The epub is only five xhtml files. The second and largest (181kb) page named multiIndex.xhtml is the one that seems to be the problem. It does happen to be the only one that currently has any links assigned, so maybe I crippled the links and can't see it.

I have turned html tidy on and off, and even built a new epub from scratch and copy-pasted each page into Notepad++ and then into the new epub (in case there was something twisted in the code). Sometimes I can work for a half-hour or more with no problem, then suddenly a simple click on the problem page results in a crash.

Either this is something so simple I just cannot see it, or it is something so complex it needs expert eyes. I'm attaching the epub, in case you would like to take a peek.

Does anyone have ideas?

EDIT: Oops, I forgot to generate the TOC and html TOC on the replacement. Here is the edited version:
Attached Files
File Type: epub IDX-FOUR-B.epub (55.0 KB, 127 views)

Last edited by GrannyGrump; 05-02-2014 at 05:17 AM. Reason: Add corrected attachment
GrannyGrump is offline   Reply With Quote
Old 05-02-2014, 05:21 AM   #2
Toxaris
Wizard
Toxaris ought to be getting tired of karma fortunes by now.Toxaris ought to be getting tired of karma fortunes by now.Toxaris ought to be getting tired of karma fortunes by now.Toxaris ought to be getting tired of karma fortunes by now.Toxaris ought to be getting tired of karma fortunes by now.Toxaris ought to be getting tired of karma fortunes by now.Toxaris ought to be getting tired of karma fortunes by now.Toxaris ought to be getting tired of karma fortunes by now.Toxaris ought to be getting tired of karma fortunes by now.Toxaris ought to be getting tired of karma fortunes by now.Toxaris ought to be getting tired of karma fortunes by now.
 
Toxaris's Avatar
 
Posts: 4,520
Karma: 121692313
Join Date: Oct 2009
Location: Heemskerk, NL
Device: PRS-T1, Kobo Touch, Kobo Aura
If the crashing occurs only with the big file, there is probably something in the code that confuses Sigil. Unfortunately it is the biggest file... What you can do is split the file manually before inserting it into Sigil. See which part is now crashing and split that part again. That should enable you to pinpoint the culprit. It can take a while though...
Toxaris is offline   Reply With Quote
Advert
Old 05-02-2014, 05:32 AM   #3
Doitsu
Grand Sorcerer
Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.
 
Doitsu's Avatar
 
Posts: 5,680
Karma: 23983815
Join Date: Dec 2010
Device: Kindle PW2
I was able to crash Sigil with your file once, but couldn't repeat it. Are there any steps that consistently crash Sigil with your file?

According to the Sigil user manual, Sigil seems to expect quotation marks around the font path:

Quote:
@font-face {
font-family: 'Garamond';
font-weight: normal;
font-style: normal;
src: url('../Fonts/Garamond.ttf');
}
Try enclosing the file path in single or double quotation marks. Also Iota is the name of a named HTML entity, which might confuse the parser. Try renaming the font name to find out if this makes any difference.
Doitsu is offline   Reply With Quote
Old 05-02-2014, 05:58 AM   #4
GrannyGrump
Obsessively Dedicated...
GrannyGrump ought to be getting tired of karma fortunes by now.GrannyGrump ought to be getting tired of karma fortunes by now.GrannyGrump ought to be getting tired of karma fortunes by now.GrannyGrump ought to be getting tired of karma fortunes by now.GrannyGrump ought to be getting tired of karma fortunes by now.GrannyGrump ought to be getting tired of karma fortunes by now.GrannyGrump ought to be getting tired of karma fortunes by now.GrannyGrump ought to be getting tired of karma fortunes by now.GrannyGrump ought to be getting tired of karma fortunes by now.GrannyGrump ought to be getting tired of karma fortunes by now.GrannyGrump ought to be getting tired of karma fortunes by now.
 
GrannyGrump's Avatar
 
Posts: 3,202
Karma: 34984330
Join Date: May 2011
Location: JAPAN (US expatriate)
Device: Sony PRS-T2, ADE on PC
@Toxaris -- Ho ho! It seems there might be a problem in the *stylesheet*. I tried the pub with only the xhtml files, and it seems stable, but when I paste in my "main" css, it gets very touchy and crashy.

Thanks for the tip! I will be pasting css line by line to see if I can track it down.

@Doitsu, you posted while I was typing. See, I knew there would be something that I wasn't seeing, Curses on copy-paste, I missed the quote marks. Fixing that now. EDIT: PS -- no, the quote marks didn't help the crashability, but I will keep trying.

The crashing seems random, nothing that I could pinpoint as consistent. But I have hopes now to narrow down the problem in the css.

Last edited by GrannyGrump; 05-02-2014 at 06:01 AM.
GrannyGrump is offline   Reply With Quote
Old 05-02-2014, 06:33 AM   #5
GrannyGrump
Obsessively Dedicated...
GrannyGrump ought to be getting tired of karma fortunes by now.GrannyGrump ought to be getting tired of karma fortunes by now.GrannyGrump ought to be getting tired of karma fortunes by now.GrannyGrump ought to be getting tired of karma fortunes by now.GrannyGrump ought to be getting tired of karma fortunes by now.GrannyGrump ought to be getting tired of karma fortunes by now.GrannyGrump ought to be getting tired of karma fortunes by now.GrannyGrump ought to be getting tired of karma fortunes by now.GrannyGrump ought to be getting tired of karma fortunes by now.GrannyGrump ought to be getting tired of karma fortunes by now.GrannyGrump ought to be getting tired of karma fortunes by now.
 
GrannyGrump's Avatar
 
Posts: 3,202
Karma: 34984330
Join Date: May 2011
Location: JAPAN (US expatriate)
Device: Sony PRS-T2, ADE on PC
@ Doitsu -- maybe not totally random. The crashes *seem* to only happen when I am selecting the big xhtml page or one of the stlyesheets in the book browser window, *or* when I click on that xhtml page in the Preview window. But it doesn't crash every time I do that, only sometimes...
GrannyGrump is offline   Reply With Quote
Advert
Old 05-02-2014, 02:42 PM   #6
Arios
A curiosus lector!
Arios ought to be getting tired of karma fortunes by now.Arios ought to be getting tired of karma fortunes by now.Arios ought to be getting tired of karma fortunes by now.Arios ought to be getting tired of karma fortunes by now.Arios ought to be getting tired of karma fortunes by now.Arios ought to be getting tired of karma fortunes by now.Arios ought to be getting tired of karma fortunes by now.Arios ought to be getting tired of karma fortunes by now.Arios ought to be getting tired of karma fortunes by now.Arios ought to be getting tired of karma fortunes by now.Arios ought to be getting tired of karma fortunes by now.
 
Arios's Avatar
 
Posts: 463
Karma: 2015140
Join Date: Jun 2012
Device: Sony PRS-T1, Kobo Touch
Hi GrannyGrump you have set a new category of epub: the crashing one!

Kidding, but indeed your epub has crashed my Sigil.

Are you sure that:

Code:
hyphens:none;
-epub-hyphens:none;
-moz-hyphens:none;
adobe-hyphenate: none;
-webkit-hyphens: none ! important;
is valid within css 2.1?

Maybe you can try something like:

body { adobe-hyphenate: none; } it seems to works at least with the Kobo.

Also, Sigil is complaining about x-font-truetype and suggests x-font-ttf. If you get rid of that, and "hyphens: none;" and al. the epub has no problem with epubcheck.

Last edited by Arios; 05-02-2014 at 02:52 PM.
Arios is offline   Reply With Quote
Old 05-05-2014, 05:48 AM   #7
GrannyGrump
Obsessively Dedicated...
GrannyGrump ought to be getting tired of karma fortunes by now.GrannyGrump ought to be getting tired of karma fortunes by now.GrannyGrump ought to be getting tired of karma fortunes by now.GrannyGrump ought to be getting tired of karma fortunes by now.GrannyGrump ought to be getting tired of karma fortunes by now.GrannyGrump ought to be getting tired of karma fortunes by now.GrannyGrump ought to be getting tired of karma fortunes by now.GrannyGrump ought to be getting tired of karma fortunes by now.GrannyGrump ought to be getting tired of karma fortunes by now.GrannyGrump ought to be getting tired of karma fortunes by now.GrannyGrump ought to be getting tired of karma fortunes by now.
 
GrannyGrump's Avatar
 
Posts: 3,202
Karma: 34984330
Join Date: May 2011
Location: JAPAN (US expatriate)
Device: Sony PRS-T2, ADE on PC
Hi Arios.
To tell the truth, I'm happy it crashed for you also, otherwise I would think I imagined it!

I'm not sure if I have fixed it or not, but I changed a style attribute from
font-variant: normal
to
font-style: normal

and so far it hasn't crashed again. (shhh, I don't want to jinx it.)

I've been using all those hyphen settings for months without any problem.
The @font-face settings also, except I had to restore the quote marks as Doitsu noted.

So I don't know for sure, but I am keeping my fingers crossed.
The font-variant:normal should be valid, according to W3C, but who knows?
GrannyGrump is offline   Reply With Quote
Old 05-06-2014, 08:27 PM   #8
Arios
A curiosus lector!
Arios ought to be getting tired of karma fortunes by now.Arios ought to be getting tired of karma fortunes by now.Arios ought to be getting tired of karma fortunes by now.Arios ought to be getting tired of karma fortunes by now.Arios ought to be getting tired of karma fortunes by now.Arios ought to be getting tired of karma fortunes by now.Arios ought to be getting tired of karma fortunes by now.Arios ought to be getting tired of karma fortunes by now.Arios ought to be getting tired of karma fortunes by now.Arios ought to be getting tired of karma fortunes by now.Arios ought to be getting tired of karma fortunes by now.
 
Arios's Avatar
 
Posts: 463
Karma: 2015140
Join Date: Jun 2012
Device: Sony PRS-T1, Kobo Touch
Well GrannyGrump,

I quickly tested your epub with my Kobo and there were no displaying problems with the file. The Sigil indigestion may be due to an internal parsing problem or Qt.

Anyway, have a nice evening (or day)!

Last edited by Arios; 05-06-2014 at 10:02 PM.
Arios is offline   Reply With Quote
Reply


Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
New problem with Calibre crashing Rickshaw Calibre 3 07-22-2013 12:33 AM
Crashing problem (Bloatware? Memory?) Cover Bands Suck enTourage eDGe 9 10-01-2011 01:11 PM
Mac Crashing Problem Neil Calibre 9 12-26-2010 05:46 AM
Calibre mysterious crashing on launch - cannot run Merischino Calibre 11 09-19-2010 06:59 AM
Mysterious problem with dictionary-lookup Pulp Bookeen 22 02-07-2010 11:57 AM


All times are GMT -4. The time now is 04:52 AM.


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