![]() |
#1 |
Junior Member
![]() Posts: 4
Karma: 10
Join Date: Mar 2020
Location: Jersey City, NJ
Device: EPUB for Kindle upload; Kindle PaperWhite
|
![]()
Sigil 2.6.0; up-to-date Win 10 pro. Largeish (8Mb) epub that passes an [F7] check and an epubcheck.
I can search for something in all HTML files, but when I try to search for something in all CSS files, it crashes. No Sigil error message; nothing in the system logs. It doesn't crash when I do that search in an "empty" epub. ![]() |
![]() |
![]() |
![]() |
#2 |
Grand Sorcerer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 28,581
Karma: 204504074
Join Date: Jan 2010
Device: Nexus 7, Kindle Fire HD
|
What kind of search mode? Regex? Normal? What are the parameters?
Does it crash when you try the same search with just the "Current" css file instead of All CSS Files? |
![]() |
![]() |
Advert | |
|
![]() |
#3 |
Junior Member
![]() Posts: 4
Karma: 10
Join Date: Mar 2020
Location: Jersey City, NJ
Device: EPUB for Kindle upload; Kindle PaperWhite
|
Crashes on a regular search of all CSS files but not on the same search phrase in Regex mode. Doesn't crash on current file or on all HTML files.
|
![]() |
![]() |
![]() |
#4 |
Sigil Developer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 8,779
Karma: 6000000
Join Date: Nov 2009
Device: many
|
Would you please either:
a) post the epub that causes the crash in just someplace and pm both DiapDealer and KevinH here with the link. Please do not post copyrighted works in this thread. or b) run the epub through a plugin that scrambles the text (See the Borkify Plugin in our plugin index) and then it can be attached to a post of yours in this thread. Then take a screenshot and post it of your exact Find and Replace window that causes the crash. That way we should be able to completely recreate the crash you are seeing. Thanks! Last edited by KevinH; Yesterday at 11:40 AM. |
![]() |
![]() |
![]() |
#5 |
Grand Sorcerer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 28,581
Karma: 204504074
Join Date: Jan 2010
Device: Nexus 7, Kindle Fire HD
|
|
![]() |
![]() |
Advert | |
|
![]() |
#6 |
Sigil Developer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 8,779
Karma: 6000000
Join Date: Nov 2009
Device: many
|
I just tried to recreate the crash with the Alice in Wonderland public domain epub that has 3 different css files in it.
I did a Search Mode "Normal", "All CSS Files", and searched for the string "div" and it all worked just fine. No crashes at all and it found every css selector that had the term div in it. Tried again by searching for "div." to test escaping and again it all worked just fine. So this is something specific to the epub being used or the search term. What is really strange is that even "Normal" searches are done using regular expressions but the search term is first escaped so the search engine finds only that term as written. I can not see why or how Normal mode would cause a crash when Regex mode does not unless the escaping of the search term somehow is causing an issue or it has something to do with the epub itself. So we really need to have that epub and the exact search term to recreate what you are seeing and get it fixed. Please see my earlier post about the Borkify plugin if needed. Last edited by KevinH; Yesterday at 12:08 PM. |
![]() |
![]() |
![]() |
Tags |
crashes |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
Crash when deleting unknown files in books | Dan__ | Library Management | 1 | 08-18-2019 09:12 PM |
Regex Search doesn't search all files in Edit Book | GregTheGrate | Editor | 8 | 11-08-2016 12:47 AM |
Search and Replace in CSS Files | afakler | Calibre | 0 | 03-10-2012 04:46 AM |
PB360 crash from search mode | Zeborah | PocketBook | 3 | 05-04-2011 06:18 PM |
Troubleshooting Why does my Kindle crash with PDF files? | picardo | Amazon Kindle | 4 | 08-16-2010 08:23 AM |