#214 closed bug (fixed)
qgis 0.8 - unable to open database crash
Reported by: | anonymous | Owned by: | gsherman |
---|---|---|---|
Priority: | critical: causes crash or data corruption | Milestone: | |
Component: | Projection Support | Version: | 0.8 |
Keywords: | Cc: | ||
Must Fix for Release: | No | Platform: | Windows |
Platform Version: | Awaiting user input: | no |
Description
Doing anything related to projection selection results in crash. OS: WinXP Home QGIS: 0.8 preview 1 and 060724.
E:\qgis-0.8.0-win32-060724>qgis Can't open database: unable to open database file Assertion failed: myResult == 0, file qgsprojectionselector.cpp, line 533
This application has requested the Runtime to terminate it in an unusual way. Please contact the application's support team for more information.
E:\qgis-0.8.0-win32-060724>qgis Can't open database: unable to open database file Assertion failed: myResult == 0, file qgsoptions.cpp, line 303
E:\qgis-0.8.0-win32-060724>qgis mPixmap.isNull() = 0 Can't open database: unable to open database file Assertion failed: myResult == 0, file qgsprojectionselector.cpp, line 533
Change History (5)
comment:1 by , 18 years ago
comment:2 by , 18 years ago
Version: | → 0.8 |
---|
comment:3 by , 18 years ago
Status: | new → assigned |
---|
The srs.db is installed in the proper place, however the path to it is not being set right in code. This results in an attempt to open /resources/srs.db rather than the appropriate $PREFIX/resources/srs.db. Offending code appears to be in src/core/qgsapplication.cpp, starting at line 42. mPrefixPath is not being set properly (i.e. its blank) and this affects all parts of the code base that atempt to find resources.
I tried the windows release and it doesn't seem to install the srs.db database in a place where qgis can find it, which may lead to this problem. Perhaps Gary can comment...