Register Guidelines E-Books Search Today's Posts Mark Forums Read

Go Back   MobileRead Forums > E-Book Software > Sigil

Notices

Reply
 
Thread Tools Search this Thread
Old 09-18-2018, 05:17 PM   #1
jenni fuentes
Junior Member
jenni fuentes began at the beginning.
 
Posts: 7
Karma: 10
Join Date: Sep 2018
Device: sigil
Error with links

Hello everyone.
I need help with my Epub that I'm editing with Sigil.
The problem is with the links that I have put. When I save the file it gives me "error".
I have a screenshot of the error, but it is in Spanish, but i translated.

This Epub contains HTML files that are not correct and the current configuration of "clean code" is automatically correct when saving. Saving a file that is not correct causes it to be corrected automatically, which can rarely cause data loss. Do you want to correct the files automatically before saving?
jenni fuentes is offline   Reply With Quote
Old 09-18-2018, 05:49 PM   #2
theducks
Well trained by Cats
theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.
 
theducks's Avatar
 
Posts: 22,116
Karma: 22087764
Join Date: Aug 2009
Location: (The original) Silicon Valley, USA
Device: K4NT, Galaxy Tab A
That usually means there is a parceing or syntax error

Opening and closing tags do not match, semicolon or colon where the other belongs...
Try and switch each file to Book view, The one(s) with errors will refuse and pop a more specific error message that includes the line number that the error was detected (the actual error may be before this point)

BTW The message says Sigil can try to auto fix the issue,but warns it might get it wrong. Your choice (I try to manual fix unknowns rather than roll the dice. )
theducks is offline   Reply With Quote
Old 09-18-2018, 06:33 PM   #3
jenni fuentes
Junior Member
jenni fuentes began at the beginning.
 
Posts: 7
Karma: 10
Join Date: Sep 2018
Device: sigil
I'm trying to fix it manually, but I do not understand it. I am new to this program.
If I try "auto", then can I go back if I lose data?
jenni fuentes is offline   Reply With Quote
Old 09-18-2018, 07:32 PM   #4
theducks
Well trained by Cats
theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.
 
theducks's Avatar
 
Posts: 22,116
Karma: 22087764
Join Date: Aug 2009
Location: (The original) Silicon Valley, USA
Device: K4NT, Galaxy Tab A
Quote:
Originally Posted by jenni fuentes View Post
I'm trying to fix it manually, but I do not understand it. I am new to this program.
If I try "auto", then can I go back if I lose data?
Make a backup.
Lost, is lost or just really messed up.
BUT Usually, you just end up with a stray block of text with a messed up style applied.

Note: broken code is broken code. This is not a Sigil only issue.
Something is wrong.
It could be as simple as a stray </div>. A <span> pair is now broken .

The pink error boxes in Preview/Bookview tell more
theducks is offline   Reply With Quote
Old 09-18-2018, 07:49 PM   #5
DiapDealer
Grand Sorcerer
DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.
 
DiapDealer's Avatar
 
Posts: 18,987
Karma: 97915540
Join Date: Jan 2010
Device: Nexus 7, Kindle Fire HD
If it's a malformed xhtml issue (as the translation of the message seems to indicate it is), the Well-Formed Check EPUB tool (either via the Tools menu, or the F7 shortcut) should give some specific locations to look.

