Thread: KDE 4.7
View Single Post
Old 08-30-2011, 11:37 PM   #11
st_albert
Guru
st_albert gives new meaning to the word 'superlative.'st_albert gives new meaning to the word 'superlative.'st_albert gives new meaning to the word 'superlative.'st_albert gives new meaning to the word 'superlative.'st_albert gives new meaning to the word 'superlative.'st_albert gives new meaning to the word 'superlative.'st_albert gives new meaning to the word 'superlative.'st_albert gives new meaning to the word 'superlative.'st_albert gives new meaning to the word 'superlative.'st_albert gives new meaning to the word 'superlative.'st_albert gives new meaning to the word 'superlative.'
 
Posts: 698
Karma: 150000
Join Date: Feb 2010
Device: none
I have been playing with this also, on a virtual machine install of Kubuntu 11.10 with KDE 4.7 and QT 4.7.3 and Sigil 0.4.1 (both the release and one compiled on the Kubuntu system from source); and for comparison on a Debian Sid machine with KDE 4.6.5, QT 4.7.3 and Sigil 0.4.1 Release.

On the Kubuntu (KDE 4.7) I can reproduce the problem with either the release 0.4.1, which comes bundled with QT 4.7.2) and on the fresh-built 0.4.1 (which has QT 4.7.3). It happens no matter whether the QT_PLUGIN_PATH is set or unset.

On the Debian system (KDE 4.6.5) if I run the 0.4.1 Release version via the sigil.sh script (which puts Sigil's directory ahead of the rest of the LD_LIBRARY_PATH and unsets QT_PLUGIN_PATH), Sigil reports QT version 4.7.2 in help | about. There is no problem, and no error with 'save as'.

Moreover, if I run the sigil binary from a terminal without any sigil.sh (so both LD_LIBRARY_PATH and QT_PLUGIN_PATH are unmodified) I get lots of warnings, but no problem with 'save as' -- unless, in the save-file dialog, the "automatically select filename extension ).epub)" box is checked. In this case sigil reports QT4.7.3.

ETA: if the box IS checked, the dreaded error window pops up, but it is active. FWIW, the error shown is

Code:
Error info: Critical: kfilemodule(1649): couldn't create slave: "Unable to create io-slave:
klauncher said: Unknown protocol ''.
" 
Sigil version: 0.4.1
Runtime Qt: 4.7.3
Compiled Qt: 4.7.2
Platform: Linux
That is basically the same error that happens with Sigil 0.3.4 and QT 4.7.0 on the Debian machine. And again, if you run any of these with QT_PLUGIN_PATH unset, you don't get the KDE-style file-save window, there's no "automatically select..." box to uncheck, and you don't get the error at all.

Finally, the installer built on the Kubuntu machine using QT4.7.3, when installed on the Debian machine with KDE 4.6.5 also works without error (starting with the shell script, but now the bundled QT libs are 4.7.3).

ETA2: Note that I'm not sure the error that happens on the Kubuntu KDE 4.7 system is the same error as quoted above. Unlike the KDE 4.6.5 case, it seems to happen as soon as you press the save-as button, before the file-save dialog opens. Since the dialog freezes, you can't "show details." However, if you start sigil.sh from a shell, the following appears on the console when the error happens:

Code:
Debug: kfilemodule(2024)/kio (KDirModel) KDirModelPrivate::_k_slotDeleteItems: No node found for item that was just removed: KUrl("file:///vmlinuz")
So my guess is that the problem is with KDE 4.7 rather than QT 4.7.3

Last edited by st_albert; 08-31-2011 at 12:09 AM.
st_albert is offline   Reply With Quote