Register Guidelines E-Books Today's Posts Search

Go Back   MobileRead Forums > E-Book Software > Sigil

Notices

Reply
 
Thread Tools Search this Thread
Old 12-20-2025, 05:28 PM   #16
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: 29,011
Karma: 210162574
Join Date: Jan 2010
Device: Nexus 7, Kindle Fire HD
You should just go back to the original launch script (/usr/bin/sigil). It's correct. Just reinstall Sigil to recreate it.

The following line in your modified launch script is not syntactically correct:

export LD_LIBRARY_PATH="$SIGIL_LIB_DIR${LD_LIBRARY_PATH:+ :$LD_LIBRARY_PATH}"

It should be:

export LD_LIBRARY_PATH="$SIGIL_BIN_DIR:$LD_LIBRARY_PATH"

Adding the /etc/ld.so.conf.d/sigil.conf may fix whatever is incorrect on your system, but it's not necessary for a working Sigil installation from the Arch repositories--with any version.

I won't try to convince to to get it properly straightened out if you're fine with your current bandaid, but I worry it will cause other problems down the road.
DiapDealer is offline   Reply With Quote
Old 12-20-2025, 05:33 PM   #17
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: 9,179
Karma: 6565382
Join Date: Nov 2009
Device: many
Your edited script version ignores setting the QTLIB dir into the LD_LIBRARY_PATH as this original piece did:


Quote:
QTLIB_DIR="/usr/lib"
SIGIL_BIN_DIR="/usr/lib/sigil"

if [ -z "$LD_LIBRARY_PATH" ]; then
LD_LIBRARY_PATH="$SIGIL_BIN_DIR:$QTLIB_DIR"
else
LD_LIBRARY_PATH="$SIGIL_BIN_DIR:$QTLIB_DIR:$LD_LIB RARY_PATH"
fi
My guess is this change may also be related to the issue you are seeing.
KevinH is online now   Reply With Quote
Advert
Old 12-20-2025, 06:13 PM   #18
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: 29,011
Karma: 210162574
Join Date: Jan 2010
Device: Nexus 7, Kindle Fire HD
Adding the Qt libs directory to the ld_library_path is really only strictly necessary if you custom build Sigil against a version of Qt different than the system's default Qt. The repo version of Sigil is always built against the current system Qt (and should always be able to find it). It doesn't hurt to include the system Qt libs directory though. That's why I include it in the vanilla launcher--it will work for all situations: vanilla or custom.

I'd just like to see Reuben return to a completely stock distro Sigil installation so we can properly debug what might have been happening.

Last edited by DiapDealer; 12-20-2025 at 06:20 PM.
DiapDealer is offline   Reply With Quote
Old 12-20-2025, 06:40 PM   #19
RbnJrg
Wizard
RbnJrg ought to be getting tired of karma fortunes by now.RbnJrg ought to be getting tired of karma fortunes by now.RbnJrg ought to be getting tired of karma fortunes by now.RbnJrg ought to be getting tired of karma fortunes by now.RbnJrg ought to be getting tired of karma fortunes by now.RbnJrg ought to be getting tired of karma fortunes by now.RbnJrg ought to be getting tired of karma fortunes by now.RbnJrg ought to be getting tired of karma fortunes by now.RbnJrg ought to be getting tired of karma fortunes by now.RbnJrg ought to be getting tired of karma fortunes by now.RbnJrg ought to be getting tired of karma fortunes by now.
 
Posts: 1,896
Karma: 8939999
Join Date: Mar 2013
Location: Rosario - Santa Fe - Argentina
Device: Kindle 4 NT
Quote:
Originally Posted by DiapDealer View Post
Adding the Qt libs directory to the ld_library_path is really only strictly necessary if you custom build Sigil against a version of Qt different than the system's default Qt. The repo version of Sigil is always built against the current system Qt (and should always be able to find it). It doesn't hurt to include the system Qt libs directory though. That's why I include it in the vanilla launcher--it will work for all situations: vanilla or custom.

I'd just like to see Reuben return to a completely stock distro Sigil installation so we can properly debug what might have been happening.
I reinstalled Sigil, the /usr/bin/sigil script now is:

Code:
#!/bin/sh

# Entry point for Sigil on Unix systems.
# Adds linked Qt's lib directory to the LD_LIBRARY_PATH

QTLIB_DIR="/usr/lib"
SIGIL_BIN_DIR="/usr/lib/sigil"

if [ -z "$LD_LIBRARY_PATH" ]; then
  LD_LIBRARY_PATH="$SIGIL_BIN_DIR:$QTLIB_DIR"
else
  LD_LIBRARY_PATH="$SIGIL_BIN_DIR:$QTLIB_DIR:$LD_LIBRARY_PATH"
fi

# Create an environment var for the Sigil share directory location.
if [ -z "$SIGIL_SHARE_PREFIX" ]; then
  SIGIL_SHARE_PREFIX="/usr"
  export SIGIL_SHARE_PREFIX
fi

# Not really needed anymore but left in for fringe cases
#if [ -z "$SIGIL_EXTRA_ROOT" ]; then
#  SIGIL_EXTRA_ROOT="/usr/share/sigil"
#  export SIGIL_EXTRA_ROOT
#fi

