[GRASS-dev] Re: [GRASS GIS] #1556: wingrass - g.message in a python-script - no output

GRASS GIS trac at osgeo.org
Mon Jan 30 02:53:53 EST 2012


#1556: wingrass - g.message in a python-script - no output
---------------------------------------------------+------------------------
 Reporter:  hellik                                 |       Owner:  grass-dev@…              
     Type:  defect                                 |      Status:  new                      
 Priority:  normal                                 |   Milestone:  6.4.2                    
Component:  Python                                 |     Version:  svn-releasebranch64      
 Keywords:  wingrass, python, script, g.message()  |    Platform:  MSWindows Vista          
      Cpu:  x86-32                                 |  
---------------------------------------------------+------------------------

Comment(by madi):

 Hi,

 Additional info:
 In the same python script (r.basin),

 {{{
 grass.message( "##################################" )
 grass.message( "Morphometric parameters of basin :" )
 grass.message( "##################################\n" )
 grass.message( "Easting Centroid of basin : %s " % basin_east )
 grass.message( "Northing Centroid of Basin : %s " % basin_north )
 grass.message( "Rectangle containing basin N-W : %s , %s " % nw )
 grass.message( "Rectangle containing basin S-E : %s , %s " % se )
 grass.message( "Area of basin [km^2] : %s " % area_basin )
 }}}

 etc. work normally. So, could the problem be related to the length of the
 variable to print out?

 Regards,
 madi

-- 
Ticket URL: <http://trac.osgeo.org/grass/ticket/1556#comment:4>
GRASS GIS <http://grass.osgeo.org>



More information about the grass-dev mailing list