![]() |
#1 |
Obsessively Dedicated...
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() 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: Last edited by GrannyGrump; 05-02-2014 at 05:17 AM. Reason: Add corrected attachment |
![]() |
![]() |
![]() |
#2 |
Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() 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...
|
![]() |
![]() |
Advert | |
|
![]() |
#3 | |
Grand Sorcerer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() 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:
|
|
![]() |
![]() |
![]() |
#4 |
Obsessively Dedicated...
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() 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. |
![]() |
![]() |
![]() |
#5 |
Obsessively Dedicated...
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() 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...
|
![]() |
![]() |
Advert | |
|
![]() |
#6 |
A curiosus lector!
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() 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; 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. |
![]() |
![]() |
![]() |
#7 |
Obsessively Dedicated...
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() 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? |
![]() |
![]() |
![]() |
#8 |
A curiosus lector!
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() 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. |
![]() |
![]() |
![]() |
|
![]() |
||||
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 |