export LD_LIBRARY_PATH

exec /usr/lib/sigil/sigil "$@"
I also removed the sigil.conf file and... Sigil crashes again in my system. For an unknown reason, Sigil can't find the gumbo library.
RbnJrg is offline   Reply With Quote
Old 12-20-2025, 06:47 PM   #20
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: 29,011
Karma: 210162574
Join Date: Jan 2010
Device: Nexus 7, Kindle Fire HD
Can you give us the exact error message you get when you launch Sigil from a terminal using:

/usr/bin/sigil

EDIT: I updated to Qt 6.10.1 on my Arch system and now I get the warning about the QDBUS error as well. But it appears to be cosmetic as it doesn't prevent Sigil from launching and functioning. I'll look into why it's happening, but I don't consider it a priority issue.

But why the setting of LD_LIBRARY PATH in /usr/bin/sigil doesn't allow Sigil to find libsigilgumbo just doesn't make any sense to me. Something else has to be going on that we are missing.

Last edited by DiapDealer; 12-21-2025 at 12:36 PM.
DiapDealer is offline   Reply With Quote
Advert
Old 12-21-2025, 12:08 PM   #21
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: 9,179
Karma: 6565382
Join Date: Nov 2009
Device: many
Manjaro stable now has Qt 6.10.1 and Sigil 2.7.0, tried running /usr/bin/sigil and it all worked just fine. No QDBUS warnings either.

The only thing I can think of that fits the clues might be a leftover libsigilgumbo.so someplace? Maybe in /usr/lib? But that seems highly unlikely.
KevinH is online now   Reply With Quote
Old 12-21-2025, 12:43 PM   #22
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: 29,011
Karma: 210162574
Join Date: Jan 2010
Device: Nexus 7, Kindle Fire HD
You have KDE/Plasma, right? I think there's been some changes to theme detection stuff in Qt6.10.1. I'm seeing lots of new background warnings when changing themes in Cinnamon. Sigil's themes/palettes are still properly changing on the fly however, so no worries there. I think maybe they're (Qt) starting to move toward proper use of the xdg portal stuff to detect changes instead of their older hackery. That sort of stuff seems to have been working naturally for a while now with KDE. Cinnamon is only Gnome-ish these days, so I expect some warnings.
DiapDealer is offline   Reply With Quote
Old 12-21-2025, 01:59 PM   #23
RbnJrg
Wizard
RbnJrg ought to be getting tired of karma fortunes by now.RbnJrg ought to be getting tired of karma fortunes by now.RbnJrg ought to be getting tired of karma fortunes by now.RbnJrg ought to be getting tired of karma fortunes by now.RbnJrg ought to be getting tired of karma fortunes by now.RbnJrg ought to be getting tired of karma fortunes by now.RbnJrg ought to be getting tired of karma fortunes by now.RbnJrg ought to be getting tired of karma fortunes by now.RbnJrg ought to be getting tired of karma fortunes by now.RbnJrg ought to be getting tired of karma fortunes by now.RbnJrg ought to be getting tired of karma fortunes by now.
 
Posts: 1,896
Karma: 8939999
Join Date: Mar 2013
Location: Rosario - Santa Fe - Argentina
Device: Kindle 4 NT
Quote:
Originally Posted by DiapDealer View Post
Can you give us the exact error message you get when you launch Sigil from a terminal using:

/usr/bin/sigil
With that command from CLI, Sigil starts fine, but with the message:

Code:
Warning: Failed to register with host portal QDBusError("org.freedesktop.portal.Error.Failed", "Could not register app ID: Connection already associated with an application ID")
And once I get the program to start, I can then continue to start it with the launcher without it freezing. Weird.
RbnJrg is offline   Reply With Quote
Old 12-22-2025, 09:24 AM   #24
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: 9,179
Karma: 6565382
Join Date: Nov 2009
Device: many
Could the launcher somehow NOT point to /usr/bin/sigil ?
KevinH is online now   Reply With Quote
Old 12-22-2025, 10:04 AM   #25
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: 29,011
Karma: 210162574
Join Date: Jan 2010
Device: Nexus 7, Kindle Fire HD
Quote:
Originally Posted by KevinH View Post
Could the launcher somehow NOT point to /usr/bin/sigil ?
That's my only thought. If a desktop/menu shortcut is somehow pointing to /usr/lib/sigil/sigil instead of /usr/bin/sigil, it would certainly cause problems. Or perhaps another script (.profile or .bash) is somehow diddling LD_LIBRARY_PATH and interfering? I just know that absolutely nothing has changed with Sigil 2.7.0 in this regard. And nothing has changed with how Arch is packaging Sigil 2.7.0 compared to older versions. There are also no other bug reports of this nature (on Arch or Github) with regard to Sigil 2.7.0.

Last edited by DiapDealer; 12-22-2025 at 10:11 AM.
DiapDealer is offline   Reply With Quote
Old 12-22-2025, 10:22 AM   #26
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: 29,011
Karma: 210162574
Join Date: Jan 2010
Device: Nexus 7, Kindle Fire HD
Or maybe /usr/lib/sigil has been added to $PATH? That could cause weirdness too.

