Recently we get enormous amount of spam registration. We have closed the registration for new members, sorry...
0 votes
502 views
by
edited by
When using the elevation command appear a phyton code error, that says:

"Traceback (most recent call last):

File "C:/Users/carhuich/.qgis2/python/plugins\rivergis\rivergis_plugin.py", line 56, in run

self.dlg = RiverGIS(self.iface)

File "C:/Users/carhuich/.qgis2/python/plugins\rivergis\rivergis.py", line 145, in __init__

schema_name=self.opts['rdb']['last_schema'])

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

self.rdb = rivdb.RiverDatabase(self, self.database, self.host, self.port, self.user, self.passwd)

File "C:/Users/carhuich/.qgis2/python/plugins\rivergis\river_database.py", line 62, in __init__

self.refresh_uris()

File "C:/Users/carhuich/.qgis2/python/plugins\rivergis\river_database.py", line 273, in refresh_uris

self.rgis.addInfo('Layers sources:\n {0}'.format('\n '.join(self.uris)))

UnicodeEncodeError: 'ascii' codec can't encode character u'\xe1' in position 5: ordinal not in range(128)"

What does it mean?

Best regards,

Carolina.

1 Answer

0 votes
by (300 points)
It seems like some of your vector or raster layers loaded in QGIS view has non-ASCII characters in their names or paths (for example: ę, ą, ż, ź etc.). Please remove non-ASCII characters from your files names, directories names and paths. Then try to run tool again.

if you are not sure what characters are ASCII characters check this table:

http://web.cs.mun.ca/~michael/c/ascii-table.html
by
Thank you for your help.
Another question, is the option to create cross-sections automatically as it does HEC-GeoRAS?
Best regards,
Carolina.
by (3.8k points)
Sorry, there is no such tool in the RiverGIS.
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.

Categories

...