dtarb / TauDEM

Terrain Analysis Using Digital Elevation Models (TauDEM) software for hydrologic terrain analysis and channel network extraction.
http://hydrology.usu.edu/taudem
Other
231 stars 116 forks source link

Accommodate special characters in path names #58

Open dtarb opened 8 years ago

dtarb commented 8 years ago

A user reported an error due to the following file path C:\Users\Constance Fastré\Desktop\DEM Note accent on the e.

dtarb commented 8 years ago

A user reported the following error. ERROR updateParameters Execution Error: Runtime error Traceback (most recent call last): File "C:\Program Files\TauDEM\TauDEM5Arc\TauDEM Tools.tbx#PitRemove.UpdateParameters.py", line 4, in File "C:\Program Files\TauDEM\TauDEM5Arc\TauDEM Tools.tbx#PitRemove.UpdateParameters.py", line 27, in updateParameters UnicodeEncodeError: 'ascii' codec can't encode characters in position 38-39: ordinal not in range(128)

I responded "As a work around check the names of the files and the folder path being used and if possible remove anything like an accent or other non-simple character, and see if that fixes it."