Static plug-ins cause a crash if certain directories are missing
Bug #506414 reported by
Bogdan Marinov
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Stellarium |
Fix Released
|
High
|
Unassigned |
Bug Description
(Everything applies to the development version on Ubuntu, but, as far as I can remember, the same has happened on Windows.)
When Stellarium is run, some statically linked plug-ins try to access their subdirectory in ~/.stellarium/
This has been confirmed by building and running for the Satellites plug-in, but the issue can occur with any plug-in that stores any kind of resource in ~/.stellarium/
Edited to add: Confirmed also with Oculars.
description: | updated |
Changed in stellarium: | |
status: | In Progress → Fix Committed |
Changed in stellarium: | |
status: | Fix Committed → Fix Released |
To post a comment you must log in.
I fixed that for Satellites, and Tim said he fixed that for Oculars. I added a new method in StelFileMgr for handling that: StelFileMgr: :makeSureDirExi stsAndIsWritabl e()