But Reuben confirmed upthread that 'which sigil' only returns /usr/bin/sigil.

I don't know exactly how the desktop launcher he's using was created (or where it's actually located). Any application launchers in ~/.local/share/applications should override the ones in /usr/share/applications or /usr/local/share/applications.

He's added the QT_QUICK_BACKEND env var to the .desktop file (I remember helping him do that in the past), but I don't recall where it actually resides on his system.
DiapDealer is offline   Reply With Quote
Old 12-22-2025, 12:19 PM   #27
RbnJrg
Wizard
RbnJrg ought to be getting tired of karma fortunes by now.RbnJrg ought to be getting tired of karma fortunes by now.RbnJrg ought to be getting tired of karma fortunes by now.RbnJrg ought to be getting tired of karma fortunes by now.RbnJrg ought to be getting tired of karma fortunes by now.RbnJrg ought to be getting tired of karma fortunes by now.RbnJrg ought to be getting tired of karma fortunes by now.RbnJrg ought to be getting tired of karma fortunes by now.RbnJrg ought to be getting tired of karma fortunes by now.RbnJrg ought to be getting tired of karma fortunes by now.RbnJrg ought to be getting tired of karma fortunes by now.
 
Posts: 1,896
Karma: 8939999
Join Date: Mar 2013
Location: Rosario - Santa Fe - Argentina
Device: Kindle 4 NT
I employ the following launcher:

Code:
[Desktop Entry]
Type=Application
Name=Sigil
Comment=ePUB file editor
TryExec=sigil
Exec=env QT_QUICK_BACKEND=software sigil %F
Icon=sigil
Categories=Office;
MimeType=application/epub+zip;
Path=
Terminal=false
StartupNotify=true
And not, the /usr/lib/sigil value has not been added to $PATH.

Last edited by RbnJrg; 12-22-2025 at 12:22 PM.
RbnJrg is offline   Reply With Quote
Old 12-22-2025, 12:32 PM   #28
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: 29,011
Karma: 210162574
Join Date: Jan 2010
Device: Nexus 7, Kindle Fire HD
Where does that .desktop file reside?
DiapDealer is offline   Reply With Quote
Old 12-22-2025, 02:56 PM   #29
RbnJrg
Wizard
RbnJrg ought to be getting tired of karma fortunes by now.RbnJrg ought to be getting tired of karma fortunes by now.RbnJrg ought to be getting tired of karma fortunes by now.RbnJrg ought to be getting tired of karma fortunes by now.RbnJrg ought to be getting tired of karma fortunes by now.RbnJrg ought to be getting tired of karma fortunes by now.RbnJrg ought to be getting tired of karma fortunes by now.RbnJrg ought to be getting tired of karma fortunes by now.RbnJrg ought to be getting tired of karma fortunes by now.RbnJrg ought to be getting tired of karma fortunes by now.RbnJrg ought to be getting tired of karma fortunes by now.
 
Posts: 1,896
Karma: 8939999
Join Date: Mar 2013
Location: Rosario - Santa Fe - Argentina
Device: Kindle 4 NT
Quote:
Originally Posted by DiapDealer View Post
Where does that .desktop file reside?
In /home/ruben/Desktop/ with the others launchers I have.

And I had a new crash by trying to open Sigil with the launcher and after starting it with the CLI (/usr/bin/sigil), the program opened fine but this time with the message:

Code:
ERROR:block_files.cc(450)] Failed to open /home/ruben/.local/share/sigil-ebook/sigil/local-storage/DawnWebGPUCache/data_0
Maybe that can be a clue.
RbnJrg is offline   Reply With Quote
Old 12-22-2025, 04:15 PM   #30
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: 9,179
Karma: 6565382
Join Date: Nov 2009
Device: many
That tells us that your launcher is somehow not invoking sigil as it should because a software only version of of the Sigil backend would never need to use the local storage for a DawnWebGPUCache since it would not be using the accelerated GPU since you told it to use software only.

First check out the permissions on this folder and its contents:

/home/ruben/.local/share/sigil-ebook/sigil/local-storage/

And make sure you have write read, write privs on that folder and all its contents. (and execute privs since it is a folder)


If permissions are correct, then try deleting that folder

/home/ruben/.local/share/sigil-ebook/sigil/local-storage/

as that local-storage folder should be properly recreated by Sigil if it needs it.

Does that change anything?

Last edited by KevinH; 12-22-2025 at 07:32 PM.
KevinH is online now   Reply With Quote
Reply


Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Sigil 0.8.5 Random Crashes SuicycoMania Sigil 46 06-05-2015 04:29 PM
Sigil 0.7.4 crashes jiarevalo Sigil 3 12-06-2013 07:44 AM
Epub crashes on Sigil for Mac, OK on Sigil for PC crystamichelle Sigil 6 08-14-2013 03:52 PM
sigil crashes? bobcdy Sigil 7 03-05-2011 06:36 AM
Sigil crashes when saving Sanderfox Sigil 8 02-25-2010 12:50 PM


All times are GMT -4. The time now is 01:41 PM.


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