![]() |
#181 | |
Sigil Developer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 8,893
Karma: 6120478
Join Date: Nov 2009
Device: many
|
@Vanguard3000,
Thanks for your bug report. I am not sure what exactly you mean be Properties here (versus Elements in the Metadata Editor). I tried removing all elements (and of course all of their Propterties) and saw no problems. It all worked. I tried removing all Elements then adding in the Author Element (dc:creator with role set to author). Then tried removing just the Author Name field and no problems. Finally, I removed all Elements and then added back Author and removed both the role property so all I had was a blank dc:creator element with no properties, and saved that with no problems. So would you please give a specific example and tell me exactly what to delete or remove to cause the crash, as having no properties on an element, and having no elements, both worked just fine for me. So I must not be following exactly how to create the crash. Thanks! Quote:
|
|
![]() |
![]() |
![]() |
#182 |
Sigil Developer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 8,893
Karma: 6120478
Join Date: Nov 2009
Device: many
|
Perhaps it is a platform specific bug? Would someone on Windows or Linux please try recreating Vanguard3000's MetaData Editor crash on their platform just in case.
|
![]() |
![]() |
Advert | |
|
![]() |
#183 | |
Bibliophagist
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 47,063
Karma: 169810634
Join Date: Jul 2010
Location: Vancouver
Device: Kobo Sage, Libra Colour, Lenovo M8 FHD, Paperwhite 4, Tolino epos
|
Quote:
I've attached the Windows Event Viewer crash report and WinDbg output as a text file. Looking at @BetterRed's message, I tried with an empty ePub 3 and when I removed all three elements (Language, Title and Date Modified), crash time. As long as one element is left, no crash. OTOH, removing all elements is a bit odd since AFAIR, title, language and identifier are mandatory elements and removing them gives an invalid ePub. Last edited by DNSB; 09-28-2023 at 06:18 PM. |
|
![]() |
![]() |
![]() |
#184 |
null operator (he/him)
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 21,829
Karma: 30277270
Join Date: Mar 2012
Location: Sydney Australia
Device: none
|
Windows 10, Sigil 2.0.1 with an empty EPUB
If I remove the Language and Title elements and click OK Sigil terminates abruptly (no error msg, no offer to save). Ditto with an EPUB 3.0 Pretty sure this has always been the case. BR |
![]() |
![]() |
![]() |
#185 |
Well trained by Cats
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 31,139
Karma: 60406498
Join Date: Aug 2009
Location: The Central Coast of California
Device: Kobo Libra2,Kobo Aura2v1, K4NT(Fixed: New Bat.), Galaxy Tab A
|
No metadata is not proper (valid?) EPUB.
IMHO it should be trapped until the minimum is present. |
![]() |
![]() |
Advert | |
|
![]() |
#186 | ||
Sigil Developer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 8,893
Karma: 6120478
Join Date: Nov 2009
Device: many
|
Interestingly, your debuuger log shows the crash deep in QtCore and not actually in Sigil.
Quote:
I will try this is my Linux box when I get it setup tomorrow to see if it crashes too. Running a debugger there is much easier. Hopefully it will give us some idea of what is actually causing the crash so I can try and prevent it. Thanks! Kevin Quote:
|
||
![]() |
![]() |
![]() |
#187 | |
Sigil Developer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 8,893
Karma: 6120478
Join Date: Nov 2009
Device: many
|
Quote:
If doing that always crashed Sigil on Windows why didn't anyone ever report it before? Any crash is unacceptable. Hopefully, we can track down the real cause in Qt and get it fixed. At worst case, before the next release, I will look for completely empty metadata and force back in a title tag with placeholder text to prevent the issue on Windows. If anyone else knows of a any other repeatable ways to crash Sigil, I would really love to know about it so all crashes can be prevented. Last edited by KevinH; 09-28-2023 at 07:05 PM. |
|
![]() |
![]() |
![]() |
#188 |
Bibliophagist
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 47,063
Karma: 169810634
Join Date: Jul 2010
Location: Vancouver
Device: Kobo Sage, Libra Colour, Lenovo M8 FHD, Paperwhite 4, Tolino epos
|
I suspect that no one before thought removing all the metadata elements visible in the Metadata Editor was a good idea considering that there are mandatory elements that must be present in a valid ePub.
|
![]() |
![]() |
![]() |
#189 | |
null operator (he/him)
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 21,829
Karma: 30277270
Join Date: Mar 2012
Location: Sydney Australia
Device: none
|
Quote:
Why no report? As well as being a lifelong minimalist, I'm also fault tolerant ![]() BR |
|
![]() |
![]() |
![]() |
#190 |
Grand Sorcerer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 5,741
Karma: 24031403
Join Date: Dec 2010
Device: Kindle PW2
|
|
![]() |
![]() |
![]() |
#191 |
Sigil Developer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 8,893
Karma: 6120478
Join Date: Nov 2009
Device: many
|
Pre use of a tree. Older editor used a table only.
|
![]() |
![]() |
![]() |
#192 | |
Groupie
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 169
Karma: 474196
Join Date: Jan 2011
Location: Canada
Device: Kobo Libra 2
|
Quote:
DNSB has probably already isolated things for you, but for clarity's sake:
I guess you might call them Elements from a coding standpoint but Property is used throughout the MetaData Editor itself (e.g. the "Remove Property" button, "Add Metadata Property" dialog title, etc) so that's what I used. The point is that the list should be entirely blank. Expected behaviour: If allowed, the Metadata Editor should close and apply your changes to the file. OR if the file cannot have no metadata, it should be handled with an error message or some other failsafe method. Observed bahaviour: Sigil crashes to desktop. I'm on Windows 10, and as I mentioned, I'm using the monitor-debugging build you had sent me a while back. |
|
![]() |
![]() |
![]() |
#193 |
Sigil Developer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 8,893
Karma: 6120478
Join Date: Nov 2009
Device: many
|
Luckily Linux showed the crash as well. Tracked it down with gdb, and pushed a fix to master.
Thank you for your bug report. |
![]() |
![]() |
![]() |
#194 |
Grand Sorcerer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 28,705
Karma: 205039118
Join Date: Jan 2010
Device: Nexus 7, Kindle Fire HD
|
Apologies for not being available to help with debugging. I'm out of town with access to nothing but mobile devices.
|
![]() |
![]() |
![]() |
#195 |
Sigil Developer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 8,893
Karma: 6120478
Join Date: Nov 2009
Device: many
|
|
![]() |
![]() |
![]() |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
Sigil-1.9.20 Released | DiapDealer | Sigil | 12 | 01-28-2023 09:41 AM |
Sigil-0.9.12 Released | DiapDealer | Sigil | 194 | 03-15-2019 03:51 PM |
Sigil-0.9.11 Released | DiapDealer | Sigil | 37 | 02-18-2019 06:56 PM |
Sigil-0.8.900 released for testing - Wait for Sigil-0.8.901 | KevinH | Sigil | 106 | 10-04-2015 10:41 AM |
Sigil 0.6.0 Released | user_none | Sigil | 93 | 11-24-2012 06:50 PM |