You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Author Name: Richard Duivenvoorde (@rduivenvoorde)
Original Redmine Issue: 10610
Affected QGIS version: 2.2.0
Redmine category:pyqgis_console
Recently on a fresh QGIS build (both master and 2.2) I cannot open the Python Console anymore.
Traceback (most recent call last):
File "", line 2, in
File "/home/richard/apps/qgis/master/debug/share/qgis/python/console/console.py", line 43, in show_console
_console = PythonConsole( parent )
File "/home/richard/apps/qgis/master/debug/share/qgis/python/console/console.py", line 75, in __init__
self.console = PythonConsoleWidget(self)
File "/home/richard/apps/qgis/master/debug/share/qgis/python/console/console.py", line 99, in __init__
self.options = optionsDialog(self)
File "/home/richard/apps/qgis/master/debug/share/qgis/python/console/console_settings.py", line 33, in __init__
self.setupUi(self)
File "/home/richard/apps/qgis/master/debug/share/qgis/python/console/ui_console_settings.py", line 543, in setupUi
self.retranslateUi(SettingsDialogPythonConsole)
File "/home/richard/apps/qgis/master/debug/share/qgis/python/console/ui_console_settings.py", line 552, in retranslateUi
item.setText(_translate("SettingsDialogPythonConsole", "APIs", None))
AttributeError: 'NoneType' object has no attribute 'setText'
After some investigation it looked like the only difference is the (by pyqt4) generated 'ui_console_settings.py' file.
This file is generated from attached 'console_settings.ui' which hasn't changed for some time (at least not between 2.2 and master).
looks like an error from pyqt4, as 4.11 generated two lines self.tableWidget.setRowCount(0) where one of them should have been self.tableWidget.setColumnCount(2)
Author Name: Richard Duivenvoorde (@rduivenvoorde)
Original Redmine Issue: 10610
Affected QGIS version: 2.2.0
Redmine category:pyqgis_console
Recently on a fresh QGIS build (both master and 2.2) I cannot open the Python Console anymore.
After some investigation it looked like the only difference is the (by pyqt4) generated 'ui_console_settings.py' file.
This file is generated from attached 'console_settings.ui' which hasn't changed for some time (at least not between 2.2 and master).
Only difference seems
looks like an error from pyqt4, as 4.11 generated two lines self.tableWidget.setRowCount(0) where one of them should have been self.tableWidget.setColumnCount(2)
attached also the different .py files:
The text was updated successfully, but these errors were encountered: