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

QgsDataSourceURI missing from qgis.core #24916

Closed
qgib opened this issue Aug 14, 2017 · 2 comments
Closed

QgsDataSourceURI missing from qgis.core #24916

qgib opened this issue Aug 14, 2017 · 2 comments
Labels
Bug Either a bug report, or a bug fix. Let's hope for the latter! PyQGIS Related to the PyQGIS API

Comments

@qgib
Copy link
Contributor

qgib commented Aug 14, 2017

Author Name: Axel Hörteborn (Axel Hörteborn)
Original Redmine Issue: 17017
Affected QGIS version: master
Redmine category:python_bindings_/_sipify
Assignee: Denis Rouzaud


Really odd bugg I cant import QgsDataSourceURI from qgis.core

if I run @dir(qgis.core)@ in the python console I find QgsDataSourceURI among the classes.
When I try @import qgis.core.QgsDataSourceURI@
I get: @attributeerror: module 'qgis.core' has no attribute 'QgsDataSourceURI'@

@qgib
Copy link
Contributor Author

qgib commented Sep 28, 2017

Author Name: Denis Rouzaud (@3nids)


can you try from qgis.core import QgsDataSourceURI
this works for me


  • status_id was changed from Open to Feedback

@qgib
Copy link
Contributor Author

qgib commented Nov 11, 2017

Author Name: Alexander Bruy (@alexbruy)


In master this class was renamed to QgsDataSourceUri


  • resolution was changed from to invalid
  • status_id was changed from Feedback to Rejected

@qgib qgib closed this as completed Nov 11, 2017
@qgib qgib added Bug Either a bug report, or a bug fix. Let's hope for the latter! PyQGIS Related to the PyQGIS API labels May 25, 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! PyQGIS Related to the PyQGIS API
Projects
None yet
Development

No branches or pull requests

1 participant