[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 17:01:07 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:7 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?

 That comes from
 [http://trac.osgeo.org/grass/browser/grass/trunk/gui/wxpython/lmgr/frame.py#L906
 here], there are no details, it's ran without any arguments.
 >
 > >
 > {{{
 > ERROR: Required parameter <araster> not set:
 > }}}
 >
 > Can you get any more debug output?
 Will try.

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



More information about the grass-dev mailing list