Opened 15 years ago
Closed 12 years ago
#1015 closed defect (fixed)
WinGrass7: starting grass by grass70.py fails
Reported by: | hellik | Owned by: | |
---|---|---|---|
Priority: | normal | Milestone: | 7.0.0 |
Component: | Default | Version: | svn-trunk |
Keywords: | wingrass, python | Cc: | |
CPU: | x86-32 | Platform: | MSWindows Vista |
Description
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>
Change History (5)
follow-up: 2 comment:1 by , 15 years ago
follow-up: 3 comment:2 by , 15 years ago
Component: | wxGUI → default |
---|---|
Keywords: | wx-gui removed |
comment:3 by , 15 years ago
Replying to glynn:
Replying to hellik:
Try r41475.
trying r41475 i get one step further, layer manager and map display are starting.
but adding a raster
This is a different issue. Please open a separate bug report for it.
so with r41475 starting grass by grass70.py in the (osgeo4w)-windows-commandline is working.
I'll open another ticket for the second issue.
Helmut
Note:
See TracTickets
for help on using tickets.
Replying to hellik:
trying r41475 i get one step further, layer manager and map display are starting.
but adding a raster
or vector