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

RiverGIS: Connection to database failing with newer QGIS >= 2.18.17 #34

Open
micha-silver opened this issue Apr 26, 2018 · 3 comments
Open

Comments

@micha-silver
Copy link

micha-silver commented Apr 26, 2018

I have a few projects using the RiverGIS plugin. Now, with the latest 2.18.19 version of QGIS, the plugin has stopped working. The plugin loads, but as soon as I choose a database I get this error:

2018-04-26T11:14:19 1 Traceback (most recent call last):
File "C:/Users/micha/.qgis2/python/plugins\rivergis\rivergis.py", line 268, in connChanged
self.rdb.connect_pg()
File "C:/Users/micha/.qgis2/python/plugins\rivergis\river_database.py", line 81, in connect_pg
self.rgis.addInfo(msg)
File "C:/Users/micha/.qgis2/python/plugins\rivergis\rivergis.py", line 195, in addInfo
self.ui.textEdit.append(text)
TypeError: QTextEdit.append(QString): argument 1 has unexpected type 'OperationalError'

The database connection in QGIS is established, and I can see/edit the layers. Only the plugin is failing. Any suggestions?

@micha-silver micha-silver changed the title Connection to database failing with newer QGIS >= 2.18.17 RiverGIS: Connection to database failing with newer QGIS >= 2.18.17 Apr 26, 2018
@erpas
Copy link
Owner

erpas commented May 4, 2018

Hi Micha,

There is a new version of the plugin (ver. 3.0) for QGIS 3 in which the problem was solved.
If that is the option, please consider switching to QGIS 3.

@micha-silver
Copy link
Author

micha-silver commented May 4, 2018 via email

@micha-silver
Copy link
Author

micha-silver commented May 4, 2018 via email

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants