Bug 366834 - Appimage crashes on opening a Python project
Summary: Appimage crashes on opening a Python project
Status: RESOLVED FIXED
Alias: None
Product: kdevelop
Classification: Applications
Component: general (show other bugs)
Version: git master
Platform: Appimage Linux
: NOR normal
Target Milestone: ---
Assignee: kdevelop-bugs-null
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2016-08-16 13:36 UTC by Jonathan Verner
Modified: 2016-08-21 13:30 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Jonathan Verner 2016-08-16 13:36:13 UTC
When opening a python project (running kdevelop-latest appimage), kdevelop immediately crashes with the following output on the console:

Fontconfig error: "/etc/fonts/conf.d/10-scale-bitmap-fonts.conf", line 70: non-double matrix element
Fontconfig error: "/etc/fonts/conf.d/10-scale-bitmap-fonts.conf", line 70: non-double matrix element
Fontconfig warning: "/etc/fonts/conf.d/10-scale-bitmap-fonts.conf", line 78: saw unknown, expected number
kdevplatform.serialization: version-hint not found, seems to be an old version
kdevplatform.serialization: "The data-repository at /home/FF/vernjaff/.cache/kdevduchain/kdevelop-{a85793ea-501d-4c92-ba22-f3e74f5568a6} has to be cleared."
QSqlDatabase: QSQLITE driver not loaded
QSqlDatabase: available drivers: 
Couldn't setup QtHelp Collection file
qrc:/qml/main.qml:21:1: module "QtQuick" is not installed
welcomepage errors: (qrc:/qml/main.qml:21:1: module "QtQuick" is not installed)
Ninja plugin installed but ninja is not installed.
Could not load plugin "KDevNinjaBuilder" , it reported the error: "" Disabling the plugin now.
Ninja plugin installed but ninja is not installed.
Could not load plugin "KDevNinjaBuilder" , it reported the error: "" Disabling the plugin now.
trying to load "/tmp/.mount_IGxm2h/usr/lib/qt5/plugins/kf5/kio/file.so" from "/tmp/.mount_IGxm2h/usr/lib/qt5/plugins/kf5/kio/file.so"
trying to load "/tmp/.mount_IGxm2h/usr/lib/qt5/plugins/kf5/kio/file.so" from "/tmp/.mount_IGxm2h/usr/lib/qt5/plugins/kf5/kio/file.so"
inotify_add_watch("/home/FF/vernjaff/zdroj/brython-misc/data/repos/git/repositories") failed: "Permission denied"
 ====> PARSING ====> parsing file  QUrl("file:///home/FF/vernjaff/zdroj/brython-misc/virtual_env/lib/python3.4/site-packages/setuptools/tests/test_test.py") ; has priority 10000
 ====> AST     ====>     building abstract syntax tree for  "/home/FF/vernjaff/zdroj/brython-misc/virtual_env/lib/python3.4/site-packages/setuptools/tests/test_test.py"
Could not find platform independent libraries <prefix>
Could not find platform dependent libraries <exec_prefix>
Consider setting $PYTHONHOME to <prefix>[:<exec_prefix>]
Fatal Python error: Py_Initialize: Unable to get the locale encoding
ImportError: No module named 'encodings'

Current thread 0x00007fd9228d6700 (most recent call first):
/tmp/.mount_IGxm2h/AppRun: line 28: 28919 Aborted                 (core dumped) kdevelop $@


Reproducible: Always




The reporter of bug #361896 run into a similar problem but Sven Brauch could not figure out what is wrong. Since that bug was originally about something else I am opening a new bug to note that I am also affected. I am more than happy to try to help pinpoint what the problem is though I am as clueless as Sven Brauch :-)
Comment 1 Jonathan Verner 2016-08-16 13:37:59 UTC
I forgot to mention the exact version of the appimage:

Both 

  KDevelop-20160722-x86_64.AppImage

and

  KDevelop-20160815-x86_64.AppImage

happily crash on me :-)
Comment 2 Sven Brauch 2016-08-20 15:35:19 UTC
Hmm. What system are you on? I'll try to reproduce this ...
Comment 3 Sven Brauch 2016-08-20 16:57:23 UTC
Can you try this image and tell me whether it fixes the issue? http://files.svenbrauch.de/kdevelop-linux/KDevelop-20160820-x86_64.AppImage
Comment 4 Jonathan Verner 2016-08-20 17:02:56 UTC
Sorry for forgetting to mention it. I am running Kubuntu 14.04. The above appimage does not even run. It immediately exists saying:

kdevelop: error while loading shared libraries: libKDevPlatformShell.so.10: cannot open shared object file: No such file or directory
Comment 5 Sven Brauch 2016-08-20 18:14:12 UTC
... try downloading it again, sorry. At the time of my posting the upload was not complete it seems.
Comment 6 Jonathan Verner 2016-08-20 21:40:53 UTC
No problem. Now the image starts and can open a python project without crashing.
Comment 7 Sven Brauch 2016-08-21 08:39:44 UTC
Cool, thanks.
Comment 8 Jonathan Verner 2016-08-21 13:30:31 UTC
Thank you!!