Problem with RiverGIS DB Connection

0 votes
191 views
asked Feb 23 by Caleb

I have a problem very similar to the one here: http://q2a.rivergis.com/81/problem-with-db-connection However, there is no solution to the problem in that question. I have used pgAdmin to set up a database with PostGIS spatial extensions. I can connect to my databases with DB Manager and see all my schemas. However, I cannot connect to these databases in RiverGIS. All databases that I would like to use show up in the "DB Connection" drop-down, but after selecting one of them, no schema show up. Additionally, a python error is triggered, which I have included below. When I click the blank default schema, I am able to ask RiverGIS to refresh the connections list. However, RiverGIS then prints that it is unable to disconnect from the previous database because there is no opened connection. The previous user said that they discovered that the problem was a conflict in the name of the connection- what exactly do I need to change?

Thank you!

1 Traceback (most recent call last):

File "C:/Users/Caleb/.qgis2/python/plugins\rivergis\rivergis.py", line 268, in connChanged

self.rdb.connect_pg()

File "C:/Users/Caleb/.qgis2/python/plugins\rivergis\river_database.py", line 81, in connect_pg

self.rgis.addInfo(msg)

File "C:/Users/Caleb/.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'

1 Answer

0 votes
answered Apr 9 by rpasiok (3,601 points)
selected May 3 by DamnBack
 
Best answer
See the answer for the mentioned other question: http://q2a.rivergis.com/81/problem-with-db-connection
Welcome to RiverGIS Q&A, where you can ask questions and receive answers from other members of the community.

Visit rivergis.com for documentation and general info about the QGIS plugin.
...