qgis / QGIS

QGIS is a free, open source, cross platform (lin/win/mac) geographical information system (GIS)
https://qgis.org
GNU General Public License v2.0
10.54k stars 2.99k forks source link

Missing CP949 (Korean) encoding at GRASS processing #29712

Open qgib opened 5 years ago

qgib commented 5 years ago

Author Name: lee juno (lee juno) Original Redmine Issue: 21897 Affected QGIS version: 3.4.3 Redmine category:processing/grass


Traceback (most recent call last): File "C:/PROGRA~1/QGIS3~1.4/apps/qgis-ltr/./python/plugins\processing\algs\grass7\Grass7Algorithm.py", line 423, in processAlgorithm Grass7Utils.executeGrass(self.commands, feedback, self.outputCommands) File "C:/PROGRA~1/QGIS3~1.4/apps/qgis-ltr/./python/plugins\processing\algs\grass7\Grass7Utils.py", line 393, in executeGrass for line in iter(proc.stdout.readline, ''): UnicodeDecodeError: 'cp949' codec can't decode byte 0xbc in position 11: illegal multibyte sequence

I found that there is no CP949 encoding at [GRASS processing toolbox] menu at Ver3.x

I think it looks like 'Bug report #28657' same problem.


qgib commented 5 years ago

Author Name: Giovanni Manghi (@gioman)


FourwingsY commented 5 years ago

I found that is GRASS feedback code. GRASS opens subprocess for catching and feedback to the plugin developers-maybe-. when running GRASS, it outputs localized korean traslation on stdout with UTF-8 and read it with CP949: decode error!

leafofcactus commented 1 year ago

Hello. I have same problem in QGIS 3.22.3 (GRASS GIS 7.8.6) when using r.reclass even if I changed all directory to English and removed spaces. How can I treat with this problem?