Bug report #22031

v.clean UnicodeDecodeError when special character (German Umlaute) in path

Added by Wolfgang Meinolf almost 5 years ago. Updated almost 5 years ago.

Status:Feedback
Priority:High
Assignee:-
Category:Processing/GRASS
Affected QGIS version:3.6.2 Regression?:No
Operating System:Windows 7 SP1 Easy fix?:No
Pull Request or Patch supplied:No Resolution:
Crashes QGIS or corrupts data:No Copied to github as #:29845

Description

v.clean stops processing with following error statement:
-----
Traceback (most recent call last):
File "C:/OSGEO4~1/apps/qgis/./python/plugins\processing\algs\grass7\Grass7Algorithm.py", line 427, in processAlgorithm
Grass7Utils.executeGrass(self.commands, feedback, self.outputCommands)
File "C:/OSGEO4~1/apps/qgis/./python/plugins\processing\algs\grass7\Grass7Utils.py", line 393, in executeGrass
for line in iter(proc.stdout.readline, ''):
File "C:\OSGEO4~1\apps\Python37\lib\encodings\cp1252.py", line 23, in decode
return codecs.charmap_decode(input,self.errors,decoding_table)[0]
UnicodeDecodeError: 'charmap' codec can't decode byte 0x81 in position 179: character maps to <undefined>
-----
Path to .qgz and .gpkg files contains the word Thüringen(C:\User\.........\Work\Thüringen\1905...). Once, the path name is changed to Thueringen C:\User.........\Work\Thueringen\190508 Neue Analysegebiete, no error occurrs.

History

#1 Updated by Giovanni Manghi almost 5 years ago

  • Status changed from Open to Feedback

Duplicate of #21897 ?

Also available in: Atom PDF