Register Guidelines E-Books Today's Posts Search

Go Back   MobileRead Forums > E-Book Software > Calibre > Editor

Notices

Reply
 
Thread Tools Search this Thread
Old 05-31-2024, 04:55 AM   #1
paperback
Connoisseur
paperback began at the beginning.
 
Posts: 65
Karma: 10
Join Date: Feb 2022
Device: None
Calibre 7.10 crashes when link inserted

1. Open the attached file in the Calibre editor.
2. Select the asterisk (within bold tags) at the end of the first paragraph (start.xhtml)
3. Click on the "Insert hyperlink icon"
4. Select "start.xhtml > note1".

The application hangs then crashes.

(Platform, Linux Mint 20.1 Cinnamon / Cinnamon 4.8.6)
Attached Files
File Type: epub test_doc.epub (5.5 KB, 45 views)
paperback is offline   Reply With Quote
Old 05-31-2024, 05:26 AM   #2
Karellen
Wizard
Karellen ought to be getting tired of karma fortunes by now.Karellen ought to be getting tired of karma fortunes by now.Karellen ought to be getting tired of karma fortunes by now.Karellen ought to be getting tired of karma fortunes by now.Karellen ought to be getting tired of karma fortunes by now.Karellen ought to be getting tired of karma fortunes by now.Karellen ought to be getting tired of karma fortunes by now.Karellen ought to be getting tired of karma fortunes by now.Karellen ought to be getting tired of karma fortunes by now.Karellen ought to be getting tired of karma fortunes by now.Karellen ought to be getting tired of karma fortunes by now.
 
Karellen's Avatar
 
Posts: 1,354
Karma: 6794938
Join Date: Sep 2021
Location: Australia
Device: Kobo Libra 2
It works fine for me on Win10 Calibre v7.10

Your edited file is attached. Any problems opening it?
Attached Files
File Type: epub test_doc.epub (5.5 KB, 35 views)
Karellen is offline   Reply With Quote
Old 05-31-2024, 05:31 AM   #3
kovidgoyal
creator of calibre
kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.
 
kovidgoyal's Avatar
 
Posts: 44,534
Karma: 24495948
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
Make sure you arent using wayland.
kovidgoyal is offline   Reply With Quote
Old 05-31-2024, 05:37 AM   #4
Quoth
the rook, bossing Never.
Quoth ought to be getting tired of karma fortunes by now.Quoth ought to be getting tired of karma fortunes by now.Quoth ought to be getting tired of karma fortunes by now.Quoth ought to be getting tired of karma fortunes by now.Quoth ought to be getting tired of karma fortunes by now.Quoth ought to be getting tired of karma fortunes by now.Quoth ought to be getting tired of karma fortunes by now.Quoth ought to be getting tired of karma fortunes by now.Quoth ought to be getting tired of karma fortunes by now.Quoth ought to be getting tired of karma fortunes by now.Quoth ought to be getting tired of karma fortunes by now.
 
Quoth's Avatar
 
Posts: 12,344
Karma: 92073397
Join Date: Jun 2017
Location: Ireland
Device: All 4 Kinds: epub eink, Kindle, android eink, NxtPaper11
epub check fails
guide in metadata.opf is incomplete. Missing required element reference.

However, inserting the link to the anchor was perfect.
Calibre 7.10, Linux Mint 21.3 with Mate desktop (No Wayland. IMO Wayland is hardly fit for Beta, so much doesn't work.)


Calibre from here. https://calibre-ebook.com/download_linux

I do edit epubs, but not like that. I edit in LO Writer and save an extra docx for Calibre. So I never ever have to edit links or the opf etc.

Mostly I set the size of images and set h tags in headings.

I edit bought or PD epubs or converted from Kindle to fix stupid formatting, so never need to edit opf or links on those either.

So no Calibre issue here, but your opf is giving an error I never saw in 10 years.

Last edited by Quoth; 05-31-2024 at 05:40 AM.
Quoth is offline   Reply With Quote
Old 05-31-2024, 05:43 AM   #5
Quoth
the rook, bossing Never.
Quoth ought to be getting tired of karma fortunes by now.Quoth ought to be getting tired of karma fortunes by now.Quoth ought to be getting tired of karma fortunes by now.Quoth ought to be getting tired of karma fortunes by now.Quoth ought to be getting tired of karma fortunes by now.Quoth ought to be getting tired of karma fortunes by now.Quoth ought to be getting tired of karma fortunes by now.Quoth ought to be getting tired of karma fortunes by now.Quoth ought to be getting tired of karma fortunes by now.Quoth ought to be getting tired of karma fortunes by now.Quoth ought to be getting tired of karma fortunes by now.
 
Quoth's Avatar
 
Posts: 12,344
Karma: 92073397
Join Date: Jun 2017
Location: Ireland
Device: All 4 Kinds: epub eink, Kindle, android eink, NxtPaper11
Then I changed the * to <b><a href="#note1"></a>Note [1]</b>
Because no-one can tap on an asterisk. They or a a superscript [1] only work on paper.
Quoth is offline   Reply With Quote
Old 05-31-2024, 05:48 AM   #6
Quoth
the rook, bossing Never.
Quoth ought to be getting tired of karma fortunes by now.Quoth ought to be getting tired of karma fortunes by now.Quoth ought to be getting tired of karma fortunes by now.Quoth ought to be getting tired of karma fortunes by now.Quoth ought to be getting tired of karma fortunes by now.Quoth ought to be getting tired of karma fortunes by now.Quoth ought to be getting tired of karma fortunes by now.Quoth ought to be getting tired of karma fortunes by now.Quoth ought to be getting tired of karma fortunes by now.Quoth ought to be getting tired of karma fortunes by now.Quoth ought to be getting tired of karma fortunes by now.
 
Quoth's Avatar
 
Posts: 12,344
Karma: 92073397
Join Date: Jun 2017
Location: Ireland
Device: All 4 Kinds: epub eink, Kindle, android eink, NxtPaper11
Hmm, the opf had </guide> but no matching open <guide …
I deleted </guide> and the error was gone.

However unrelated to the link to anchor edit. Do what Kovid suggests and make sure you are not using Wayland.

Also make sure using https://calibre-ebook.com/download_linux and not the version in the distro.
Quoth is offline   Reply With Quote
Reply


Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Dot inserted on TOC Headings in EPUB doc with Calibre n88yanks Conversion 12 08-12-2023 06:06 PM
Calibre Resizing Inserted Cover Size please55 Library Management 8 01-14-2020 04:15 PM
calibre's inserted cover file, titlepage.xhtml rhino79 Calibre 7 05-01-2015 03:27 PM
Calibre Crashes llessieur Devices 12 03-25-2011 02:35 PM
calibre-inserted covers not getting imported by reader after editing with Sigil tonyx3 Sigil 5 06-02-2010 06:43 AM


All times are GMT -4. The time now is 11:13 PM.


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