Summary: | Kexi crashes on an attempt of creation a Script or SQL editor view when ktexteditor isn't installed | ||
---|---|---|---|
Product: | [Applications] KEXI | Reporter: | Pierre-Yves Luyten <py> |
Component: | General | Assignee: | Jarosław Staniek <staniek> |
Status: | CLOSED FIXED | ||
Severity: | crash | CC: | adam, inksi, rdieter, staniek |
Priority: | NOR | Keywords: | drkonqi |
Version: | 2.8.7 | ||
Target Milestone: | 2.9.3 | ||
Platform: | Fedora RPMs | ||
OS: | Linux | ||
Latest Commit: | Version Fixed In: | 2.9.3 | |
Sentry Crash Report: |
Description
Pierre-Yves Luyten
2015-04-19 20:41:41 UTC
Git commit 99d7c63e51ae5e44d1304deb6db072eb74f246d1 by Jaroslaw Staniek. Committed on 19/04/2015 at 22:16. Pushed by staniek into branch 'calligra/2.9'. Avoid crash in Kexi text editor when text component couldn't be loaded M +2 -0 kexi/widget/kexieditor.cpp http://commits.kde.org/calligra/99d7c63e51ae5e44d1304deb6db072eb74f246d1 Hi, Thanks for the report! If anyone else is able to reproduce the crash, please do and check it. I am not able. However I just added a condition to the code that avoids crashes in the editor when the component isn't found - will be available in 2.9.3. This is because I guess that you could be have a text editor component not installed. To check that please try to run the 'kate editor. It's only a guess because the backtrace isn't detailed (there is no debug info on your system). Are you able to display the SQL editor for saved queries? Or a script editor? Thanks. That's it, kate was not installed, giving a crash. This could be made a downstream bug (i'm on Fedora) to make kate a dependency Here for Fedora https://bugzilla.redhat.com/show_bug.cgi?id=1213229 Thanks Pierre, I am glad there's a solution. To be strict, a package delivering a /usr/lib*/libktexteditor.so file or so would be a minimal, better dependency. I suggested 'kate' because I wasn't sure how the proper package is called. Maybe libktexteditor4? If you want test, please uninstall kate, and keep libktexteditor4 (or whatever it's called) and try the Kexi editor. If I am right, it would be cool if you alter the fedora bugzilla entry. Does kexi need/use the whole 'kate' application, or is just kate's kpart enough? @Rex Kate's kpart is only used. Technically via the ktexteditor interface. Git commit aae9ee428b7a18db57a7852085403bd4b2588bce by Jaroslaw Staniek. Committed on 20/04/2015 at 21:42. Pushed by staniek into branch 'calligra/2.9'. README.PACKAGERS: clearly mark required deps; add ktextedtior as required M +25 -14 README.PACKAGERS http://commits.kde.org/calligra/aae9ee428b7a18db57a7852085403bd4b2588bce Git commit fcadcaa9bb85650e9613a069651c261a81f80ff1 by Jaroslaw Staniek. Committed on 20/04/2015 at 21:45. Pushed by staniek into branch 'frameworks'. README.PACKAGERS: clearly mark required deps; add ktextedtior as required (for Kexi 3) M +21 -8 README.PACKAGERS http://commits.kde.org/calligra/fcadcaa9bb85650e9613a069651c261a81f80ff1 PS: The commit 99d7c63e51ae5e44 fixes the crash for the script editor too in one go. Fixed in 99d7c63e51ae5e44. |