fails on first try

5 messages Options
Embed this post
Permalink
Hanowski, Gregory J

fails on first try

Reply Threaded More More options
Print post
Permalink
Some javascript/style in this post has been disabled (why?)

Hello GRASS gurus,

 

Just discovered GRASS and downloaded 6.4 windows version.  Installed and included Spearfish sample database.  Clicked the GRASS6-SVN icon.  GRASS welcome screen shows.  I select project Spearfish60 and mapset PERMANENT, then click Start GRASS.

 

I see a message for an instance about starting python.  Then an error message pops up: "Execution failed: 'g.proj.exe -p'.  When I click Ok to that, GRASS crashes and goes away.

 

I also tried demolocation project and all combinations of project and mapset.  All failed with the same error.

 

I also tried the GRASS6-SVN msys icon.  It brought up a command shell, but also failed with same error.  I saw some message about bad WISH environment variable.

 

I also tried starting it in command line mode with various parameter combinations.  Same error.

 

Not a good start.  Any ideas?

 

Greg

 

 


_______________________________________________
grass-windows mailing list
[hidden email]
http://lists.osgeo.org/mailman/listinfo/grass-windows
Milton Cezar Ribeiro

Re: fails on first try

Reply Threaded More More options
Print post
Permalink
Hi Greg

Try edit
 
GRASS_WISH=/c/OSGeo4W/bin/wish.exe
export GRASS_WISH
grass64
 
or edit
/c/OSGeo4W/apps/grass/grass-6.4.0RC4/etc/Init.sh
 
I detected it on grass 6.4.0.RC3, for Vista, but is still was not incorporated on recent version.
 
Bests
 
milton
 
2009/5/13 Hanowski, Gregory J <[hidden email]>

Hello GRASS gurus,

 

Just discovered GRASS and downloaded 6.4 windows version.  Installed and included Spearfish sample database.  Clicked the GRASS6-SVN icon.  GRASS welcome screen shows.  I select project Spearfish60 and mapset PERMANENT, then click Start GRASS.

 

I see a message for an instance about starting python.  Then an error message pops up: "Execution failed: 'g.proj.exe -p'.  When I click Ok to that, GRASS crashes and goes away.

 

I also tried demolocation project and all combinations of project and mapset.  All failed with the same error.

 

I also tried the GRASS6-SVN msys icon.  It brought up a command shell, but also failed with same error.  I saw some message about bad WISH environment variable.

 

I also tried starting it in command line mode with various parameter combinations.  Same error.

 

Not a good start.  Any ideas?

 

Greg

 

 


_______________________________________________
grass-windows mailing list
[hidden email]
http://lists.osgeo.org/mailman/listinfo/grass-windows



_______________________________________________
grass-windows mailing list
[hidden email]
http://lists.osgeo.org/mailman/listinfo/grass-windows
Hanowski, Gregory J

Re: fails on first try

Reply Threaded More More options
Print post
Permalink
In reply to this post by Hanowski, Gregory J
Some javascript/style in this post has been disabled (why?)

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-unico                                   de\wx\_core.py", line 7935, in __init__

  File "C:\Programs\GIS\OSGeo4W\apps\Python25\lib\site-packages\wx-2.8-msw-unico                                   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

 


_______________________________________________
grass-windows mailing list
[hidden email]
http://lists.osgeo.org/mailman/listinfo/grass-windows
Hanowski, Gregory J

Re: fails on first try

Reply Threaded More More options
Print post
Permalink
In reply to this post by Hanowski, Gregory J
Some javascript/style in this post has been disabled (why?)

Milton,

 

Ok, I tried putting those two lines at the bottom of the file.  I did this three times, one for each path style.  The result was always the same error as before. 

 

Here is the run log from the last attempt where the last two lines in the file Init.sh were...

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

export GRASS_WISH

 

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 (Spearfish60):C:/GRASS-6-SVN/msys/home/hanowski >

WARNING: Digitization tool is disabled (DLL load failed: This application has failed to start because the application configuration is incorrect. Reinstalling the 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-unicode\wx\_core.py", line 7935, in __init__

  File "C:\Programs\GIS\OSGeo4W\apps\Python25\lib\site-packages\wx-2.8-msw-unicode\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 __init__

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

  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 ProjInfo

    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

 

 


_______________________________________________
grass-windows mailing list
[hidden email]
http://lists.osgeo.org/mailman/listinfo/grass-windows
Hanowski, Gregory J

Re: fails on first try

Reply Threaded More More options
Print post
Permalink
In reply to this post by Hanowski, Gregory J
Some javascript/style in this post has been disabled (why?)

Milton,

 

I tried starting with grass64 -gui

 

and got this message:

WARNING: The wish command does not work as expected!

Please check your GRASS_WISH environment variable.

Use the -help option for details.

Switching to text based interface mode.

 

If I manually run C:\GRASS-6-SVN\tcl-tk\bin\wish.exe, it gives error message "This application has failed to start because the application configuration is incorrect.  Reinstalling the application may fix this problem."

 

I uninstalled and reinstalled GRASS.

 

I accepted all the defaults again when I re-installed

 

Running again in multiple ways resulted in the same error.

 

I set the PATH environment variable to include c:\GRASS-6-SVN\tcl-tk\bin

and then reboot the computer.

 

Same error.

 

I guess I'll have to give up now.

 

Thanks for trying to help.

 

Greg

 

 

 

 


_______________________________________________
grass-windows mailing list
[hidden email]
http://lists.osgeo.org/mailman/listinfo/grass-windows