#2451: rendering vector in map display freezes when fonts is changed in GUI
options: map display
-------------------------+--------------------------------------------------
Reporter: hellik | Owner: grass-dev@…
Type: defect | Status: new
Priority: normal | Milestone: 7.0.0
Component: Display | Version: svn-trunk
Keywords: fonts | Platform: MSWindows 7
Cpu: Unspecified |
-------------------------+--------------------------------------------------
error message:
{{{
Traceback (most recent call last):
File "C:\OSGeo4W\apps\grass\grass-7.1.svn\gui\wxpython\gui
_core\forms.py", line 687, in OnApply
self)
File "C:\OSGeo4W\apps\grass\grass-7.1.svn\gui\wxpython\lmg
r\layertree.py", line 1649, in GetOptData
render = False)
File "C:\OSGeo4W\apps\grass\grass-7.1.svn\gui\wxpython\map
win\buffered.py", line 1796, in ZoomToMap
update=True)
File "C:\OSGeo4W\apps\grass\grass-7.1.svn\gui\wxpython\cor
e\render.py", line 657, in GetRegion
**cmd)
File "C:\OSGeo4W\apps\grass\grass-7.1.svn\gui\wxpython\cor
e\gcmd.py", line 695, in RunCommand
ps = grass.start_command(prog, flags, overwrite, quiet,
verbose, **kwargs)
File "C:\OSGeo4W\apps\grass\grass-7.1.svn\etc\python\grass
\script\core.py", line 342, in start_command
return Popen(args, **popts)
File "C:\OSGeo4W\apps\grass\grass-7.1.svn\etc\python\grass
\script\core.py", line 62, in __init__
subprocess.Popen.__init__(self, args, **kwargs)
File "C:\OSGeo4W\apps\Python27\lib\subprocess.py", line
711, in __init__
errread, errwrite)
File "C:\OSGeo4W\apps\Python27\lib\subprocess.py", line
948, in _execute_child
startupinfo)
TypeError
:
environment can only contain strings
Traceback (most recent call last):
File "C:\OSGeo4W\apps\grass\grass-7.1.svn\gui\wxpython\lmg
r\layertree.py", line 351, in OnIdle
self.mapdisplay.GetMapWindow().UpdateMap(render=True)
File "C:\OSGeo4W\apps\grass\grass-7.1.svn\gui\wxpython\map
win\buffered.py", line 753, in UpdateMap
self._runUpdateMap()
File "C:\OSGeo4W\apps\grass\grass-7.1.svn\gui\wxpython\map
win\buffered.py", line 782, in _runUpdateMap
self._updateM(self.render, self.renderVector)
File "C:\OSGeo4W\apps\grass\grass-7.1.svn\gui\wxpython\map
win\buffered.py", line 817, in _updateM
windres = windres)
File "C:\OSGeo4W\apps\grass\grass-7.1.svn\gui\wxpython\cor
e\render.py", line 947, in Render
maps, masks, opacities =
self.GetMapsMasksAndOpacities(force, windres, env)
File "C:\OSGeo4W\apps\grass\grass-7.1.svn\gui\wxpython\cor
e\render.py", line 918, in GetMapsMasksAndOpacities
return self._renderLayers(force=force, env=env)
File "C:\OSGeo4W\apps\grass\grass-7.1.svn\gui\wxpython\cor
e\render.py", line 890, in _renderLayers
if not layer.Render():
File "C:\OSGeo4W\apps\grass\grass-7.1.svn\gui\wxpython\cor
e\render.py", line 165, in Render
ret, msg = self._runCommand(self.cmd)
File "C:\OSGeo4W\apps\grass\grass-7.1.svn\gui\wxpython\cor
e\render.py", line 196, in _runCommand
**cmd[1])
File "C:\OSGeo4W\apps\grass\grass-7.1.svn\gui\wxpython\cor
e\gcmd.py", line 695, in RunCommand
ps = grass.start_command(prog, flags, overwrite, quiet,
verbose, **kwargs)
File "C:\OSGeo4W\apps\grass\grass-7.1.svn\etc\python\grass
\script\core.py", line 342, in start_command
return Popen(args, **popts)
File "C:\OSGeo4W\apps\grass\grass-7.1.svn\etc\python\grass
\script\core.py", line 62, in __init__
subprocess.Popen.__init__(self, args, **kwargs)
File "C:\OSGeo4W\apps\Python27\lib\subprocess.py", line
711, in __init__
errread, errwrite)
File "C:\OSGeo4W\apps\Python27\lib\subprocess.py", line
948, in _execute_child
startupinfo)
TypeError
:
environment can only contain strings
}}}
--
Ticket URL: <http://trac.osgeo.org/grass/ticket/2451>
GRASS GIS <http://grass.osgeo.org>