[QGIS-trac] [Quantum GIS] #1762: Table Manaher: gives an error if
the postgis table structure have been modified
Quantum GIS
qgis at qgis.org
Sun Jul 5 21:08:22 EDT 2009
#1762: Table Manaher: gives an error if the postgis table structure have been
modified
------------------------------------------------+---------------------------
Reporter: lutra | Owner: borysiasty
Type: bug | Status: new
Priority: major: does not work as expected | Milestone: Version 1.2.0
Component: Plugins | Version: HEAD
Keywords: | Platform_version:
Platform: Debian | Must_fix: Yes
Status_info: 0 |
------------------------------------------------+---------------------------
When I modify the table structure of a postgis layer, adding a column
trough the Postgis Manager or with the "properties -> attributes" dialog,
then when the Table Manager is clicked it gives
--------------------
An error has occured while executing Python code:
Traceback (most recent call last):
File
"/home/gio/.qgis//python/plugins/tablemanager/tableManager_plugin.py",
line 63, in run
dialoga = tableManager_gui.TableManager(self.iface)
File
"/home/gio/.qgis//python/plugins/tablemanager/tableManager_gui.py", line
174, in __init__
self.drawFieldsTable()
File
"/home/gio/.qgis//python/plugins/tablemanager/tableManager_gui.py", line
184, in drawFieldsTable
item = QTableWidgetItem(fields[i].name())
KeyError: 8
Python version:
2.6.2 (release26-maint, Apr 19 2009, 02:11:59)
[GCC 4.3.3]
Python path:['/usr/local/share/qgis/python',
'/home/gio/.qgis//python/plugins',
'/usr/local/share/qgis/python/plugins', '/usr/lib/python2.6',
'/usr/lib/python2.6/plat-linux2', '/usr/lib/python2.6/lib-tk',
'/usr/lib/python2.6/lib-old', '/usr/lib/python2.6/lib-dynload',
'/usr/lib/python2.6/dist-packages',
'/usr/lib/python2.6/dist-packages/PIL',
'/usr/lib/python2.6/dist-packages/gst-0.10',
'/var/lib/python-support/python2.6',
'/usr/lib/python2.6/dist-packages/gtk-2.0',
'/var/lib/python-support/python2.6/gtk-2.0',
'/usr/lib/python2.6/dist-packages/wx-2.8-gtk2-unicode',
'/usr/local/lib/python2.6/dist-packages',
'/usr/local/share/qgis/python/plugins/fTools/tools']
--------------------
Qgis 1.2 rev. 11023 on Ubuntu 9.04
--
Ticket URL: <https://trac.osgeo.org/qgis/ticket/1762>
Quantum GIS <http://qgis.org>
Quantum GIS is an Open Source GIS viewer/editor supporting OGR, PostGIS, and GRASS formats
More information about the QGIS-trac
mailing list