If there's a lot, you'll need to fix them manually and rerun the F7 Check again, until there are no more well-formed errors left (if you don't want to take your chances with the automatic Mend).

In the future, try leaving the Preview Window open when making manual html edits. It will let you know there's an issue with what you typed immediately. That way, they won't snowball on you and leave you flabbergasted when you go to save.

Last edited by DiapDealer; 09-18-2018 at 08:02 PM.
DiapDealer is offline   Reply With Quote
Old 09-19-2018, 04:30 AM   #6
jenni fuentes
Junior Member
jenni fuentes began at the beginning.
 
Posts: 7
Karma: 10
Join Date: Sep 2018
Device: sigil
Hello again. Now I'm worse. I have put the code view to try to fix it manually, and I do not know what the error is.
I try to return to the book view, and it does not leave me anymore. I get a new error window.
The operation that you have requested can not be performed because "capitulo1.xhtml" is not a correct XML document.
An error was found on line 73: Tokenizer error with an unimplemented error message.

really, I need help. Thanks
jenni fuentes is offline   Reply With Quote
Old 09-19-2018, 05:41 AM   #7
jenni fuentes
Junior Member
jenni fuentes began at the beginning.
 
Posts: 7
Karma: 10
Join Date: Sep 2018
Device: sigil
Ok, I have already been able to leave the "code view"
The errors are the links that I put in the Epub.
I think I've done well, following the tutorials I've seen, but I'm wrong, too.
How can I put the links correctly?
Thank you very much for helping me.
jenni fuentes is offline   Reply With Quote
Old 09-19-2018, 11:17 AM   #8
theducks
Well trained by Cats
theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.
 
theducks's Avatar
 
Posts: 22,116
Karma: 22087764
Join Date: Aug 2009
Location: (The original) Silicon Valley, USA
Device: K4NT, Galaxy Tab A
Quote:
Originally Posted by jenni fuentes View Post
Ok, I have already been able to leave the "code view"
The errors are the links that I put in the Epub.
I think I've done well, following the tutorials I've seen, but I'm wrong, too.
How can I put the links correctly?
Thank you very much for helping me.
A picture (or code snippet) is worth a 1000 woids

Please post the indicated line of code here (Use CODE tags, the hash mark icon in the forums advanced edit mode)
theducks is offline   Reply With Quote
Old 09-19-2018, 02:29 PM   #9
jenni fuentes
Junior Member
jenni fuentes began at the beginning.
 
Posts: 7
Karma: 10
Join Date: Sep 2018
Device: sigil
I can not put this chapter in read view. He does not let me do anything. As much as you put "automatic" it keeps giving error.
I've saved the entire Epub to check and no link is seen in the Epub.
thank you very much
Attached Thumbnails
Click image for larger version

Name:	error sigil2.jpg
Views:	47
Size:	396.4 KB
ID:	166401  

Last edited by theducks; 09-19-2018 at 03:24 PM. Reason: removed oversize inline image. Attachments are all that is needed
jenni fuentes is offline   Reply With Quote
Old 09-19-2018, 03:31 PM   #10
theducks
Well trained by Cats
theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.
 
theducks's Avatar
 
Posts: 22,116
Karma: 22087764
Join Date: Aug 2009
Location: (The original) Silicon Valley, USA
Device: K4NT, Galaxy Tab A
Look at the end of line 73 all those entities don't belong, they should be (closing) TAGS
Somewhere along the line, you got the tags out of balance and auto-fix got it wrong . It may have started out as simple as the order of the closing tag was place after instead of before (you closed an outer tag before the inner tag)

Nest order is very important (a good reason to keep your code 'pretty' )
theducks is offline   Reply With Quote
Old 09-19-2018, 03:57 PM   #11
Doitsu
Wizard
Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.
 
Doitsu's Avatar
 
Posts: 4,274
Karma: 14242649
Join Date: Dec 2010
Device: Kindle PW2
@jenni fuentes: Your <a> tags with website links have the wrong attributes.

Double-check all <a> tags and make sure that they only have an href attribute. For example:

Quote:
<a href="https://www.mobileread.com">MobileRead</a>

Last edited by Doitsu; 09-19-2018 at 04:10 PM.
Doitsu is offline   Reply With Quote
Old 09-19-2018, 05:48 PM   #12
jenni fuentes
Junior Member
jenni fuentes began at the beginning.
 
Posts: 7
Karma: 10
Join Date: Sep 2018
Device: sigil
thank you, thank you so much, really!! already solved!!
without you, I would not have managed to fix it.
jenni fuentes is offline   Reply With Quote
Old 09-20-2018, 05:44 AM   #13
jenni fuentes
Junior Member
jenni fuentes began at the beginning.
 
Posts: 7
Karma: 10
Join Date: Sep 2018
Device: sigil
Sorry, one question more! What´s mean <br/>?
I know that <p its paragraph and <a> its anchor? But <br/>??
jenni fuentes is offline   Reply With Quote
Old 09-20-2018, 06:11 AM   #14
BeckyEbook
Zealot
BeckyEbook ought to be getting tired of karma fortunes by now.BeckyEbook ought to be getting tired of karma fortunes by now.BeckyEbook ought to be getting tired of karma fortunes by now.BeckyEbook ought to be getting tired of karma fortunes by now.BeckyEbook ought to be getting tired of karma fortunes by now.BeckyEbook ought to be getting tired of karma fortunes by now.BeckyEbook ought to be getting tired of karma fortunes by now.BeckyEbook ought to be getting tired of karma fortunes by now.BeckyEbook ought to be getting tired of karma fortunes by now.BeckyEbook ought to be getting tired of karma fortunes by now.BeckyEbook ought to be getting tired of karma fortunes by now.
 
BeckyEbook's Avatar
 
Posts: 130
Karma: 481790
Join Date: Jan 2017
Location: Poland
Device: Kindle (Key3, PW2, PW3), Nook (ST, GLP), Kobo Touch, Tolino Vision 2
This tag is used to create a line break and is analogous to a carriage return. The flow of the display of the text and any images is halted on the current line, and the flow resumes on the next line starting at the left margin.
BeckyEbook is offline   Reply With Quote
Old 09-20-2018, 09:22 AM   #15
theducks
Well trained by Cats
theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.
 
theducks's Avatar
 
Posts: 22,116
Karma: 22087764
Join Date: Aug 2009
Location: (The original) Silicon Valley, USA
Device: K4NT, Galaxy Tab A
<br />
Breaks the line, but does not start a new block. It works wit Block level tags
I use it on long chapter titles
Code:
<h3> Chapter 5 <br />A very long winded title</h3>
Chapter 5
A very long winded title

Setting a larger line height for the <h3> will space the line further apart on many devices
theducks is offline   Reply With Quote
Reply

Tags
ebook, epub, error, links, sigil

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Calibre Hudl 2: calibre, version 3.2.1 ERROR: Error: Error communicating with device elfed Devices 4 07-21-2017 05:33 AM
Touch Normal links becomes footnotes links in epub made with Calibre il_mix Kobo Reader 15 08-10-2014 01:19 PM
Convert external links to internal links sup Recipes 2 11-28-2013 09:39 AM
calibre, version 0.8.8 ERROR: Error: Error communicating with device no such column: e-bookuser Devices 1 07-03-2011 04:09 PM
Links to URLs work, internal links don't? NewDay ePub 36 10-27-2010 04:09 AM


All times are GMT -4. The time now is 02:32 PM.


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