[GRASS-dev] [GRASS GIS] #1387: wingrass65 - wxgui compiling error and not starting

#1387: wingrass65 - wxgui compiling error and not starting
------------------------------+---------------------------------------------
Reporter: hellik | Owner: grass-dev@…
     Type: defect | Status: new
Priority: normal | Milestone:
Component: wxGUI | Version: svn-develbranch6
Keywords: wingrass, wxgui, | Platform: MSWindows Vista
      Cpu: x86-32 |
------------------------------+---------------------------------------------
self compiled grass65 (Revision: 46657) in the osgeo4w-stack

in the compiling log there is following error regarding the wxgui

{{{
/bin/install -c -m 644 gis_set.py
/c/osgeo4w/usr/src/grass6_devel/dist.i686-pc-
mingw32/etc/wxpython/gis_set.py
/bin/install -c -m 644 wxgui.py /c/osgeo4w/usr/src/grass6_devel/dist.i686
-pc-mingw32/etc/wxpython/wxgui.py
/bin/install -c -m 644 README /c/osgeo4w/usr/src/grass6_devel/dist.i686
-pc-mingw32/etc/wxpython/README
python -m py_compile /c/osgeo4w/usr/src/grass6_devel/dist.i686-pc-
mingw32/etc/wxpython/compat/__init__.py
python -m py_compile /c/osgeo4w/usr/src/grass6_devel/dist.i686-pc-
mingw32/etc/wxpython/compat/subprocess.py
python -m py_compile /c/osgeo4w/usr/src/grass6_devel/dist.i686-pc-
mingw32/etc/wxpython/gui_modules/__init__.py
python -m py_compile /c/osgeo4w/usr/src/grass6_devel/dist.i686-pc-
mingw32/etc/wxpython/gui_modules/colorrules.py
python -m py_compile /c/osgeo4w/usr/src/grass6_devel/dist.i686-pc-
mingw32/etc/wxpython/gui_modules/dbm.py
python -m py_compile /c/osgeo4w/usr/src/grass6_devel/dist.i686-pc-
mingw32/etc/wxpython/gui_modules/dbm_base.py
python -m py_compile /c/osgeo4w/usr/src/grass6_devel/dist.i686-pc-
mingw32/etc/wxpython/gui_modules/dbm_dialogs.py
python -m py_compile /c/osgeo4w/usr/src/grass6_devel/dist.i686-pc-
mingw32/etc/wxpython/gui_modules/debug.py
python -m py_compile /c/osgeo4w/usr/src/grass6_devel/dist.i686-pc-
mingw32/etc/wxpython/gui_modules/disp_print.py
python -m py_compile /c/osgeo4w/usr/src/grass6_devel/dist.i686-pc-
mingw32/etc/wxpython/gui_modules/gcmd.py
python -m py_compile /c/osgeo4w/usr/src/grass6_devel/dist.i686-pc-
mingw32/etc/wxpython/gui_modules/gcpmanager.py
python -m py_compile /c/osgeo4w/usr/src/grass6_devel/dist.i686-pc-
mingw32/etc/wxpython/gui_modules/gcpmapdisp.py
python -m py_compile /c/osgeo4w/usr/src/grass6_devel/dist.i686-pc-
mingw32/etc/wxpython/gui_modules/gdialogs.py
python -m py_compile /c/osgeo4w/usr/src/grass6_devel/dist.i686-pc-
mingw32/etc/wxpython/gui_modules/ghelp.py
python -m py_compile /c/osgeo4w/usr/src/grass6_devel/dist.i686-pc-
mingw32/etc/wxpython/gui_modules/globalvar.py
python -m py_compile /c/osgeo4w/usr/src/grass6_devel/dist.i686-pc-
mingw32/etc/wxpython/gui_modules/gmodeler.py
python -m py_compile /c/osgeo4w/usr/src/grass6_devel/dist.i686-pc-
mingw32/etc/wxpython/gui_modules/goutput.py
python -m py_compile /c/osgeo4w/usr/src/grass6_devel/dist.i686-pc-
mingw32/etc/wxpython/gui_modules/gpyshell.py
python -m py_compile /c/osgeo4w/usr/src/grass6_devel/dist.i686-pc-
mingw32/etc/wxpython/gui_modules/gselect.py
python -m py_compile /c/osgeo4w/usr/src/grass6_devel/dist.i686-pc-
mingw32/etc/wxpython/gui_modules/histogram.py
python -m py_compile /c/osgeo4w/usr/src/grass6_devel/dist.i686-pc-
mingw32/etc/wxpython/gui_modules/layertree.py
python -m py_compile /c/osgeo4w/usr/src/grass6_devel/dist.i686-pc-
mingw32/etc/wxpython/gui_modules/location_wizard.py
python -m py_compile /c/osgeo4w/usr/src/grass6_devel/dist.i686-pc-
mingw32/etc/wxpython/gui_modules/mapdisp.py
python -m py_compile /c/osgeo4w/usr/src/grass6_devel/dist.i686-pc-
mingw32/etc/wxpython/gui_modules/mapdisp_command.py
python -m py_compile /c/osgeo4w/usr/src/grass6_devel/dist.i686-pc-
mingw32/etc/wxpython/gui_modules/mapdisp_vdigit.py
python -m py_compile /c/osgeo4w/usr/src/grass6_devel/dist.i686-pc-
mingw32/etc/wxpython/gui_modules/mapdisp_window.py
python -m py_compile /c/osgeo4w/usr/src/grass6_devel/dist.i686-pc-
mingw32/etc/wxpython/gui_modules/mcalc_builder.py
python -m py_compile /c/osgeo4w/usr/src/grass6_devel/dist.i686-pc-
mingw32/etc/wxpython/gui_modules/menu.py
   File "c:/osgeo4w/usr/src/grass6_devel/dist.i686-pc-
mingw32/etc/wxpython/gui_modules/menu.py", line 52
     self._createMenuItem(menu, *eachItem, menustyle = self.menustyle)
                                                   ^
SyntaxError: invalid syntax
python -m py_compile /c/osgeo4w/usr/src/grass6_devel/dist.i686-pc-
mingw32/etc/wxpython/gui_modules/menudata.py
python -m py_compile /c/osgeo4w/usr/src/grass6_devel/dist.i686-pc-
mingw32/etc/wxpython/gui_modules/menuform.py
python -m py_compile /c/osgeo4w/usr/src/grass6_devel/dist.i686-pc-
mingw32/etc/wxpython/gui_modules/nviz.py
python -m py_compile /c/osgeo4w/usr/src/grass6_devel/dist.i686-pc-
mingw32/etc/wxpython/gui_modules/nviz_mapdisp.py
python -m py_compile /c/osgeo4w/usr/src/grass6_devel/dist.i686-pc-
mingw32/etc/wxpython/gui_modules/nviz_preferences.py
python -m py_compile /c/osgeo4w/usr/src/grass6_devel/dist.i686-pc-
mingw32/etc/wxpython/gui_modules/nviz_tools.py
python -m py_compile /c/osgeo4w/usr/src/grass6_devel/dist.i686-pc-
mingw32/etc/wxpython/gui_modules/ogc_services.py
python -m py_compile /c/osgeo4w/usr/src/grass6_devel/dist.i686-pc-
mingw32/etc/wxpython/gui_modules/preferences.py
python -m py_compile /c/osgeo4w/usr/src/grass6_devel/dist.i686-pc-
mingw32/etc/wxpython/gui_modules/profile.py
python -m py_compile /c/osgeo4w/usr/src/grass6_devel/dist.i686-pc-
mingw32/etc/wxpython/gui_modules/prompt.py
python -m py_compile /c/osgeo4w/usr/src/grass6_devel/dist.i686-pc-
mingw32/etc/wxpython/gui_modules/psmap.py
python -m py_compile /c/osgeo4w/usr/src/grass6_devel/dist.i686-pc-
mingw32/etc/wxpython/gui_modules/psmap_dialogs.py
python -m py_compile /c/osgeo4w/usr/src/grass6_devel/dist.i686-pc-
mingw32/etc/wxpython/gui_modules/render.py
python -m py_compile /c/osgeo4w/usr/src/grass6_devel/dist.i686-pc-
mingw32/etc/wxpython/gui_modules/sqlbuilder.py
python -m py_compile /c/osgeo4w/usr/src/grass6_devel/dist.i686-pc-
mingw32/etc/wxpython/gui_modules/toolbars.py
python -m py_compile /c/osgeo4w/usr/src/grass6_devel/dist.i686-pc-
mingw32/etc/wxpython/gui_modules/units.py
python -m py_compile /c/osgeo4w/usr/src/grass6_devel/dist.i686-pc-
mingw32/etc/wxpython/gui_modules/utils.py
python -m py_compile /c/osgeo4w/usr/src/grass6_devel/dist.i686-pc-
mingw32/etc/wxpython/gui_modules/vclean.py
python -m py_compile /c/osgeo4w/usr/src/grass6_devel/dist.i686-pc-
mingw32/etc/wxpython/gui_modules/vdigit.py
python -m py_compile /c/osgeo4w/usr/src/grass6_devel/dist.i686-pc-
mingw32/etc/wxpython/gui_modules/workspace.py
python -m py_compile /c/osgeo4w/usr/src/grass6_devel/dist.i686-pc-
mingw32/etc/wxpython/gui_modules/wxnviz.py
python -m py_compile /c/osgeo4w/usr/src/grass6_devel/dist.i686-pc-
mingw32/etc/wxpython/gui_modules/wxvdigit.py
python -m py_compile /c/osgeo4w/usr/src/grass6_devel/dist.i686-pc-
mingw32/etc/wxpython/gui_modules/wxvdriver.py
python -m py_compile /c/osgeo4w/usr/src/grass6_devel/dist.i686-pc-
mingw32/etc/wxpython/icons/__init__.py
python -m py_compile /c/osgeo4w/usr/src/grass6_devel/dist.i686-pc-
mingw32/etc/wxpython/icons/grass2_icons.py
python -m py_compile /c/osgeo4w/usr/src/grass6_devel/dist.i686-pc-
mingw32/etc/wxpython/icons/grass_icons.py
python -m py_compile /c/osgeo4w/usr/src/grass6_devel/dist.i686-pc-
mingw32/etc/wxpython/icons/icon.py
python -m py_compile /c/osgeo4w/usr/src/grass6_devel/dist.i686-pc-
mingw32/etc/wxpython/icons/silk_icons.py
python -m py_compile /c/osgeo4w/usr/src/grass6_devel/dist.i686-pc-
mingw32/etc/wxpython/gis_set.py
python -m py_compile /c/osgeo4w/usr/src/grass6_devel/dist.i686-pc-
mingw32/etc/wxpython/wxgui.py
make[3]: Leaving directory `/c/osgeo4w/usr/src/grass6_devel/gui/wxpython'
}}}

trying to start grass65 from the osgeo4w-msys-shell, choosing a location
in the wxgui-welcome-gui is possible, but in the next step, the wxgui
doesn't start

{{{
syringia@NADA /c/osgeo4w/usr/src/grass6_devel/bin.i686-pc-mingw32
$ grass65 -wx
Cleaning up temporary files ...
Starting GRASS ...
WARNUNG: Concurrent mapset locking is not supported on Windows
           __________ ___ __________ _______________
          / ____/ __ \/ | / ___/ ___/ / ____/ _/ ___/
         / / __/ /_/ / /| | \__ \\_ \ / / __ / / \__ \
        / /_/ / _, _/ ___ |___/ /__/ / / /_/ // / ___/ /
        \____/_/ |_/_/ |_/____/____/ \____/___//____/

Welcome to GRASS 6.5.svn (2011)
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.5> Traceback (most recent call last):
   File "c:/osgeo4w/usr/src/grass6_devel/dist.i686-pc-
mingw32/etc/wxpython/wxgui.py", line 80, in <module>
     from gui_modules import menu
   File "c:\osgeo4w\usr\src\grass6_devel\dist.i686-pc-
mingw32\etc\wxpython\gui_modules\menu.py", line 52
     self._createMenuItem(menu, *eachItem, menustyle = self.menustyle)
                                                   ^
SyntaxError: invalid syntax
}}}

best regards
Helmut

--
Ticket URL: <http://trac.osgeo.org/grass/ticket/1387&gt;
GRASS GIS <http://grass.osgeo.org>

#1387: wingrass65 - wxgui compiling error and not starting
------------------------------+---------------------------------------------
Reporter: hellik | Owner: grass-dev@…
     Type: defect | Status: new
Priority: normal | Milestone:
Component: wxGUI | Version: svn-develbranch6
Keywords: wingrass, wxgui, | Platform: MSWindows Vista
      Cpu: x86-32 |
------------------------------+---------------------------------------------

Comment(by hellik):

Replying to [ticket:1387 hellik]:
> self compiled grass65 (Revision: 46657) in the osgeo4w-stack

tested also with nightly build WinGRASS-6.5.SVN-r46657-1-Setup.exe

the same error also there

Helmut

--
Ticket URL: <http://trac.osgeo.org/grass/ticket/1387#comment:1&gt;
GRASS GIS <http://grass.osgeo.org>

#1387: wingrass65 - wxgui compiling error and not starting
------------------------------+---------------------------------------------
Reporter: hellik | Owner: grass-dev@…
     Type: defect | Status: new
Priority: normal | Milestone:
Component: wxGUI | Version: svn-develbranch6
Keywords: wingrass, wxgui, | Platform: MSWindows Vista
      Cpu: x86-32 |
------------------------------+---------------------------------------------

Comment(by hellik):

Replying to [comment:1 hellik]:
> Replying to [ticket:1387 hellik]:
> > self compiled grass65 (Revision: 46657) in the osgeo4w-stack
>
> tested also with nightly build WinGRASS-6.5.SVN-r46657-1-Setup.exe

and also in the nightly build WinGRASS-6.4.SVN-r46660-1-Setup.exe

Helmut

--
Ticket URL: <http://trac.osgeo.org/grass/ticket/1387#comment:2&gt;
GRASS GIS <http://grass.osgeo.org>

#1387: wingrass65 - wxgui compiling error and not starting
------------------------------+---------------------------------------------
Reporter: hellik | Owner: grass-dev@…
     Type: defect | Status: new
Priority: normal | Milestone:
Component: wxGUI | Version: svn-develbranch6
Keywords: wingrass, wxgui, | Platform: MSWindows Vista
      Cpu: x86-32 |
------------------------------+---------------------------------------------

Comment(by wenzeslaus):

It is caused by version of Python <2.6. Problem is in changeset r46397
written by me. I attached the patch. I hope martinl will commit it (I
don't have write access).

--
Ticket URL: <http://trac.osgeo.org/grass/ticket/1387#comment:3&gt;
GRASS GIS <http://grass.osgeo.org>

#1387: wingrass65 - wxgui compiling error and not starting
------------------------------+---------------------------------------------
Reporter: hellik | Owner: martinl
     Type: defect | Status: assigned
Priority: normal | Milestone: 6.4.2
Component: wxGUI | Version: svn-develbranch6
Keywords: wingrass, wxgui, | Platform: MSWindows Vista
      Cpu: x86-32 |
------------------------------+---------------------------------------------
Changes (by martinl):

* cc: grass-dev@… (added)
  * owner: grass-dev@… => martinl
  * status: new => assigned
  * milestone: => 6.4.2

Comment:

Replying to [comment:3 wenzeslaus]:
> It is caused by version of Python <2.6. Problem is in changeset r46397
written by me. I attached the patch. I hope martinl will commit it (I
don't have write access).

right, patch applied in r46662 and backported to devbr6 and relbr64.

--
Ticket URL: <http://trac.osgeo.org/grass/ticket/1387#comment:4&gt;
GRASS GIS <http://grass.osgeo.org>

#1387: wingrass65 - wxgui compiling error and not starting
------------------------------+---------------------------------------------
  Reporter: hellik | Owner: martinl
      Type: defect | Status: closed
  Priority: normal | Milestone: 6.4.2
Component: wxGUI | Version: svn-develbranch6
Resolution: fixed | Keywords: wingrass, wxgui,
  Platform: MSWindows Vista | Cpu: x86-32
------------------------------+---------------------------------------------
Changes (by hellik):

  * status: assigned => closed
  * resolution: => fixed

Comment:

Replying to [comment:4 martinl]:
> Replying to [comment:3 wenzeslaus]:
> > It is caused by version of Python <2.6. Problem is in changeset r46397
written by me. I attached the patch. I hope martinl will commit it (I
don't have write access).
>
> right, patch applied in r46662 and backported to devbr6 and relbr64.

thanks for the patch, now it's starting again.

Helmut

--
Ticket URL: <http://trac.osgeo.org/grass/ticket/1387#comment:5&gt;
GRASS GIS <http://grass.osgeo.org>