Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Python3 'TypeError' when loading Oracle metadata in DB Manager #34774

Closed
raulbbarbosa opened this issue Feb 28, 2020 · 0 comments · Fixed by #34777
Closed

Python3 'TypeError' when loading Oracle metadata in DB Manager #34774

raulbbarbosa opened this issue Feb 28, 2020 · 0 comments · Fixed by #34777
Labels
Bug Either a bug report, or a bug fix. Let's hope for the latter! DB Manager Relating to the DB Manager core plugin

Comments

@raulbbarbosa
Copy link

Error occurs when loading a single Oracle Layer in DB Manager.
Info tab doesn't load properly and a python error is thrown.

Exact error:
TypeError: '>=' not supported between instances of 'NoneType' and 'int'

File/Line: https://github.com/qgis/QGIS/blob/master/python/plugins/db_manager/db_plugins/oracle/info_model.py#L145

QGIS version: 3.4.8 (but last modification of this file was 2 years ago)
Python version: 3.7

Possible duplicate of #32086.
The same error as #25250 but using Oracle (I believe).

@raulbbarbosa raulbbarbosa added the Bug Either a bug report, or a bug fix. Let's hope for the latter! label Feb 28, 2020
@gioman gioman added the DB Manager Relating to the DB Manager core plugin label Feb 28, 2020
raulbbarbosa pushed a commit to raulbbarbosa/QGIS that referenced this issue Feb 28, 2020
rouault pushed a commit that referenced this issue Mar 11, 2020
nyalldawson pushed a commit to nyalldawson/QGIS that referenced this issue Mar 16, 2020
(cherry picked from commit 7fe1742)
nyalldawson pushed a commit that referenced this issue Mar 16, 2020
(cherry picked from commit 7fe1742)
nyalldawson pushed a commit to nyalldawson/QGIS that referenced this issue Mar 17, 2020
(cherry picked from commit 7fe1742)
(cherry picked from commit 2475c81)
nyalldawson pushed a commit that referenced this issue Mar 17, 2020
(cherry picked from commit 7fe1742)
(cherry picked from commit 2475c81)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bug Either a bug report, or a bug fix. Let's hope for the latter! DB Manager Relating to the DB Manager core plugin
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants