![]() |
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. |
attach one of these problem ebook files to a bug report.
|
I have exactly the same problem, since updating. Contemplating downgrading.
|
I need an ebook file that shows the problem to be able to help.
|
1 Attachment(s)
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'. |
1 Attachment(s)
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. |
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.
|
Quote:
|
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. |
update to 4.9.1 and you should be fine.
|
Quote:
This error still persists: Quote:
|
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.:rofl: Thank you for solving the problem. |
@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.
|
Quote:
I downgraded to 4.8, and everything worked again. Now I've upgraded to 4.9.1 and all still works. :thanks: |
| All times are GMT -4. The time now is 10:29 PM. |
Powered by: vBulletin
Copyright ©2000 - 3.8.5, Jelsoft Enterprises Ltd.
MobileRead.com is a privately owned, operated and funded community.