[GRASS-dev] Re: [GRASS GIS] #718: r.li forgets mask/illegal filename

GRASS GIS trac at osgeo.org
Sat Dec 24 04:46:32 EST 2011


#718: r.li forgets mask/illegal filename
-----------------------+----------------------------------------------------
 Reporter:  kyngchaos  |       Owner:  grass-dev@…              
     Type:  defect     |      Status:  new                      
 Priority:  major      |   Milestone:  6.4.3                    
Component:  Raster     |     Version:  6.4.2 RCs                
 Keywords:  r.li, smp  |    Platform:  All                      
      Cpu:  All        |  
-----------------------+----------------------------------------------------

Comment(by mmetz):

 Replying to [comment:27 neteler]:
 >
 > On Fedora 16/64bit, I face the strange problem what the workers do not
 fork:
 [snip]
 >
 {{{
 GRASS 7.0.svn (nc_spm_08):~/grass70 > time -p r.li.shannon
 in=lsat7_2002_40 conf=landsat_test out=landsat_shan
 real 0.04
 user 0.00
 sys 0.00

 GRASS 7.0.svn (nc_spm_08):~/grass70 > uname -a
 Linux north.localdomain 3.1.5-6.fc16.x86_64 #1 SMP Thu Dec 15 16:14:44 UTC
 2011 x86_64 x86_64 x86_64 GNU/Linux
 }}}
 >
 > I tried with "ddd" and found in daemon.c, line 85, "parsed" is '\001',
 hence the
 > rest fails.

 parsed is 1 and must be interpreted as a number, not as a char.

 Can not reproduce, for both 6.4 and 7 (r49887), a result is produced. The
 content of the file landsat_shan is
 {{{
 RESULT 1|4.390990
 }}}

 Note the different locations of the output file for 6 and 7.

 Markus M

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



More information about the grass-dev mailing list