Learn how easy it is to sync an existing GitHub or Google Code repo to a SourceForge project! See Demo
In a script I will occasionally try to load an image which isn't there or I have the wrong pathname. When I call ScreenImageMgr.createScreenImage() with this bad path Stellarium will crash with
Segmentation fault (core dumped)
and an error message
Failed to create ScreenImage: file not found: scripts/path/to/image.png
Even when I try to surround it with a try and catch statement, Stellarium will still crash.
Is there a way to catch this error? Or a way to check if a file exists before trying to use it?
You seem to have CSS turned off.
Please don't fill out this field.
Please fill bug report - https://bugs.launchpad.net/stellarium/+filebug
Reported Bug #1276737