Opened 14 years ago
Closed 14 years ago
#2445 closed bug (fixed)
Problems with table manager and postgis tables
Reported by: | bjpfei | Owned by: | borysiasty |
---|---|---|---|
Priority: | major: does not work as expected | Milestone: | Version 1.6.0 |
Component: | Python plugins and bindings | Version: | Trunk |
Keywords: | Cc: | ||
Must Fix for Release: | Yes | Platform: | All |
Platform Version: | Awaiting user input: | no |
Description
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
Change History (4)
comment:1 by , 14 years ago
Priority: | critical: causes crash or data corruption → major: does not work as expected |
---|
comment:2 by , 14 years ago
me yes but not our users. It's not that good if they edit the tables directly on the database ;-)
comment:3 by , 14 years ago
Milestone: | Version 1.5.0 → Version 1.6.0 |
---|
Why not? If they got permission to do it, they're assumed safe
Note:
See TracTickets
for help on using tickets.
meanwhile you can use the "postgis manager" plugin.