![]() |
#1 |
Belgian Pommes Frites
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 122
Karma: 35038
Join Date: Jan 2012
Device: Pocketbook Touch HD
|
Problem with Calibre editor in Calibre v4.9
Hey,
I have a weird problem in the Calibre editor of Calibre v4.9. I have been editing some books with Calibre 4.8 and the calibre editor yesterday and today. That worked fine. I then upgraded to Calibre v4.9 and continued editing. Now, when I run the editor and use "check book" I get this message: Failed to process name_of_html file However, when I look at this html file, I can not find any errors. When I then re-run check, it sometimes gives this message for the same file and sometimes for other html files. When I use epubcheck plugin, the book is fine and there are no errors. I can read the book, go to the html file that gives the error and it all works. I then checked a book I did yesterday with Calibre v4.8. This book had no errors yesterday, not in check book, not in epubcheck. But with Calibre v4.9, when I run the check, it gives me the above error message. I have now tried this on 5 different books and each book throws up this error, when running "check book" in the Calibre editor for v4.9. And here too the html files that get marked, change all the time when re-running "check book". And when I use the sigil editor to look at these books, everything works fine. I run Calibre on windows 10 v1909 with the latest updates applied. What am I doing wrong? Or is this some bug? Some help would be much appreciated. Last edited by Capricorn; 01-23-2020 at 02:32 AM. |
![]() |
![]() |
![]() |
#2 |
creator of calibre
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 45,359
Karma: 27182818
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
|
attach one of these problem ebook files to a bug report.
|
![]() |
![]() |
![]() |
#3 |
Junior Member
![]() Posts: 2
Karma: 10
Join Date: May 2016
Device: Sony PRS-T1
|
I have exactly the same problem, since updating. Contemplating downgrading.
|
![]() |
![]() |
![]() |
#4 |
creator of calibre
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 45,359
Karma: 27182818
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
|
I need an ebook file that shows the problem to be able to help.
|
![]() |
![]() |
![]() |
#5 | |
Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 1,214
Karma: 1419583
Join Date: Dec 2016
Location: Goiânia - Brazil
Device: iPad, Kindle Paperwhite, Kindle Oasis
|
Quote:
______ About the CSS3 check, it seems not to recognize shorthanded properties, like this: Code:
border-top: inherit solid 1px; Code:
Expected end of value but found 'solid'. |
|
![]() |
![]() |
![]() |
#6 |
Belgian Pommes Frites
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 122
Karma: 35038
Join Date: Jan 2012
Device: Pocketbook Touch HD
|
I have attached one of the epubs that gives the error message as described in my original post.
When I run "check book" it gives file 001 and file 0049 as html file. When I do a rerun without closing the editor, it stays the same. However, each time I close the editor, reopen it and run "check book" again, it points to different html files. I hope this helps. Last edited by Capricorn; 01-23-2020 at 09:03 AM. |
![]() |
![]() |
![]() |
#7 |
Still reading
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 14,053
Karma: 105092227
Join Date: Jun 2017
Location: Ireland
Device: All 4 Kinds: epub eink, Kindle, android eink, NxtPaper
|
I've found I can't search for text in the css file. Even replace all, when my cursor is in the css jumps to an html file.
|
![]() |
![]() |
![]() |
#8 |
Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 1,214
Karma: 1419583
Join Date: Dec 2016
Location: Goiânia - Brazil
Device: iPad, Kindle Paperwhite, Kindle Oasis
|
Are you sure you selected 'Current file' or 'All style files'? The default option is 'All text files', which won't look in CSS files.
|
![]() |
![]() |
![]() |
#9 |
Still reading
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 14,053
Karma: 105092227
Join Date: Jun 2017
Location: Ireland
Device: All 4 Kinds: epub eink, Kindle, android eink, NxtPaper
|
I wondered if I'd selected something wrong, that was it!
Thanks. I don't do much editing. These were PD epubs with fixed tight line height, left justified and font listed as Arial, Times Roman! So rather unreadable. |
![]() |
![]() |
![]() |
#10 |
creator of calibre
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 45,359
Karma: 27182818
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
|
update to 4.9.1 and you should be fine.
|
![]() |
![]() |
![]() |
#11 | |
Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 1,214
Karma: 1419583
Join Date: Dec 2016
Location: Goiânia - Brazil
Device: iPad, Kindle Paperwhite, Kindle Oasis
|
Hi, Kovid.
This error still persists: Quote:
|
|
![]() |
![]() |
![]() |
#12 |
Belgian Pommes Frites
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 122
Karma: 35038
Join Date: Jan 2012
Device: Pocketbook Touch HD
|
I upgraded to 4.9.1 and the problem in my original post is now gone. I checked with five different books and it works fine.
I can now return to the usual madness of not understanding certain regexes, css, html, metadata...etc. So, everything is fine. ![]() Thank you for solving the problem. |
![]() |
![]() |
![]() |
#13 |
creator of calibre
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 45,359
Karma: 27182818
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
|
@thiago.eec: That is an issue with csslint the library calibre uses to do the check. Someday if I have time, I will look into it.
|
![]() |
![]() |
![]() |
#14 |
Junior Member
![]() Posts: 2
Karma: 10
Join Date: May 2016
Device: Sony PRS-T1
|
![]() |
![]() |
![]() |
![]() |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
Help with Calibre editor | G2B | Editor | 11 | 04-06-2018 09:39 AM |
Problem with calibre-parallel.exe - Calibre or Avast??? | Baz Praz | Library Management | 16 | 02-25-2017 01:27 PM |
Using calibre's editor independently | sbin | Editor | 34 | 07-31-2014 01:40 PM |
Calibre Ebook Editor | filmo | Kobo Reader | 0 | 01-13-2014 10:11 AM |
Kindle and Calibre user with problem importing large library into Calibre | pleabargain | Calibre | 1 | 12-07-2010 10:19 AM |