[Qgis-user] Error 14 -- Unable to open ~/.qgis//qgis.db -- QGIS version 1.8.0-Lisboa -- Ubuntu 12.04

Goyo goyodiaz at gmail.com
Wed Jun 20 10:34:56 PDT 2012


2012/6/20 Paul Young <paulysa at gmail.com>:
> 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



More information about the Qgis-user mailing list