Register Guidelines E-Books Today's Posts Search

Go Back   MobileRead Forums > E-Book Software > Sigil

Notices

Reply
 
Thread Tools Search this Thread
Old 10-13-2025, 12:16 PM   #1
Derell Licht
Member
Derell Licht began at the beginning.
 
Derell Licht's Avatar
 
Posts: 21
Karma: 10
Join Date: Jul 2016
Location: Fremont, CA
Device: Kindle Paperwhite Signature Edition
Sigil 2.6.2 - html open fails, do not understand error message

I am trying to open an html file, and convert it to epub.
When I open the document, I get an error message (shown below)

However, I cannot find either the Clean Source preference, nor the Mend XHTML Source Code option, anywhere in the program.
Can someone please give me some pointers on this??

Derell Licht is offline   Reply With Quote
Old 10-13-2025, 12:22 PM   #2
KevinH
Sigil Developer
KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.
 
Posts: 9,033
Karma: 6361556
Join Date: Nov 2009
Device: many
right click in CodeView and select Mend. Or as it says go to Sigil Preferences and turn on clean/mend source on open. Then try reopening an html file.

Where exactly is your screen capture from? That dies not look like any error message or font that Sigil normally uses?

Are you sure you are using Sigil 2.6.2 and not some earlier version?

The error message says there is am xml parsing error in the specified file in line 30 where it expected a closing tag '>' character but got a ':'.

Open that file and copy and paste lines 29 - 31 here and people can help. But turning on Mend when opening poorly formed html (not xhtml) files is almost a requirement as html is not xhtml.

Last edited by KevinH; 10-13-2025 at 12:29 PM.
KevinH is online now   Reply With Quote
Old 10-13-2025, 02:20 PM   #3
Derell Licht
Member
Derell Licht began at the beginning.
 
Derell Licht's Avatar
 
Posts: 21
Karma: 10
Join Date: Jul 2016
Location: Fremont, CA
Device: Kindle Paperwhite Signature Edition
Quote:
Originally Posted by KevinH View Post
right click in CodeView and select Mend. Or as it says go to Sigil Preferences and turn on clean/mend source on open. Then try reopening an html file.

Where exactly is your screen capture from? That dies not look like any error message or font that Sigil normally uses?

Are you sure you are using Sigil 2.6.2 and not some earlier version?

The error message says there is am xml parsing error in the specified file in line 30 where it expected a closing tag '>' character but got a ':'.

Open that file and copy and paste lines 29 - 31 here and people can help. But turning on Mend when opening poorly formed html (not xhtml) files is almost a requirement as html is not xhtml.
Okay, responses:
1. Yes, definitely Sigil 2.6.2; I can upload a copy of the About dialog if ye wish, but it is 2.6.2
2. The font is different from default because I use a Windows Theming program called WindowBlinds to set custom fonts, but it doesn't do anything to the messages from any programs.
3. The closest that I can find to "Mend XHTML Source Code on Open" is:
Code:
Edit -> Prefs -> General Settings -> Basics tab -> 
Mend Not Well Formed HTML Source code On:
and both Open and Save are already checked...
But I *still* get this error on opening the file.
4. here are lines 29 through 32:

Code:
*
 * @licend  The above is the entire license notice
 * for the JavaScript code in this page.
 */
As can be seen, there is no colon there...
Derell Licht is offline   Reply With Quote
Reply


Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Sigil Error Message: Book File Would Not Open in Sigil fkustaa Sigil 9 04-27-2025 05:11 AM
Do not understand error message: epub-pagelist-missing-pagebreak tomtomtom ePub 12 06-01-2024 02:15 PM
Don't Understand Error Message: ... but found '"liga" 0' enuddleyarbl Editor 24 04-16-2022 03:43 PM
New message when I open Sigil 0.9.17 dynabook Sigil 23 08-19-2019 08:07 PM
Do not understand error message. dmcd Calibre 10 02-07-2012 07:21 PM


All times are GMT -4. The time now is 01:29 PM.


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