[GRASS-dev] [GRASS GIS] #1015: WinGrass7: starting grass by grass70.py fails

GRASS GIS trac at osgeo.org
Fri Mar 19 11:27:51 EDT 2010


#1015: WinGrass7: starting grass by grass70.py fails
--------------------------------------+-------------------------------------
 Reporter:  hellik                    |       Owner:  grass-dev at lists.osgeo.org
     Type:  defect                    |      Status:  new                      
 Priority:  normal                    |   Milestone:  7.0.0                    
Component:  wxGUI                     |     Version:  svn-trunk                
 Keywords:  wingrass, wx-gui, python  |    Platform:  MSWindows Vista          
      Cpu:  x86-32                    |  
--------------------------------------+-------------------------------------
 from the dev-ml:


 {{{
 > grass7 (r41470) self compiled in the osgeo4w-stack
 >
 > the osgeo4w-python is Python 2.5.2
 >
 > opened the osgeo4w-command-line and typed in:
 >
 > python grass70.py
 >
 > the starting wx-window of grass is opening and I'm able to choose the
 location and mapset,
 > but then following error message comes up:
 >
 > "Traceback (most recent call last):
 >
 > File "grass70.py", line 921, in <module>
 >    check_shell()
 > File "grass70.py", line 550, in check_shell
 >  sh = os.path.basename(os.getenv('SHELL'))
 > File "C:\OSGeo4W\apps\Python25\lib\ntpath.py", line 200, in basename
 >   return split(p)[1]
 > File "C:\OSGeo4W\apps\Python25\lib\ntpath.py", line 164, in split
 >   d, p = splitdrive(p)
 > File "C:\OSGeo4W\apps\Python25\lib\ntpath.py", line 119, in splitdrive
 >   if p[1:2] == ':':
 > TypeError: 'NoneType' objects is unsubscriptable

 Try r41475.
 --
 Glynn Clements <glynn at gclements.plus.com>

 }}}

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


More information about the grass-dev mailing list