Register Guidelines E-Books Today's Posts Search

Go Back   MobileRead Forums > E-Book Software > Sigil

Notices

Reply
 
Thread Tools Search this Thread
Old 09-03-2024, 06:41 PM   #31
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: 28,045
Karma: 199464182
Join Date: Jan 2010
Device: Nexus 7, Kindle Fire HD
I can't duplicate their experience. No matter how I launch an epub2 with no ncx (and a messed up manifest), Sigil does not close for me on Windows (even though Sigil warns me it might need to close). I can always click the details button, and I always end up with an empty epub.
DiapDealer is offline   Reply With Quote
Old 09-03-2024, 07:04 PM   #32
KevinH
Sigil Developer
KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.
 
Posts: 8,160
Karma: 5450818
Join Date: Nov 2009
Device: many
That is what I am seeing on macOS as well. Exactly what the code tells it to do.

Strange.
KevinH is offline   Reply With Quote
Advert
Old 09-03-2024, 07:07 PM   #33
DNSB
Bibliophagist
DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.
 
DNSB's Avatar
 
Posts: 40,647
Karma: 157444382
Join Date: Jul 2010
Location: Vancouver
Device: Kobo Sage, Libra Colour, Lenovo M8 FHD, Paperwhite 4, Tolino epos
Correct. If I launch Sigil and then open the ePub, I can show the details. If I double click on the ePub, Sigil automagically closes after a couple of seconds.

Code:
Error info: Cannot load file C:\Users\dbowe\Desktop\Dummy2.epub: C:/Users/dbowe/AppData/Local/sigil-ebook/sigil/workspace/Sigil-lwIDsE/OEBPS/toc.ncx: The system cannot find the file specified.
Sigil version: 2.3.1
Runtime Qt: 6.7.2
Compiled Qt: 6.7.2
System: Windows 11 Version 23H2
Architecture: x86_64
DNSB is offline   Reply With Quote
Old 09-03-2024, 07:09 PM   #34
KevinH
Sigil Developer
KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.
 
Posts: 8,160
Karma: 5450818
Join Date: Nov 2009
Device: many
Quote:
Originally Posted by DNSB View Post
Correct. If I launch Sigil and then open the ePub, I can show the details. If I double click on the ePub, Sigil automagically closes after a couple of seconds.
So if the exception is thrown during first startup it crashes out. But if Sigil is already running, it handles it as designed.

That is very strange indeed. I will study the code to see if I can figure out why this might be happening.
KevinH is offline   Reply With Quote
Old 09-03-2024, 07:22 PM   #35
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: 28,045
Karma: 199464182
Join Date: Jan 2010
Device: Nexus 7, Kindle Fire HD
I downloaded @DNSB's dummy2.epub just to be sure everything was apples to apples, and I still can't get Sigil to close by double-clicking the epub (or using File->Open from a running Sigil).

Same experience on Linux built from HEAD

Last edited by DiapDealer; 09-03-2024 at 07:25 PM.
DiapDealer is offline   Reply With Quote
Advert
Old 09-03-2024, 07:34 PM   #36
JSWolf
Resident Curmudgeon
JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.
 
JSWolf's Avatar
 
Posts: 76,529
Karma: 136565488
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Libra 2, Kobo Aura H2O, PRS-650, PRS-T1, nook STR, PW3
Quote:
Originally Posted by DNSB View Post
Close to a decade back, I stopped being surprised when an epub from a legitimate source was a dog's breakfast.
I once bought an eBook direct from Simon & Shuster. It was a right mess. The CSS was a joke and the NCX also a joke. As I was unable to contact someone in order to get my money back, I ended up fixing it myself.

I took out the references to the NCX from the OPF and Sigil 2.3.0 crashes regardless if clean on open is set to yes or not. It looks like the ePub loads and then without doing anything, it vanishes.

