[GRASS-dev] [GRASS GIS] #1074: $GRASS_BATCH_JOB isn't executed

GRASS GIS trac at osgeo.org
Wed May 19 13:30:35 EDT 2010

#1074: $GRASS_BATCH_JOB isn't executed
 Reporter:  martin   |       Owner:  grass-dev at lists.osgeo.org
     Type:  defect   |      Status:  new                      
 Priority:  normal   |   Milestone:  7.0.0                    
Component:  default  |     Version:  svn-trunk                
 Keywords:           |    Platform:  Linux                    
      Cpu:  x86-64   |  
 GRASS SVN trunk is installed into /opt/GRASS70/ (analogously to the one in
 #491). I've copied a rudimentary $GISDBASE and ~/.grass7/rc from another
 machine which is capable of running a GUI. GRASS_GUI is set to text in the
 rc file.

 hypersphere: 10:15:36 ~> pwd
 hypersphere: 10:15:37 ~> ls -l landcover/grassimport_pg.sh
 -rwxr-xr-x 1 martin users 6590 19. Mai 09:51 landcover/grassimport_pg.sh
 hypersphere: 10:15:40 ~> head -1 landcover/grassimport_pg.sh
 v.in.ogr dsn="PG:host=zuluviz.optiputer.net dbname=landcover user=webuser"
 layer=cstest_agroforest output=cstest_agroforest

 Ok, now:

 hypersphere: 10:15:44 ~> env
 Cleaning up temporary files...
 Starting GRASS GIS...
 Executing '/home/martin/landcover/grassimport_pg.sh' ...
 Welcome to GRASS 7.0.svn (2010)
 [... nothing happens ...]
 hypersphere /home/martin> exit
 Cleaning up temporary files...
 Batch job '/home/martin/landcover/grassimport_pg.sh' (defined in
 GRASS_BATCH_JOB variable) was executed.
 Goodbye from GRASS GIS

 Actually almost everything is fine - just the $GRASS_BATCH_JOB script
 doesn't get executed as promised. When copying script lines into the GRASS
 command prompt, they're being processed nicely.
 Same batch setup worked perfectly with GRASS64 and I didn't encounter any
 differences in the HTML manual pages, therefore I decided to file a bug.

 Cheers, Martin.

Ticket URL: <http://trac.osgeo.org/grass/ticket/1074>
GRASS GIS <http://grass.osgeo.org>

More information about the grass-dev mailing list