Bug report #20608
r.viewshed fails in Windows due to unicode
Status: | Closed | ||
---|---|---|---|
Priority: | High | ||
Assignee: | - | ||
Category: | Processing/GRASS | ||
Affected QGIS version: | 3.4.0 | Regression?: | Yes |
Operating System: | Windows | Easy fix?: | No |
Pull Request or Patch supplied: | No | Resolution: | duplicate |
Crashes QGIS or corrupts data: | No | Copied to github as #: | 28428 |
Description
r.viewshed works fine in Linux while in Windows it is giving an error related to unicode, this the stacktrace:
Traceback (most recent call last): File "C:/PROGRA~1/QGIS3~1.4/apps/qgis/./python/plugins\processing\algs\grass7\Grass7Algorithm.py", line 411, in processAlgorithm Grass7Utils.executeGrass(self.commands, feedback, self.outputCommands) File "C:/PROGRA~1/QGIS3~1.4/apps/qgis/./python/plugins\processing\algs\grass7\Grass7Utils.py", line 372, in executeGrass for line in iter(proc.stdout.readline, ''): File "C:\PROGRA~1\QGIS3~1.4\apps\Python37\lib\codecs.py", line 322, in decode (result, consumed) = self._buffer_decode(data, self.errors, final) UnicodeDecodeError: 'utf-8' codec can't decode byte 0xe8 in position 50: invalid continuation byte
tested with the same data in bot platform also on different computers
Related issues
History
#1 Updated by Giovanni Manghi almost 6 years ago
- Resolution set to duplicate
- Status changed from Open to Closed
#2 Updated by Jürgen Fischer almost 6 years ago
- Duplicates Bug report #20244: Processing/GRASS do not work if Windows regional settings are not set to EN added