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

Problems with table manager and postgis tables #12505

Closed
qgib opened this issue Feb 16, 2010 · 4 comments
Closed

Problems with table manager and postgis tables #12505

qgib opened this issue Feb 16, 2010 · 4 comments
Labels
Bug Either a bug report, or a bug fix. Let's hope for the latter! Plugins
Milestone

Comments

@qgib
Copy link
Contributor

qgib commented Feb 16, 2010

Author Name: bjpfei - (bjpfei -)
Original Redmine Issue: 2445

Redmine category:python_plugins
Assignee: Borys Jurgiel


It seems that the table manager doesn't work with postgis tables that don't have the geometry column as last column.

1.) Try a shapefile => Table Manger works

2.) Try a postgis Table with geometry column as last column => Table manager works

3.) try a postgis table with geometry column not as last column => you get an python error

Traceback (most recent call last):
  File "/home/bjsvwpfe/.qgis//python/plugins/tablemanager/tableManager_plugin.py", line 63, in run
    dialoga = tableManager_gui.TableManager(self.iface)
  File "/home/bjsvwpfe/.qgis//python/plugins/tablemanager/tableManager_gui.py", line 173, in +init+
    self.drawFieldsTable()
  File "/home/bjsvwpfe/.qgis//python/plugins/tablemanager/tableManager_gui.py", line 183, in drawFieldsTable
    item = QTableWidgetItem(fields[i].name())
[[KeyError]]: 82

thx

@qgib
Copy link
Contributor Author

qgib commented Feb 16, 2010

Author Name: Giovanni Manghi (@gioman)


meanwhile you can use the "postgis manager" plugin.

@qgib
Copy link
Contributor Author

qgib commented Feb 16, 2010

Author Name: bjpfei - (bjpfei -)


me yes but not our users.
It's not that good if they edit the tables directly on the database ;-)

@qgib
Copy link
Contributor Author

qgib commented Jun 12, 2010

Author Name: Paolo Cavallini (@pcav)


Why not? If they got permission to do it, they're assumed safe

@qgib
Copy link
Contributor Author

qgib commented Jun 17, 2010

Author Name: Borys Jurgiel (@borysiasty)


fixed in v 0.1.11


  • resolution was configured as fixed
  • 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! Plugins labels May 24, 2019
@qgib qgib added this to the Version 1.6.0 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! Plugins
Projects
None yet
Development

No branches or pull requests

1 participant