[Qgis-developer] Table Manager problem (QObject.setProperty invalid
type)
Ivan Mincik
ivan.mincik at gmail.com
Sun Sep 12 17:26:16 EDT 2010
Hi,
when trying to run QGIS Table Manager on Debian Lenny (Qt 4.4.3) it is
crashing with following error:
Traceback (most recent call last):
File "/home/ivo/.qgis/python/plugins/tablemanager/tableManager_plugin.py",
line 62, in run
dialoga = tableManager_gui.TableManager(self.iface)
File "/home/ivo/.qgis/python/plugins/tablemanager/tableManager_gui.py",
line 146, in __init__
self.setupUi(self)
File "/home/ivo/.qgis/python/plugins/tablemanager/tableManagerUi.py",
line 31, in setupUi
self.progressBar.setProperty("value", 0)
TypeError: argument 2 of QObject.setProperty() has an invalid type
Changing line 31 to 'self.progressBar.setProperty("value",
QtCore.QVariant(0))' is fixing the problem.
File 'tableManagerUi.py' is generated, so I have no idea what to
change in 'ui' file to get it working correctly with older Qt
versions.
Ivan
More information about the Qgis-developer
mailing list