Bug report #16533
python error on DB manager on QGIS master (qgis 3)
Status: | Closed | ||
---|---|---|---|
Priority: | High | ||
Assignee: | - | ||
Category: | DB Manager | ||
Affected QGIS version: | master | Regression?: | Yes |
Operating System: | Easy fix?: | No | |
Pull Request or Patch supplied: | No | Resolution: | |
Crashes QGIS or corrupts data: | No | Copied to github as #: | 24439 |
Description
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'
browse your schemas, try preview tables or view tables infos.
Associated revisions
History
#1 Updated by Jürgen Fischer about 7 years ago
- Description updated (diff)
- Subject changed from python error on DB manger on QGIS master (qgis 3) to python error on DB manager on QGIS master (qgis 3)
#2 Updated by Salvatore Larosa almost 7 years ago
- % Done changed from 0 to 100
- Status changed from Open to Closed
Applied in changeset qgis|f1c3692f6adfe8316c2ade7508f28fbe26407286.