View Single Post
Old 01-17-2018, 01:52 PM   #1
Hitch
Bookmaker & Cat Slave
Hitch ought to be getting tired of karma fortunes by now.Hitch ought to be getting tired of karma fortunes by now.Hitch ought to be getting tired of karma fortunes by now.Hitch ought to be getting tired of karma fortunes by now.Hitch ought to be getting tired of karma fortunes by now.Hitch ought to be getting tired of karma fortunes by now.Hitch ought to be getting tired of karma fortunes by now.Hitch ought to be getting tired of karma fortunes by now.Hitch ought to be getting tired of karma fortunes by now.Hitch ought to be getting tired of karma fortunes by now.Hitch ought to be getting tired of karma fortunes by now.
 
Hitch's Avatar
 
Posts: 11,503
Karma: 158448243
Join Date: Apr 2010
Location: Phoenix, AZ
Device: K2, iPad, KFire, PPW, Voyage, NookColor. 2 Droid, Oasis, Boox Note2
Weird "check" message in Calibre editor for ePUB

Hey, kids:

So, I had a client with 7 offshore-built ePUBs come to me, asking me to fix them so that they could be sold at B&N, etc. None pass ePUBcheck.

Most of it was easy-peasy; someone used an xml file extension for the cover page, or did some other daft thing. BUT, I got this doozy of an error, on almost all of them:

Quote:
ERROR: CSS: PropertyValue: Missing token for production Choice(ColorValue, Dimension, URIValue, Value, variable, MSValue, CSSCalc, function): ('HASH', u'#00007', 1, 107)****[OEBPS/cover.xhtml]
I've never seen this before. Nor do I have a freaking clue as to what it might be. With the notation about the color values, I thought, well, crap, maybe it's something in the cover image, itself, but removing it and replacing it did not change the reported error.

n.b.: this error/warning/whatever does not show up in ePUBcheck 2.01 proper. It only shows up in the Calibre "check." (Whatever that is). As you can tell, I don't use C's editor very often; I'm a Sigil girl at heart. But when you work with offshored ePUBs, the file structure is different than Sigil creates, so it's best to use Calibre for that, which won't rearrange their existing structure. Thus, I got that doozy.

It sounds to me like a problem with the hashes, but...Whiskey Tango Foxtrot, what is that? I don't have to fix it, as it doesn't show up for ePUBcheck, but...you know. Inquiring Minds...

I thought that you lads--my rave fave steely-eyed coding pilots--might know. I'm most curious.

Thoughts?

Hitch
Hitch is offline   Reply With Quote