Editor closes immediately if epub-check finds parsing-failures in too much text-files

Bug #2045133 reported by Florian Brandmair
14
This bug affects 2 people
Affects Status Importance Assigned to Milestone
calibre
Fix Released
Undecided
Unassigned

Bug Description

It depends not on the number of failures. If there are thousands of parsing-failures in one text-file (e.g. after deleting obsolete span-tags without deleting the correspondent end-tags) the check finds it and can correct it.
But if only one parsing-failure is at a time in different text-files, the editor closes immediately witout any message. This happens always if the failures are in more than 7 files. Sometimes 4 files are enough.
I tested it with serveral books - always the same.

Revision history for this message
Florian Brandmair (rabenpapa) wrote :

I forgot:
I've calibre 7.1 german version on windows 10 64bit

Revision history for this message
Kovid Goyal (kovid) wrote :

whats epub-check? The calibre editor has no epub check function. If you
mean the check book function then attach an epub file reproducing the
issue. If you mean the third party epub check plugin then report the
issue to that plugins developers.

Revision history for this message
Florian Brandmair (rabenpapa) wrote : Re: [Bug 2045133] Re: Editor closes immediately if epub-check finds parsing-failures in too much text-files

For sure i meant the built-in check book function. Sometimes it's difficult
to use the correct terms if you use a translated version.
I made a very simple test-epub. The "original_epub" has no errors. The
"epub" misses all needed >span>-tags.
If you open the epub in the editor and start a check by using the "F7"-key
the editor crashes for the most times. Sometimes (ca. 20% in my tests) it
works.
If you delete other tags (<div>, <i> or <b> instead of <span>) it's the
same.

-----Ursprüngliche Nachricht-----
From: Kovid Goyal
Sent: Wednesday, November 29, 2023 12:59 PM
To: <email address hidden>
Subject: [Bug 2045133] Re: Editor closes immediately if epub-check finds
parsing-failures in too much text-files

whats epub-check? The calibre editor has no epub check function. If you
mean the check book function then attach an epub file reproducing the
issue. If you mean the third party epub check plugin then report the
issue to that plugins developers.

--
You received this bug notification because you are subscribed to the bug
report.
https://bugs.launchpad.net/bugs/2045133

Title:
  Editor closes immediately if epub-check finds parsing-failures in too
  much text-files

Status in calibre:
  New

Bug description:
  It depends not on the number of failures. If there are thousands of
parsing-failures in one text-file (e.g. after deleting obsolete span-tags
without deleting the correspondent end-tags) the check finds it and can
correct it.
  But if only one parsing-failure is at a time in different text-files, the
editor closes immediately witout any message. This happens always if the
failures are in more than 7 files. Sometimes 4 files are enough.
  I tested it with serveral books - always the same.

To manage notifications about this bug go to:
https://bugs.launchpad.net/calibre/+bug/2045133/+subscriptions

Revision history for this message
Kovid Goyal (kovid) wrote :

This is a Windows specific bug in Qt. I am updating Qt to 6.6.1 for the
next calibre release, hopefully that should automatically fix this, if
not let me know.

Changed in calibre:
status: New → Fix Released
Revision history for this message
Kovid Goyal (kovid) wrote :

Fixed in branch master. The fix will be in the next release. calibre is usually released every alternate Friday.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Duplicates of this bug

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.