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

db manager error when deleting a PG column #15983

Closed
qgib opened this issue Dec 9, 2012 · 1 comment
Closed

db manager error when deleting a PG column #15983

qgib opened this issue Dec 9, 2012 · 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 Dec 9, 2012

Author Name: Giovanni Manghi (@gioman)
Original Redmine Issue: 6847
Affected QGIS version: master
Redmine category:db_manager
Assignee: Giuseppe Sucameli


Traceback (most recent call last):
File "C:\OSGeo4W\apps\qgis-dev\python\plugins\db_manager\dlg_table_properties.py",
line 180, in deleteColumn
self.populateViews()
File "C:\OSGeo4W\apps\qgis-dev\python\plugins\db_manager\dlg_table_properties.py",
line 86, in populateViews
self.populateIndexes()
File "C:\OSGeo4W\apps\qgis-dev\python\plugins\db_manager\dlg_table_properties.py",
line 261, in populateIndexes
m.append( idx )
File "C:\OSGeo4W\apps\qgis-dev\python\plugins\db_manager\db_plugins\data_model.py",
line 281, in append
field_names = map( lambda (k,v): unicode(v.name), idx.fields().iteritems() )
File "C:\OSGeo4W\apps\qgis-dev\python\plugins\db_manager\db_plugins\data_model.py",
line 281, in
field_names = map( lambda (k,v): unicode(v.name), idx.fields().iteritems() )
AttributeError: 'NoneType' object has no attribute 'name'

@qgib
Copy link
Contributor Author

qgib commented Dec 9, 2012

Author Name: Giuseppe Sucameli (@brushtyler)


Fixed in changeset "0e1b71c82c8dd8f75c990a3cd4130b82e899b539".


  • 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.0.0 milestone May 24, 2019
@qgib qgib closed this as completed May 24, 2019
JamesShaeffer pushed a commit to JamesShaeffer/QGIS that referenced this issue Nov 20, 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