![]() |
#1 |
Bibliophagist
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 47,586
Karma: 172313954
Join Date: Jul 2010
Location: Vancouver
Device: Kobo Sage, Libra Colour, Lenovo M8 FHD, Paperwhite 4, Tolino epos
|
Sigil and calibre Open With
I was noticing that with Sigil 2.6.2 compiled with Qt 6.9.2, Sigil no longer opens with either the Open With plugin or calibre's builtin Open With action. At this time, I tend to suspect that this is due to calibre still using Qt 6.8.2 but will do some more digging into this. The debug output command line works if I copy/paste it to a command prompt or into a batch file.
|
![]() |
![]() |
![]() |
#2 | |
Well trained by Cats
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 31,196
Karma: 60406678
Join Date: Aug 2009
Location: The Central Coast of California
Device: Kobo Libra2,Kobo Aura2v1, K4NT(Fixed: New Bat.), Galaxy Tab A
|
Quote:
|
|
![]() |
![]() |
![]() |
#3 |
Bibliophagist
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 47,586
Karma: 172313954
Join Date: Jul 2010
Location: Vancouver
Device: Kobo Sage, Libra Colour, Lenovo M8 FHD, Paperwhite 4, Tolino epos
|
Are you using Sigil 2.6.2 with Qt 6.8.2? It works for me if I compile Sigil using Qt 6.8.2. It's when I update Qt to 6.9.2 that either of calibre's Open With options fail. See the attached image.
|
![]() |
![]() |
![]() |
#4 |
Well trained by Cats
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 31,196
Karma: 60406678
Join Date: Aug 2009
Location: The Central Coast of California
Device: Kobo Libra2,Kobo Aura2v1, K4NT(Fixed: New Bat.), Galaxy Tab A
|
![]() Sorry |
![]() |
![]() |
![]() |
#5 |
Grand Sorcerer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 28,804
Karma: 206879174
Join Date: Jan 2010
Device: Nexus 7, Kindle Fire HD
|
Did a little debugging of this on my own and discovered what's happening, but not exactly why. It's related to my previous thread about about certain versions of the VC++ redist runtime not being sufficient to run Sigil and its included Qt6.9.2 (https://www.mobileread.com/forums/sh...d.php?t=369925).
Calibre distributes MSVCP140.dll with its own installer and that is the version that Sigil is trying to use (and silently failing) when launched from Calibre with its inherent Open With feature. The same command line (provided by calibre-debug) uses the system MSVCP140.dll (which is newer than calibre's) and succeeds when run outside of Calibre. The fault can be seen in the Windows Event Viewer after trying to launch Sigil with Calibre's Open With (note the faulting module path): Code:
Faulting application name: Sigil.exe, version: 2.6.2.0, time stamp: 0x68cac4a8 Faulting module name: MSVCP140.dll, version: 14.36.32532.0, time stamp: 0x04a30cf0 Exception code: 0xc0000005 Fault offset: 0x0000000000012f58 Faulting process id: 0x37b0 Faulting application start time: 0x01dc32d777d6ff52 Faulting application path: C:\Program Files\Sigil\Sigil.exe Faulting module path: C:\Program Files\Calibre2\app\bin\MSVCP140.dll Report Id: 897b5901-dac8-44bc-80fd-e48cad7fcf17 Faulting package full name: Faulting package-relative application ID: Otherwise, this will probably be an issue until Calibre includes a newer MSVCP140.dll that is compatible with exe's built with newer versions of the Visual Studio C++ toolchain (or until Kovid discovers a way to sanitize the Open With process environment in such a way that its own bundled MSVCP140.dll is not used by external programs that Calibre launches). Not that I'm trying to make work for him! I'm just not convinced this will be an issue with official Sigil releases. Last edited by DiapDealer; Today at 10:05 AM. |
![]() |
![]() |
![]() |
#6 |
Grand Sorcerer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 28,804
Karma: 206879174
Join Date: Jan 2010
Device: Nexus 7, Kindle Fire HD
|
Well apparently no. Even when built with my release environment (using version 14.39 of the VS vc++ compiler), the Qt6.9.2 version of Sigil will not launch from Calibre's Open With with its 14.36.32532 version of MSVCP140.dll. So much for that.
|
![]() |
![]() |
![]() |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
Sigil Error Message: Book File Would Not Open in Sigil | fkustaa | Sigil | 9 | 04-27-2025 05:11 AM |
Calibre cannot open ebook reader, edit books, or re-open once closed | baggins41 | Calibre | 15 | 04-22-2021 07:54 AM |
New message when I open Sigil 0.9.17 | dynabook | Sigil | 23 | 08-19-2019 08:07 PM |
Sigil don't open | winky8 | Sigil | 8 | 12-11-2013 07:15 PM |
"PK": Only text when I open in Sigil an ePub file generated with Calibre | Terisa de morgan | Sigil | 3 | 12-14-2009 11:24 AM |