Bug report #5490

Incorrect PATH to srs.db

Added by Andy Wood almost 12 years ago. Updated almost 12 years ago.

Status:Closed
Priority:High
Assignee:-
Category:Build/Install
Affected QGIS version:master Regression?:No
Operating System:Linux Easy fix?:No
Pull Request or Patch supplied:No Resolution:
Crashes QGIS or corrupts data:No Copied to github as #:15107

Description

The following error is displayed during a Debian install of current master:
------
Preparing to replace qgis-providers-common 1.9.90 (using qgis-providers-common_1.9.90_all.deb) ...
Unpacking replacement qgis-providers-common ...
Setting up qgis-providers-common (1.9.90) ...
Synchronizing CRS database with PROJ definitions.
Could not open database: /usr/lib/share/qgis/resources/srs.db [unable to open database file]
1 CRSs could not be updated.
------

Path to database should be: /usr/share/qgis/resources/srs.db

QGIS version 1.9.90-Alpha
QGIS code revision 5e8d129
Compiled against Qt 4.7.4
Running against Qt 4.7.4
Compiled against GDAL/OGR 1.7.3
Running against GDAL/OGR 1.7.3
GEOS Version 3.3.1
PostgreSQL Client Version 9.1.3
SpatiaLite Version 3.0.0-beta
QWT Version 6.0.0-svn

Associated revisions

History

#1 Updated by Andy Wood almost 12 years ago

On further inspection this appears to be a build problem with /usr/lib/qgis/crssync
Just running crssync generates the same problem:

$ /usr/lib/qgis/crssync
Synchronizing CRS database with PROJ definitions.
Could not open database: /usr/lib/share/qgis/resources/srs.db [unable to open database file]

1 CRSs could not be updated.

#2 Updated by Jürgen Fischer almost 12 years ago

  • Status changed from Open to Closed

#3 Updated by Andy Wood almost 12 years ago

This bug is back again during a Debian install of master today:

----
Setting up qgis-providers-common (1.9.0) ...
Synchronizing CRS database with PROJ definitions.
Could not open database: /usr/lib/share/qgis/resources/srs.db [unable to open database file]
1 CRSs could not be updated.
----

QGIS version 1.9.0-Master
QGIS code revision fcb86cf
Compiled against Qt 4.8.2
Running against Qt 4.8.2
Compiled against GDAL/OGR 1.9.0
Running against GDAL/OGR 1.9.0
GEOS Version 3.3.3
PostgreSQL Client Version 9.1.4
SpatiaLite Version 3.0.0-beta
QWT Version 6.0.0-svn

Also available in: Atom PDF