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

Helmut Kudrnovsky hellik at web.de
Thu Mar 18 20:59:27 EDT 2010


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

best regards
Helmut
___________________________________________________________
WEB.DE DSL: Internet, Telefon und Entertainment für nur 19,99 EUR/mtl.!
http://produkte.web.de/go/02/
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 1747 bytes
Desc: S/MIME Cryptographic Signature
Url : http://lists.osgeo.org/pipermail/grass-dev/attachments/20100319/e0a363db/smime.bin


More information about the grass-dev mailing list