[GRASS-dev] [GRASS GIS] #3644: winGRASS7.7.svn: displaying raster causes: TypeError: environment can only contain strings

#3644: winGRASS7.7.svn: displaying raster causes: TypeError: environment can only
contain strings
-------------------------+-------------------------
Reporter: hellik | Owner: grass-dev@…
     Type: defect | Status: new
Priority: normal | Milestone: 7.8.0
Component: Default | Version: svn-trunk
Keywords: | CPU: x86-64
Platform: MSWindows 8 |
-------------------------+-------------------------
{{{
System Info
GRASS version: 7.7.svn
GRASS SVN revision: r73313
Build date: 2018-09-11
Build platform: x86_64-w64-mingw32
GDAL: 2.2.4
PROJ.4: 4.9.3
GEOS: 3.5.0
SQLite: 3.17.0
Python: 2.7.14
wxPython: 2.8.12.1
Platform: Windows-10-10.0.17134 (OSGeo4W)
}}}

loading a raster map to display:

{{{
Exception in thread Thread-14:
Traceback (most recent call last):
   File "C:\OSGEO4~1\apps\Python27\lib\threading.py", line
801, in __bootstrap_inner
     self.run()
   File "C:\OSGEO4~1\apps\grass\grass-7.7.svn\gui\wxpython\co
re\gthread.py", line 99, in run
     ret = vars()['callable'](*args, **kwds)
   File "C:\OSGEO4~1\apps\grass\grass-7.7.svn\gui\wxpython\co
re\render.py", line 405, in _render
     p = grass.start_command(cmd[0], env=env,
stderr=grass.PIPE, **cmd[1])
   File "C:\OSGEO4~1\apps\grass\grass-7.7.svn\etc\python\gras
s\script\core.py", line 402, in start_command
     return Popen(args, **popts)
   File "C:\OSGEO4~1\apps\grass\grass-7.7.svn\etc\python\gras
s\script\core.py", line 76, in __init__
     subprocess.Popen.__init__(self, args, **kwargs)
   File "C:\OSGEO4~1\apps\Python27\lib\subprocess.py", line
390, in __init__
     errread, errwrite)
   File "C:\OSGEO4~1\apps\Python27\lib\subprocess.py", line
640, in _execute_child
     startupinfo)
TypeError: environment can only contain strings
}}}

--
Ticket URL: <https://trac.osgeo.org/grass/ticket/3644&gt;
GRASS GIS <https://grass.osgeo.org>

#3644: winGRASS7.7.svn: displaying raster causes: TypeError: environment can only
contain strings
----------------------+-------------------------
  Reporter: hellik | Owner: grass-dev@…
      Type: defect | Status: new
  Priority: normal | Milestone: 7.8.0
Component: Default | Version: svn-trunk
Resolution: | Keywords: Python3
       CPU: x86-64 | Platform: MSWindows 8
----------------------+-------------------------
Changes (by annakrat):

* keywords: => Python3

--
Ticket URL: <https://trac.osgeo.org/grass/ticket/3644#comment:1&gt;
GRASS GIS <https://grass.osgeo.org>

#3644: winGRASS7.7.svn: displaying raster causes: TypeError: environment can only
contain strings
----------------------+-------------------------
  Reporter: hellik | Owner: grass-dev@…
      Type: defect | Status: new
  Priority: normal | Milestone: 7.8.0
Component: Default | Version: svn-trunk
Resolution: | Keywords: Python3
       CPU: x86-64 | Platform: MSWindows 8
----------------------+-------------------------

Comment (by annakrat):

Try r73326.

--
Ticket URL: <https://trac.osgeo.org/grass/ticket/3644#comment:2&gt;
GRASS GIS <https://grass.osgeo.org>

#3644: winGRASS7.7.svn: displaying raster causes: TypeError: environment can only
contain strings
----------------------+-------------------------
  Reporter: hellik | Owner: grass-dev@…
      Type: defect | Status: new
  Priority: normal | Milestone: 7.8.0
Component: Default | Version: svn-trunk
Resolution: | Keywords: Python3
       CPU: x86-64 | Platform: MSWindows 8
----------------------+-------------------------

Comment (by hellik):

Replying to [comment:2 annakrat]:
> Try r73326.

tested with

{{{
GRASS version: 7.7.svn
GRASS SVN revision: r73329
Build date: 2018-09-15
Build platform: x86_64-w64-mingw32
GDAL: 2.2.4
PROJ.4: 4.9.3
GEOS: 3.5.0
SQLite: 3.17.0
Python: 2.7.14
wxPython: 2.8.12.1
Platform: Windows-10-10.0.17134 (OSGeo4W)
}}}

works again, thanks. closing ticket.

--
Ticket URL: <https://trac.osgeo.org/grass/ticket/3644#comment:3&gt;
GRASS GIS <https://grass.osgeo.org>

#3644: winGRASS7.7.svn: displaying raster causes: TypeError: environment can only
contain strings
----------------------+-------------------------
  Reporter: hellik | Owner: grass-dev@…
      Type: defect | Status: closed
  Priority: normal | Milestone: 7.8.0
Component: Default | Version: svn-trunk
Resolution: fixed | Keywords: Python3
       CPU: x86-64 | Platform: MSWindows 8
----------------------+-------------------------
Changes (by hellik):

* status: new => closed
* resolution: => fixed

--
Ticket URL: <https://trac.osgeo.org/grass/ticket/3644#comment:4&gt;
GRASS GIS <https://grass.osgeo.org>