[GRASS-dev] [GRASS GIS] #2532: TypeError: environment can only contain string when launching script on Windows

GRASS GIS trac at osgeo.org
Thu Jan 15 15:00:26 PST 2015


#2532: TypeError: environment can only contain string when launching script on
Windows
-------------------------+--------------------------------------------------
 Reporter:  annakrat     |       Owner:  grass-dev@…              
     Type:  defect       |      Status:  new                      
 Priority:  normal       |   Milestone:  7.0.0                    
Component:  Default      |     Version:  svn-trunk                
 Keywords:  encoding     |    Platform:  MSWindows 8              
      Cpu:  Unspecified  |  
-------------------------+--------------------------------------------------

Comment(by annakrat):

 Replying to [comment:10 glynn]:
 > Replying to [comment:8 annakrat]:
 >
 > Can you add the following to the script, before the call to
 grass.parser():
  {{{
  import os
  print os.isatty(0)
  }}}

 It gives me False. I will try to see if there is something wrong in the
 gui part.

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



More information about the grass-dev mailing list