erpas / rgis

RiverGIS is a QGIS plugin for creating HEC-RAS flow model geometry from spatial data. The functionality is similar to that of HEC-GeoRAS
http://rivergis.com
49 stars 14 forks source link

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

Open micha-silver opened 6 years ago

micha-silver commented 6 years ago

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?

erpas commented 6 years ago

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 commented 6 years ago
body p { margin-bottom: 0cm; margin-top: 0pt; } 

Great, many thanks!

On 05/04/2018 04:14 PM, Radosław Pasiok
  wrote:

  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.
  —
    You are receiving this because you authored the thread.
    Reply to this email directly, view it on GitHub, or mute the thread.

  {"api_version":"1.0","publisher":{"api_key":"05dde50f1d1a384dd78767c55493e4bb","name":"GitHub"},"entity":{"external_key":"github/erpas/rgis","title":"erpas/rgis","subtitle":"GitHub repository","main_image_url":"https://cloud.githubusercontent.com/assets/143418/17495839/a5054eac-5d88-11e6-95fc-7290892c7bb5.png","avatar_image_url":"https://cloud.githubusercontent.com/assets/143418/15842166/7c72db34-2c0b-11e6-9aed-b52498112777.png","action":{"name":"Open in GitHub","url":"https://github.com/erpas/rgis"}},"updates":{"snippets":[{"icon":"PERSON","message":"@erpas in #34: Hi Micha,\r\n\r\nThere is a new version of the plugin (ver. 3.0) for QGIS 3 in which the problem was solved.\r\nIf that is the option, please consider switching to QGIS 3. "}],"action":{"name":"View Issue","url":"https://github.com/erpas/rgis/issues/34#issuecomment-386597423"}}}

-- 

Micha Silver Arava Drainage Authority cell: +972-523-665918

micha-silver commented 6 years ago

תודה רבה!!!

בתאריך יום ו׳, 4 במאי 2018, 16:59, מאת Micha Silver ‏micha@arava.co.il:

Great, many thanks!

On 05/04/2018 04:14 PM, Radosław Pasiok wrote:

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.

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/erpas/rgis/issues/34#issuecomment-386597423, or mute the thread https://github.com/notifications/unsubscribe-auth/ADqe6HHG5ZRlDCCeEZ-cJR6NA1hLeHN1ks5tvFQhgaJpZM4TkvCZ .

-- Micha Silver Arava Drainage Authority cell: +972-523-665918