Last edited by JSWolf; 09-03-2024 at 07:45 PM.
JSWolf is offline   Reply With Quote
Old 09-03-2024, 07:43 PM   #37
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: 28,045
Karma: 199464182
Join Date: Jan 2010
Device: Nexus 7, Kindle Fire HD
Yes, yes. Commercial epubs can suck. Let's please stick to the crash issue now that we're onto something.
DiapDealer is offline   Reply With Quote
Old 09-03-2024, 07:48 PM   #38
KevinH
Sigil Developer
KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.
 
Posts: 8,160
Karma: 5450818
Join Date: Nov 2009
Device: many
Okay, I have a hypothesis about what might be causing this and it think the problem is on first start up, you are seeing a std::exception which is caught and handled in the very last couple of lines of main.cpp and not in the LoadFile routine. So I have adding handling that type of exception as well.

So on Windows, if you build your own and can grab the very very latest Sigil/src//MainUI/MainWindow.cpp from master and use it in your rebuild please do.

Then test the Dummy2.epub testcase by doubleclicking to launch it, and report back what you see.

I have my fingers crossed this now works as designed.

Thanks,

KevinH
KevinH is offline   Reply With Quote
Old 09-03-2024, 07:50 PM   #39
BeckyEbook
Guru
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: 783
Karma: 2298438
Join Date: Jan 2017
Location: Poland
Device: Various
Debug with changed MainWindow.cpp

My changes to multiple debug:
Spoiler:

Code:
bool MainWindow::LoadFile(const QString &fullfilepath, bool is_internal)
{
    if (!Utility::IsFileReadable(fullfilepath)) {
        return false;
    }

    try {
        DBG qDebug() << "01";
        ImporterFactory importerFactory;
        // Create the new book, clean up the old one
        // (destructors take care of that)
        DBG qDebug() << "02";
        Importer *importer = importerFactory.GetImporter(fullfilepath);
        DBG qDebug() << "03";
        if (!importer) {
            throw tr("No importer for file type: %1").arg(QFileInfo(fullfilepath).suffix().toLower());
        }
        DBG qDebug() << "04";
        XhtmlDoc::WellFormedError error = importer->CheckValidToLoad();
        DBG qDebug() << "05";
        if (error.line != -1) {
            // Warn the user their content is invalid.
            Utility::DisplayStdErrorDialog(tr("The following file was not loaded due to invalid content or not well formed XML:\n\n%1 (line %2: %3)\n\nTry setting the Clean Source preference to Mend XHTML Source Code on Open and reloading the file.")
                                           .arg(QDir::toNativeSeparators(fullfilepath))
                                           .arg(error.line)
                                           .arg(error.message));
        } else {
            DBG qDebug() << "06";
            ShowMessageOnStatusBar(tr("Loading file..."), 0);
            DBG qDebug() << "07";
            m_Book->SetModified(false);
            DBG qDebug() << "08";
            SetNewBook(importer->GetBook());

            // The m_IsModified state variable is set in GetBook() to indicate whether the OPF
            // file was invalid and had to be recreated.
            // Since this happens before the connections have been established, it needs to be
            // tested and retoggled if true in order to indicate the actual state.
            DBG qDebug() << "09";
            if (m_Book->IsModified()) {
                m_Book->SetModified(false);
                m_Book->SetModified(true);
            }
            DBG qDebug() << "10";
            m_SaveACopyFilename = "";
            DBG qDebug() << "11";
            ShowMessageOnStatusBar(tr("File loaded."));

            // Get any warnings - if our main window is not currently visible they will be
            // shown when the window is displayed.
            DBG qDebug() << "12";
            m_LastOpenFileWarnings.append(importer->GetLoadWarnings());
            DBG qDebug() << "13";
            if (!m_IsInitialLoad) {
                ShowLastOpenFileWarnings();
            }
            DBG qDebug() << "14";
            if (!is_internal) {
                DBG qDebug() << "15";
                // Store the folder the user opened from
                m_LastFolderOpen = QFileInfo(fullfilepath).absolutePath();
                // Clear the last inserted file
                DBG qDebug() << "16";
                m_LastInsertedFile = "";
                DBG qDebug() << "17";
                UpdateUiWithCurrentFile(fullfilepath);
            } else {
                DBG qDebug() << "18";
                UpdateUiWithCurrentFile(QFileInfo(fullfilepath).fileName(), true);
                DBG qDebug() << "19";
                m_Book->SetModified();
            }
            DBG qDebug() << "20";
            return true;
        }
   } catch (FileEncryptedWithDrm&) {
       DBG qDebug() << "21";
       ShowMessageOnStatusBar();
       // ImportHTML/ImportEPUB use wait cursor and can throw exceptions caught here
       DBG qDebug() << "22";
       QApplication::restoreOverrideCursor();
       DBG qDebug() << "23";
       Utility::DisplayStdErrorDialog(
           tr("The creator of this file has encrypted it with DRM. "
              "Sigil cannot open such files."));
   } catch (EPUBLoadParseError& epub_load_error) {
       DBG qDebug() << "24";
       ShowMessageOnStatusBar();
       // ImportHTML/ImportEPUB use wait cursor and can throw exceptions caught here
       DBG qDebug() << "25";
       QApplication::restoreOverrideCursor();
       DBG qDebug() << "26";
       const QString errors = QString(epub_load_error.what());
       DBG qDebug() << "27";
       Utility::DisplayStdErrorDialog(
           tr("Cannot load EPUB: %1").arg(QDir::toNativeSeparators(fullfilepath)), errors);
   } catch (const std::runtime_error &e) {
       DBG qDebug() << "28";
       ShowMessageOnStatusBar();
       // ImportHTML/ImportEPUB use wait cursor and can throw exceptions caught here
       DBG qDebug() << "29";
       QApplication::restoreOverrideCursor();
       DBG qDebug() << "30";
       Utility::DisplayExceptionErrorDialog(tr("Cannot load file %1: %2")
                                             .arg(QDir::toNativeSeparators(fullfilepath))
                                             .arg(e.what()));
   } catch (QString& err) {
       DBG qDebug() << "31";
       ShowMessageOnStatusBar();
       // ImportHTML/ImportEPUB use wait cursor and can throw exceptions caught here
       DBG qDebug() << "32";
       QApplication::restoreOverrideCursor();
       DBG qDebug() << "33";
       Utility::DisplayStdErrorDialog(err);
   }

    // If we got to here some sort of error occurred while loading the file
    // and potentially has left the GUI in a nasty state (like on initial startup)
    // Fallback to displaying a new book instead so GUI integrity is maintained.
    DBG qDebug() << "34";
    CreateNewBook();
    DBG qDebug() << "35";
    return false;
}


