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

python error when deleting PostGIS spatial index with DB manager #18483

Closed
qgib opened this issue Apr 3, 2014 · 1 comment
Closed

python error when deleting PostGIS spatial index with DB manager #18483

qgib opened this issue Apr 3, 2014 · 1 comment
Labels
Bug Either a bug report, or a bug fix. Let's hope for the latter! DB Manager Relating to the DB Manager core plugin
Milestone

Comments

@qgib
Copy link
Contributor

qgib commented Apr 3, 2014

Author Name: Giovanni Manghi (@gioman)
Original Redmine Issue: 9991
Affected QGIS version: master
Redmine category:db_manager


Traceback (most recent call last):
  File "/usr/share/qgis/python/plugins/db_manager/dlg_table_properties.py", line 316, in deleteIndex
    idx = m.getObject(index)
  File "/usr/share/qgis/python/plugins/db_manager/db_plugins/data_model.py", line 301, in getObject
    idx = val.toPyObject() if val.isValid() else self._getNewObject()
AttributeError: 'PGTableIndex' object has no attribute 'isValid'

@qgib
Copy link
Contributor Author

qgib commented Jun 1, 2014

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


Fixed in changeset "272ac2ec55361810a7b8c769df6f9907a024224c".


  • status_id was changed from Open to Closed

@qgib qgib added Bug Either a bug report, or a bug fix. Let's hope for the latter! DB Manager Relating to the DB Manager core plugin labels May 24, 2019
@qgib qgib added this to the Version 2.4 milestone 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! DB Manager Relating to the DB Manager core plugin
Projects
None yet
Development

No branches or pull requests

1 participant