Bug report #16533

Updated by Jürgen Fischer about 7 years ago

<pre>
TypeError: '>=' not supported between instances of 'NoneType' and 'int'
Traceback (most recent call last):
File "C:/OSGEO4~1/apps/qgis-dev/./python/plugins\db_manager\db_manager.py", line 92, in itemChanged
self.refreshTabs()
File "C:/OSGEO4~1/apps/qgis-dev/./python/plugins\db_manager\db_manager.py", line 141, in refreshTabs
self.info.showInfo(item)
File "C:/OSGEO4~1/apps/qgis-dev/./python/plugins\db_manager\info_viewer.py", line 76, in showInfo
self._showTableInfo(item)
File "C:/OSGEO4~1/apps/qgis-dev/./python/plugins\db_manager\info_viewer.py", line 135, in _showTableInfo
html += table.info().toHtml()
File "C:/OSGEO4~1/apps/qgis-dev/./python/plugins\db_manager\db_plugins\info_model.py", line 361, in toHtml
ret = self.getTableInfo()
File "C:/OSGEO4~1/apps/qgis-dev/./python/plugins\db_manager\db_plugins\postgis\info_model.py", line 230, in getTableInfo
ret = TableInfo.getTableInfo(self)
File "C:/OSGEO4~1/apps/qgis-dev/./python/plugins\db_manager\db_plugins\info_model.py", line 296, in getTableInfo
general_info = self.generalInfo()
File "C:/OSGEO4~1/apps/qgis-dev/./python/plugins\db_manager\db_plugins\postgis\info_model.py", line 87, in generalInfo
if self.table.rowCount is not None or self.table.rowCount >= 0:
TypeError: '>=' not supported between instances of 'NoneType' and 'int'
</pre>



browse your schemas, try preview tables or view tables infos.

Back