Debug file:
Spoiler:
Code:
Debug: Current windows platform args:  QList("altgr")
Debug: New windows platform args:  "windows:altgr"
Debug: initial styleHints colorScheme:  Qt::ColorScheme::Dark
Debug: Application Palette Changed
Debug: Application Palette Changed
Debug: Application Palette Changed
Debug: Application Palette Changed
Debug: Application Palette Changed
Debug: Application Palette Changed
Debug: Application Palette Changed
Debug: Application Palette Changed
Debug: Application Palette Changed
Debug: ------
Debug: In ChangeEvent:  QEvent(WindowTitleChange, 0x5d7acfba90)
Debug: ------
Debug: In ReadSettings
Debug: ------
Debug: In ChangeEvent:  QWindowStateChangeEvent(WindowStateChange, 0x5d7acfd720)
Debug: old state QFlags<Qt::WindowState>(WindowNoState)
Debug: visible:  false
Debug: maximized:  true
Debug: full screen:  false
Debug: main window:  152 342 1693 749
Debug: central widget:  0 0 100 30
Debug: tab manager:  0 0 100 30
Debug: find replace:  0 0 566 127
Debug: find replace visible:  false
Debug: Main Window new state: maximized
Debug: ------
Debug: In ChangeEvent:  QEvent(PaletteChange, 0x5d7acfcd70)
Debug: visible:  false
Debug: maximized:  true
Debug: full screen:  false
Debug: main window:  152 342 1693 749
Debug: central widget:  262 132 1152 589
Debug: tab manager:  0 0 100 30
Debug: find replace:  0 0 566 127
Debug: find replace visible:  false
Debug: old size:  QSize(-1, -1)
Debug: new size:  QSize(1693, 749)
Debug: primary screen total size:  QRect(0,0 1920x1200)
Debug: primary screen available size:  QRect(0,0 1920x1119)
Debug: visible:  false
Debug: maximized:  true
Debug: full screen:  false
Debug: main window:  152 342 1693 749
Debug: central widget:  262 132 1152 589
Debug: tab manager:  0 0 100 30
Debug: find replace:  0 0 566 127
Debug: find replace visible:  false
Debug: ------
Debug: In ReadSettings before restoreState
Debug: visible:  true
Debug: maximized:  true
Debug: full screen:  false
Debug: main window:  152 342 1693 749
Debug: central widget:  262 132 1152 589
Debug: tab manager:  1 1 1150 587
Debug: find replace:  0 0 566 127
Debug: find replace visible:  false
Debug: d01
Debug: 01
Debug: 02
Debug: 03
Debug: 04
Debug: 05
Debug: 06
Debug: 07
Debug: 08
Debug: 28
Debug: 29
Debug: 30
Debug: ------
Debug: In ChangeEvent:  QEvent(ActivationChange, 0x5d7acf61d0)
Debug: Main Window is transitioning from inactive to active: 
Debug: MW: UpdatePreview()
Debug: Primary Screen:  "DELL U2410" "Dell Inc." "F525M21HA83L"
Debug:     geo        :  QRect(0,0 1920x1200)
Debug:     avail   geo:  QRect(0,0 1920x1119)
Debug:     devideRatio:  1
Debug:     logical dpi:  96 96
Debug:     physic  dpi:  94.1467 94.0741
Debug: 

