The wxpython dir was moved to gui/wxpython (r41557) by martinl. If
you're getting the same error as I was then then this should fix it.

The error was:
Starting GRASS ...
WARNING: Attention!
WARNING: Locking is not supported on Windows!
c:\programs\gis\osgeo4w\bin\python.exe: can't open file
'c:/programs/gis/osgeo4w/apps/grass/grass-7.0.svn/etc/wxpython/wxgui.py':
[Errno 2] No such file or directory


I posted before with a one line fix, but two lines need changing I think:

Index: functions.sh
===================================================================
--- functions.sh        (revision 41651)
+++ functions.sh        (working copy)
@@ -260,7 +260,7 @@
        # ok
        if [ "$?" = 0 ] ; then
            # Set the wxpython base directory
-           WXPYTHONGRASSBASE="$ETC/wxpython"
+           WXPYTHONGRASSBASE="$ETC/gui/wxpython"
        else
            # Python was not found - switch to text interface mode
            cat <<-EOF
@@ -593,7 +593,7 @@

     case "$GRASS_GUI" in
         wxpython)
-            "$GRASS_PYTHON" "$GISBASE/etc/wxpython/wxgui.py" &
+            "$GRASS_PYTHON" "$WXPYTHONGRASSBASE/wxgui.py" &
             ;;
         # Ignore others
         *)

-Colin

On 1 April 2010 17:04, Glynn Clements <[email protected]> wrote:
>
> Michael Barton wrote:
>
>> I just updated from the svn and built GRASS 7. Initially, it gave an
>> error for the wxpython gui. But when I switched to the gui dirctory and
>> ran make, it all compiled fine. So it seems that something in the make
>> file is not working correctly for the gui.
>
> What error, exactly?
>
> --
> Glynn Clements <[email protected]>
> _______________________________________________
> grass-dev mailing list
> [email protected]
> http://lists.osgeo.org/mailman/listinfo/grass-dev
>
_______________________________________________
grass-dev mailing list
[email protected]
http://lists.osgeo.org/mailman/listinfo/grass-dev

Reply via email to