[GRASS-dev] [GRASS GIS] #1791: gui modeler: cannot load file with r.mapcalc expression containing '&&' operator

GRASS GIS trac at osgeo.org
Tue Dec 3 04:44:21 PST 2013


#1791: gui modeler: cannot load file with r.mapcalc expression containing '&&'
operator
-------------------------------+--------------------------------------------
 Reporter:  mlennert           |       Owner:  grass-dev@…              
     Type:  defect             |      Status:  new                      
 Priority:  normal             |   Milestone:  7.0.0                    
Component:  wxGUI              |     Version:  svn-trunk                
 Keywords:  modeler r.mapcalc  |    Platform:  Unspecified              
      Cpu:  Unspecified        |  
-------------------------------+--------------------------------------------
Changes (by mlennert):

  * keywords:  modeler => modeler r.mapcalc
  * version:  unspecified => svn-trunk
  * milestone:  6.4.3 => 7.0.0


Comment:

 This ticket is still valid in grass7

 Only the error message has changed:

 {{{
 Traceback (most recent call last):
   File
 "/data/home/mlennert/SRC/GRASS/grass_trunk/dist.x86_64
 -unknown-linux-gnu/etc/gui/wxpython/gmodeler/frame.py", line
 391, in OnModelOpen

 self.LoadModelFile(filename)
   File
 "/data/home/mlennert/SRC/GRASS/grass_trunk/dist.x86_64
 -unknown-linux-gnu/etc/gui/wxpython/gmodeler/frame.py", line
 821, in LoadModelFile

 (filename, e),
 TypeError
 :
 coercing to Unicode: need string or buffer, ParseError found
 }}}

 Erasing the '&&' in the .gxm file allows to load it, but you then have to
 manually enter it again.

 Moritz

-- 
Ticket URL: <https://trac.osgeo.org/grass/ticket/1791#comment:1>
GRASS GIS <http://grass.osgeo.org>



More information about the grass-dev mailing list