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

GRASS GIS trac at osgeo.org
Mon Jan 12 16:25:44 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 glynn):

 Replying to [comment:5 annakrat]:
 > However, I failed to run the script when the name contained non-ascii
 characters present in cp1252 (á). I don't get any error, but in gui
 console I get:
 >
 {{{
 Launching script 'C:\Users\akratoc\Desktop\test_workshopá.py'...
 }}}
 Is the "..." literal? I.e. does the GUI omit the arguments, or does it
 include details which have been omitted from the ticket?

 >
 {{{
 ERROR: Required parameter <araster> not set:
 }}}

 Can you get any more debug output?

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



More information about the grass-dev mailing list