[GRASS-dev] [GRASS GIS] #4017: run addon failed > name 'unicode' is not defined
GRASS GIS
trac at osgeo.org
Sun Jan 12 03:04:19 PST 2020
#4017: run addon failed > name 'unicode' is not defined
---------------------+---------------------------------
Reporter: 1266 | Owner: grass-dev@…
Type: defect | Status: new
Priority: normal | Milestone: 7.8.3
Component: wxGUI | Version: git-releasebranch78
Resolution: | Keywords: python3
CPU: x86-64 | Platform: Linux
---------------------+---------------------------------
Comment (by marisn):
This seems to be a self compiled GRASS install. Please provide a full path
to GRASS source directory. My guess — the path to GRASS source contains a
non-ascii char (username?) and it is written into the header of gis.py as
a comment.
Injecting # -*- coding:UTF-8 -*- by ctypesgen could be a good solution for
the issue. Second option would be to strip header comment block
completely.
--
Ticket URL: <https://trac.osgeo.org/grass/ticket/4017#comment:2>
GRASS GIS <https://grass.osgeo.org>
More information about the grass-dev
mailing list