Take the 2-minute tour ×
Geographic Information Systems Stack Exchange is a question and answer site for cartographers, geographers and GIS professionals. It's 100% free, no registration required.

I always get an error when I try to edit cell values in a raster with the GrassGIS command „d.rast.edit“. The error under Windows XP/GrassGIS 6.4.3 says:

Exception in thread Thread-29:
Traceback (most recent call last):
  File "D:\OSGeo4W\apps\Python27\lib\threading.py", line
552, in __bootstrap_inner
    self.run()
  File "D:\OSGeo4W\apps\grass\grass-6.4.3RC1\etc\wxpython\co
re\gcmd.py", line 538, in run
    os.pathsep + env['PATH']
TypeError: 'NoneType' object is not subscriptable
Traceback (most recent call last):
  File "D:\OSGeo4W\apps\grass\grass-6.4.3RC1\etc\wxpython\gu
i_core\forms.py", line 657, in OnRun

gcmd.Command(cmd)
  File "D:\OSGeo4W\apps\grass\grass-6.4.3RC1\etc\wxpython\co
re\gcmd.py", line 389, in __init__

_("Error: ") + self.__GetError()))
core.gcmd
.
GException
Exception in thread Thread-30:
Traceback (most recent call last):
  File "D:\OSGeo4W\apps\Python27\lib\threading.py", line
552, in __bootstrap_inner
    self.run()
  File "D:\OSGeo4W\apps\grass\grass-6.4.3RC1\etc\wxpython\co
re\gcmd.py", line 538, in run
    os.pathsep + env['PATH']
TypeError: 'NoneType' object is not subscriptable
Traceback (most recent call last):
  File "D:\OSGeo4W\apps\grass\grass-6.4.3RC1\etc\wxpython\gu
i_core\forms.py", line 657, in OnRun

gcmd.Command(cmd)
  File "D:\OSGeo4W\apps\grass\grass-6.4.3RC1\etc\wxpython\co
re\gcmd.py", line 389, in __init__

_("Error: ") + self.__GetError()))
core.gcmd
.
GException

… and under openSUSE 11 SP2/ Grass GIS 6.4.2:

Traceback (most recent call last):
  File "/usr/local/grass-6.4.2/etc/wxpython/gui_modules/menu
form.py", line 662, in OnRun

gcmd.Command(cmd)
  File
"/usr/local/grass-6.4.2/etc/wxpython/gui_modules/gcmd.py",
line 350, in __init__

_("Error: ") + self.__GetError()))
gui_modules.gcmd
.
GException
:
Execution failed: 'd.rast.edit --overwrite --verbose
input=DEM_m_float_polypoi@PERMANENT output=123456'
Details:
Error:
Traceback (most recent call last):
  File "/usr/local/grass-6.4.2/etc/wxpython/gui_modules/menu
form.py", line 662, in OnRun

gcmd.Command(cmd)
  File
"/usr/local/grass-6.4.2/etc/wxpython/gui_modules/gcmd.py",
line 350, in __init__

_("Error: ") + self.__GetError()))
gui_modules.gcmd
.
GException
:
Execution failed: 'd.rast.edit --overwrite --verbose
input=DEM_m_float_polypoi@PERMANENT output=123456'
Details:
Error:

Does anyone have an idea about the reason why I'm getting this error and/or how to avoid it ?

share|improve this question
add comment

1 Answer

I see that you used grass-6.4.3RC1, good (so no need to suggest to you to try it first).

Please report the bug here: http://trac.osgeo.org/grass/

share|improve this answer
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.