[GRASS-windows] Re: fails on first try

Hanowski, Gregory J gregory.j.hanowski at lmco.com
Mon May 18 12:32:36 EDT 2009


Milton,

Thanks for the feedback.  

 

The default directory structure is different than your example.  I found
wish.exe located in two spots...

c:\GRASS-6-SVN\extrabin\wish.exe

c:\GRASS-6-SVN\tcl-tk\bin\wish.exe

 

I found the Init.sh file here:

C:\GRASS-6-SVN\etc\Init.sh

 

I noticed this script in that file:

if [ ! "$GRASS_WISH" ] ; then

   GRASS_WISH=wish

   export GRASS_WISH

fi

 

I modified it to this:

if [ ! "$GRASS_WISH" ] ; then

   #GRASS_WISH=wish

   GRASS_WISH=tcl-tk/bin/wish.exe

   export GRASS_WISH

fi

 

but got the same error.

 

I also tried

if [ ! "$GRASS_WISH" ] ; then

   #GRASS_WISH=wish

   GRASS_WISH="c:\GRASS-6-SVN\tcl-tk\bin\wish.exe"

   export GRASS_WISH

fi

 

using forward slashes and back slashes, but same error.

 

Here is the log.  Maybe somebody can shed some light.  

 

Thank you,

Greg

 

 

Welcome to GRASS 6.4.0svn (2009) 

GRASS homepage:                          http://grass.osgeo.org/

This version running thru:               Bourne Shell (/bin/sh)

Help is available with the command:      g.manual -i

See the licence terms with:              g.version -c

If required, restart the GUI with:       g.gui wxpython

When ready to quit enter:                exit

 

GRASS 6.4.0svn (demolocation):C:/GRASS-6-SVN/msys/home/hanowski > 

WARNING: Digitization tool is disabled (DLL load failed: This
application has fa                                   iled to start
because the application configuration is incorrect. Reinstalling t
he application may fix this problem.). Detailed information in README
file.

Traceback (most recent call last):

  File "c:/GRASS-6-SVN/etc/wxpython/wxgui.py", line 1645, in <module>

    sys.exit(main())

  File "c:/GRASS-6-SVN/etc/wxpython/wxgui.py", line 1638, in main

    app = GMApp(workspaceFile)

  File "c:/GRASS-6-SVN/etc/wxpython/wxgui.py", line 1560, in __init__

    wx.App.__init__(self, False)

  File
"C:\Programs\GIS\OSGeo4W\apps\Python25\lib\site-packages\wx-2.8-msw-unic
o                                   de\wx\_core.py", line 7935, in
__init__

  File
"C:\Programs\GIS\OSGeo4W\apps\Python25\lib\site-packages\wx-2.8-msw-unic
o                                   de\wx\_core.py", line 7509, in
_BootstrapApp

  File "c:/GRASS-6-SVN/etc/wxpython/wxgui.py", line 1576, in OnInit

    workspace = self.workspaceFile)

  File "c:/GRASS-6-SVN/etc/wxpython/wxgui.py", line 178, in __init__

    self.NewDisplay(show=False)

  File "c:/GRASS-6-SVN/etc/wxpython/wxgui.py", line 1214, in NewDisplay

    auimgr=self._auimgr, showMapDisplay=show)

  File "c:\GRASS-6-SVN\etc\wxpython\gui_modules\wxgui_utils.py", line
82, in __i                                   nit__

    self.Map = render.Map()    # instance of render.Map to be associated
with di                                   splay

  File "C:\GRASS-6-SVN\etc\wxpython\gui_modules\render.py", line 402, in
__init_                                   _

    self.projinfo = self.ProjInfo()

  File "C:\GRASS-6-SVN\etc\wxpython\gui_modules\render.py", line 759, in
ProjInf                                   o

    p = gcmd.Command(['g.proj', '-p'])

  File "c:\GRASS-6-SVN\etc\wxpython\gui_modules\gcmd.py", line 358, in
__init__

    _("Error: ") + self.GetError()))

gui_modules.gcmd.CmdError

 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.osgeo.org/pipermail/grass-windows/attachments/20090518/e73e4bf4/attachment.html


More information about the grass-windows mailing list