All Screens
Debug: Screen:  0 "DELL U2410" "Dell Inc." "F525M21HA83L"
Debug:     geo        :  QRect(0,0 1920x1200)
Debug:     avail   geo:  QRect(0,0 1920x1119)
Debug:     devideRatio:  1
Debug:     logical dpi:  96 96
Debug:     physic  dpi:  94.1467 94.0741
Debug: visible:  true
Debug: maximized:  true
Debug: full screen:  false
Debug: main window:  152 342 1693 749
Debug: central widget:  206 104 734 617
Debug: tab manager:  1 1 732 615
Debug: find replace:  0 0 566 127
Debug: find replace visible:  false
Debug: focus changed:  QWidget(0x0) TabBar(0x242ae47e540)
Debug: old size:  QSize(1693, 749)
Debug: new size:  QSize(1920, 1096)
Debug: primary screen total size:  QRect(0,0 1920x1200)
Debug: primary screen available size:  QRect(0,0 1920x1119)
Debug: visible:  true
Debug: maximized:  true
Debug: full screen:  false
Debug: main window:  152 342 1920 1096
Debug: central widget:  206 104 961 964
Debug: tab manager:  1 1 959 962
Debug: find replace:  0 0 566 127
Debug: find replace visible:  false
Debug: visible:  true
Debug: maximized:  true
Debug: full screen:  false
Debug: main window:  0 23 1920 1096
Debug: central widget:  206 104 961 964
Debug: tab manager:  1 1 959 962
Debug: find replace:  0 0 566 127
Debug: find replace visible:  false
Debug: ------
Debug: In ChangeEvent:  QEvent(ActivationChange, 0x5d7acf61d0)
Debug: Main Window is transitioning from active to inactive
Debug: focus changed:  TabBar(0x242ae47e540) QPushButton(0x242ba0142c0)


As you can see Debug “34” is never called.
BeckyEbook is online now   Reply With Quote
Old 09-03-2024, 07:55 PM   #40
KevinH
Sigil Developer
KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.
 
Posts: 8,160
Karma: 5450818
Join Date: Nov 2009
Device: many
Yes line 34 never getting reached means that some other exception was thrown that is not being caught in this routine.

