You probably have permission problems or a corrupt file. Rename your .qgis folder to .qgis.bak and restart qgis. Do not copy qgis.db from elsewhere.
Etienne On Wed, Jun 20, 2012 at 2:34 PM, Goyo <[email protected]> wrote: > 2012/6/20 Paul Young <[email protected]>: >> I get this error: Error 14 -- Unable to open ~/.qgis//qgis.db -- QGIS >> version 1.8.0-Lisboa -- Ubuntu 12.04 >> >> It was discovered when I tried to define a custom CRS and save it under: >> settings/custom CRS in QGIS 1.80.-Lisboa under Ubuntu 12.04 and saving the >> custom CRS indicated this error. >> >> I notice that the qgis.db file is located at: >> /usr/share/qgis/resources/qgis.db > > There should be one at ~/.qgis too. > >> I created a link but this did not work either. Can I tel QGIS to look for >> the qgis database at the above location rather that ~/.qgis//? > > Better make a copy of qgis.db into ~/.qgis. > >> Looks like permissions are read and write for all users. > > That sounds weird to me. This is what I get (qgis master, ubuntu 12.04): > > $ ls -l /usr/share/qgis/resources/qgis.db > -rw-r--r-- 1 root root 23552 may 7 2011 /usr/share/qgis/resources/qgis.db > > The owner is root and only root has write permissions. Which is to be > expected for a file in that directory. > > Goyo > _______________________________________________ > Qgis-user mailing list > [email protected] > http://lists.osgeo.org/mailman/listinfo/qgis-user _______________________________________________ Qgis-user mailing list [email protected] http://lists.osgeo.org/mailman/listinfo/qgis-user
