User Forum of Software BASEMENT

BASEMENT
Basic Simulation Environment for computation of environmental flow and natural hazard simulation
Laboratory of Hydraulics, Hydrology and Glaciology (VAW)
ETH Zurich
Basement_Logo

You are not logged in.

#1 2015-08-20 15:49:32

zinsi
User
Registered: 2015-08-20
Posts: 1

Problem with BASEmesh, Python error, Traceback

Hi

If I try to generate an elevation mesh in QGIS 2.8.3 with the BASEmesh v1.3, I get the following error:


Traceback (most recent call last):
  File "C:/Users/WAB/.qgis2/python/plugins\BASEmesh\elevation\elevation_dialog.py", line 148, in accept
    elevationLayer = commonFunctions.readSelection (self.elevationComboBox)
  File "C:/Users/WAB/.qgis2/python/plugins\BASEmesh\tools\commonFunctions.py", line 72, in readSelection
    if layer.name() == str(boxname.currentText() ):
UnicodeEncodeError: 'ascii' codec can't encode character u'\xe4' in position 3: ordinal not in range(128)



How can I solve this problem?

Thanks for helping!

Offline

#2 2015-08-24 08:30:10

Stephan Kammerer
Developer
Registered: 2015-03-31
Posts: 67

Re: Problem with BASEmesh, Python error, Traceback

Hi,

this problem is related to the naming of your project folders and/or the layers you use in QGIS and points out that python can't deal with the German 'Umlaut ä'. Never use characters like 'ä,ö or ü' in the naming of folders and shapefiles!

Regards,
Stephan

Offline

Board footer

Powered by FluxBB