So, please try with what I just pushed to master to MainWindow.cpp.

I think some Windows machines are throwing std::exception and not a std:runtime_error exception when attempting to load a missing file at the path listed in the manifest.

So this could be a cpp runtime library difference in Windows.

I added catching that exception to the LoadFile routine.

Hopefully that fixes the issue.

Last edited by KevinH; 09-03-2024 at 09:15 PM.
KevinH is offline   Reply With Quote
Old 09-03-2024, 07:56 PM   #41
JSWolf
Resident Curmudgeon
JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.
 
JSWolf's Avatar
 
Posts: 76,529
Karma: 136565488
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Libra 2, Kobo Aura H2O, PRS-650, PRS-T1, nook STR, PW3
Quote:
Originally Posted by DiapDealer View Post
Yes, yes. Commercial epubs can suck. Let's please stick to the crash issue now that we're onto something.
Here's a scrambled ePub that causes the crash. It has an NCX but with no references to it in the OPF.
Attached Files
File Type: epub scrambled.epub (450.9 KB, 19 views)
JSWolf is offline   Reply With Quote
Old 09-03-2024, 07:57 PM   #42
KevinH
Sigil Developer
KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.
 
Posts: 8,160
Karma: 5450818
Join Date: Nov 2009
Device: many
DiapDealer could your installer bundling vs not bundling iss runtime changes be the reason you are not seeing this issue but others are?
KevinH is offline   Reply With Quote
Old 09-03-2024, 07:59 PM   #43
KevinH
Sigil Developer
KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.
 
Posts: 8,160
Karma: 5450818
Join Date: Nov 2009
Device: many
Quote:
Originally Posted by JSWolf View Post
Here's a scrambled ePub that causes the crash. It has an NCX but with no references to it in the OPF.
Jon, Thank you but unless you are building from Sigil master from about an hour ago, your sample epub may just be triggering an already fixed bug.

We already have a nice Dummy2.epub that shows the issue for some Windows users. They are testing with current builds from today's source not official 2.3.0 versions.
KevinH is offline   Reply With Quote
Old 09-03-2024, 08:04 PM   #44
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: 28,045
Karma: 199464182
Join Date: Jan 2010
Device: Nexus 7, Kindle Fire HD
Quote:
Originally Posted by KevinH View Post
DiapDealer could your installer bundling vs not bundling iss runtime changes be the reason you are not seeing this issue but others are?
I don't see how. They either have vcredist2015+ or they don't. Even with it bundled in the installer, it would never be used if the vcredist2015+ was detected on the system. And Sigil would not run at all if it wasn't available.

It's more likely because I'm building/running Sigil in a virtual Windows environment. I don't have access to physical Windows machine at the moment.

David's also running Windows 11, while I'm still running Windows 10.

Last edited by DiapDealer; 09-03-2024 at 08:08 PM.
DiapDealer is offline   Reply With Quote
Old 09-03-2024, 08:10 PM   #45
BeckyEbook
Guru
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: 783
Karma: 2298438
Join Date: Jan 2017
Location: Poland
Device: Various
I built a Sigil and can't see the difference

I need to go to bed, it's already 1am at my place.

If I notice any new commits in the morning I will build Sigil again.
BeckyEbook is online now   Reply With Quote
Reply


Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Updated CC (3.5.6) crashes upon opening SuzDavid Calibre Companion 16 11-22-2014 11:18 AM
Opening EPUBs in Sigil takes ages [Windows] Wasserpulle Sigil 4 12-13-2013 02:05 PM
SIGIL Crashes When Opening Files on MacBook Pro WilliamGarner Sigil 2 10-09-2013 10:07 AM
Epub crashes on Sigil for Mac, OK on Sigil for PC crystamichelle Sigil 6 08-14-2013 03:52 PM
4.129 crashes upon opening da_jane Calibre 7 01-19-2009 03:25 AM


All times are GMT -4. The time now is 03:43 AM.


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