Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

SRS error for new SpatiaLite layer in old SL DBs #15104

Closed
qgib opened this issue Apr 24, 2012 · 13 comments
Closed

SRS error for new SpatiaLite layer in old SL DBs #15104

qgib opened this issue Apr 24, 2012 · 13 comments
Labels
Bug Either a bug report, or a bug fix. Let's hope for the latter! Data Provider Related to specific vector, raster or mesh data providers

Comments

@qgib
Copy link
Contributor

qgib commented Apr 24, 2012

Author Name: Paolo Cavallini (@pcav)
Original Redmine Issue: 5486
Affected QGIS version: master
Redmine category:data_provider
Assignee: Giuseppe Sucameli


When creating a new Spatialite vector, selecting a SRS results in an error:

Impossible to load SRIDS: no such table: spatial_ref_sys

No problem with shp. Master from yesterday.

@qgib
Copy link
Contributor Author

qgib commented Apr 24, 2012

Author Name: Giovanni Manghi (@gioman)


This should affect also the code frozen for the 1.8 release, so I'll tag this as blocker as is a regression.


  • priority_id was changed from Normal to Severe/Regression

@qgib
Copy link
Contributor Author

qgib commented Apr 24, 2012

Author Name: Jürgen Fischer (@jef-n)


Is the real message "Failed to load SRIDS"?

@qgib
Copy link
Contributor Author

qgib commented Apr 24, 2012

Author Name: Paolo Cavallini (@pcav)


Yes, it was my dummy backtranslation from the IT GUI.The real message is:

Failed to load SRIDS: no such table: spatial_ref_sys

as you guessed.
Sorry.

@qgib
Copy link
Contributor Author

qgib commented May 7, 2012

Author Name: Marco Hugentobler (@mhugent)


I can create a new spatialite layer without SRS problem (master branch from today). Is the ticket still valid?

@qgib
Copy link
Contributor Author

qgib commented May 7, 2012

Author Name: Paolo Cavallini (@pcav)


Just checked, with today's master, same error.
Self packaged on Debian testing with master debian/rules

@qgib
Copy link
Contributor Author

qgib commented May 7, 2012

Author Name: Giovanni Manghi (@gioman)


works fine on ubuntu 11.04 and qgis master from the nightly build repo.

@qgib
Copy link
Contributor Author

qgib commented May 7, 2012

Author Name: Salvatore Larosa (@slarosa)


same here on Debian/wheezy and QGIS master (173e9ad), everything works fine!

@qgib
Copy link
Contributor Author

qgib commented May 7, 2012

Author Name: Marco Hugentobler (@mhugent)


Looks like a package problem to me then.


  • status_id was changed from Open to Closed

@qgib
Copy link
Contributor Author

qgib commented May 8, 2012

Author Name: Paolo Cavallini (@pcav)


It was not due to compilation, but to a change in SL provider, I think: spatial_ref_sys of old SL db are not recognized. This could be a bug in itself.


  • subject was changed from SRS error for new SpatiaLite layer to SRS error for new SpatiaLite layer in old SL DBs
  • assigned_to_id was configured as Giuseppe Sucameli
  • status_id was changed from Closed to Reopened
  • category_id was changed from Projection Support to Data Provider

@qgib
Copy link
Contributor Author

qgib commented May 8, 2012

Author Name: Paolo Cavallini (@pcav)


  • priority_id was changed from Severe/Regression to Normal

@qgib
Copy link
Contributor Author

qgib commented May 20, 2012

Author Name: Giuseppe Sucameli (@brushtyler)


Unable to reproduce it. Probably the problem depends on the used database (old or what?).
Could you provide a small dataset to reproduce it?

@qgib
Copy link
Contributor Author

qgib commented May 20, 2012

Author Name: Paolo Cavallini (@pcav)


See subject and comment #9: yes, this is due to old DBs

@qgib
Copy link
Contributor Author

qgib commented May 21, 2012

Author Name: Giuseppe Sucameli (@brushtyler)


Probably that db has no spatial_ref_sys table and then it's an invalid SL database.


  • resolution was changed from to invalid
  • status_id was changed from Reopened to Closed

@qgib qgib added Bug Either a bug report, or a bug fix. Let's hope for the latter! Data Provider Related to specific vector, raster or mesh data providers labels May 24, 2019
@qgib qgib closed this as completed May 24, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bug Either a bug report, or a bug fix. Let's hope for the latter! Data Provider Related to specific vector, raster or mesh data providers
Projects
None yet
Development

No branches or pull requests

1 participant