<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
</head>
<body text="#000000" bgcolor="#FFFFFF">
<p>No worries, thanks for that, Anna.</p>
<p>One question: how do I tell GRASS to use python 3, given that
both Python 2 and 3 are present in the system? I tried using the
configure option "--with-python=/usr/bin/python3" but cannot tell
if it worked.</p>
<p>H.<br>
</p>
<div class="moz-cite-prefix">On 9/23/18 1:42 PM, Anna Petrášová
wrote:<br>
</div>
<blockquote type="cite"
cite="mid:CAE0EDEp=-317=dvCPL8J7H0TO_MvhfDDsy1oO7Q8Yu6x6jxmcQ@mail.gmail.com">
<div dir="auto">
<div>Hi,</div>
<div dir="auto"><br>
</div>
<div dir="auto">trunk is now less 'stable' than usually since it
contains experimental support for Python 3, but it means there
can be new bugs even with Python 2 (it was announced on
mailing lists). If you want more stable environment, please
use grass 76, but I will also appreciate you testing trunk.</div>
<div dir="auto"><br>
</div>
<div dir="auto">Anna<br>
<br>
<div class="gmail_quote" dir="auto">
<div dir="ltr">On Sat, Sep 22, 2018, 9:22 AM Hernán De
Angelis <<a href="mailto:dhdeangelis@comhem.se"
moz-do-not-send="true">dhdeangelis@comhem.se</a>>
wrote:<br>
</div>
<blockquote class="gmail_quote">Please forget the previous
email. I solved the problem by building <br>
wxwidgets from source and then reinstalling grass. All
works as expected <br>
now.<br>
<br>
/H.<br>
<br>
<br>
On 9/22/18 2:50 PM, Hernán De Angelis wrote:<br>
> Hi<br>
><br>
> I have just updated trunk to grass77 (r73379) via
SVN. After the build <br>
> the location selection window opens normally, then,
after the location <br>
> is selected, the greeting window flashes normally but
the GUI never <br>
> starts. There are a lot of warning/errors (see
below).<br>
><br>
> I understand that wxwidgets and python may be the
culprit. This wasn't <br>
> the case with my previous installation (grass75)
although there where <br>
> lots of warnings with this. I have not touched
wxwidgets or python <br>
> since my previous grass install.<br>
><br>
> Any hint on a solution will be appreciated.<br>
><br>
> Thanks in advance.<br>
><br>
> /H.<br>
><br>
><br>
>
--------------------------------------------------------------------------
<br>
><br>
><br>
> GRASS 7.7.svn (NVtest):~/NV/grassdb > grass77<br>
> Starting GRASS GIS...<br>
>
/usr/lib64/python2.7/site-packages/wx-3.0-gtk2/wx/_core.py:16629:
<br>
> UserWarning: wxPython/wxWidgets release number
mismatch<br>
> warnings.warn("wxPython/wxWidgets release number
mismatch")<br>
> Cleaning up temporary files...<br>
><br>
><br>
> __________ ___ __________
_______________<br>
> / ____/ __ \/ | / ___/ ___/ / ____/ _/
___/<br>
> / / __/ /_/ / /| | \__ \\_ \ / / __ / /
\__ \<br>
> / /_/ / _, _/ ___ |___/ /__/ / / /_/ // /
___/ /<br>
> \____/_/ |_/_/ |_/____/____/
\____/___//____/<br>
><br>
> Welcome to GRASS GIS 7.7.svn (r72914)<br>
> GRASS GIS homepage: <a
href="http://grass.osgeo.org" rel="noreferrer
noreferrer" target="_blank" moz-do-not-send="true">http://grass.osgeo.org</a><br>
> This version running through: Bash Shell
(/bin/bash)<br>
> Help is available with the command: g.manual -i<br>
> See the licence terms with: g.version -c<br>
> See citation options with: g.version -x<br>
> If required, restart the GUI with: g.gui
wxpython<br>
> When ready to quit enter: exit<br>
><br>
> Launching <wxpython> GUI in the background,
please wait...<br>
> GRASS 7.7.svn (NVtest):~/NV/grassdb > <br>
>
/usr/lib64/python2.7/site-packages/wx-3.0-gtk2/wx/_core.py:16629:
<br>
> UserWarning: wxPython/wxWidgets release number
mismatch<br>
> warnings.warn("wxPython/wxWidgets release number
mismatch")<br>
> Traceback (most recent call last):<br>
> File
"/usr/local/grass-7.7.svn/gui/wxpython/wxgui.py", line
169, in <br>
> <module><br>
> sys.exit(main())<br>
> File
"/usr/local/grass-7.7.svn/gui/wxpython/wxgui.py", line
156, in <br>
> main<br>
> app = GMApp(workspaceFile)<br>
> File
"/usr/local/grass-7.7.svn/gui/wxpython/wxgui.py", line 50,
in <br>
> __init__<br>
> wx.App.__init__(self, False)<br>
> File
"/usr/lib64/python2.7/site-packages/wx-3.0-gtk2/wx/_core.py",
<br>
> line 8628, in __init__<br>
> self._BootstrapApp()<br>
> File
"/usr/lib64/python2.7/site-packages/wx-3.0-gtk2/wx/_core.py",
<br>
> line 8196, in _BootstrapApp<br>
> return _core_.PyApp__BootstrapApp(*args,
**kwargs)<br>
> File
"/usr/local/grass-7.7.svn/gui/wxpython/wxgui.py", line
101, in <br>
> OnInit<br>
> from lmgr.frame import GMFrame<br>
> File
"/usr/local/grass-7.7.svn/gui/wxpython/lmgr/frame.py",
line 51, <br>
> in <module><br>
> from lmgr.layertree import LayerTree, LMIcons<br>
> File
"/usr/local/grass-7.7.svn/gui/wxpython/lmgr/layertree.py",
line <br>
> 38, in <module><br>
> from mapdisp.frame import MapFrame<br>
> File
"/usr/local/grass-7.7.svn/gui/wxpython/mapdisp/frame.py",
line <br>
> 33, in <module><br>
> from mapdisp.toolbars import MapToolbar,
NvizIcons<br>
> File
"/usr/local/grass-7.7.svn/gui/wxpython/mapdisp/toolbars.py",
<br>
> line 22, in <module><br>
> from nviz.main import haveNviz<br>
> File
"/usr/local/grass-7.7.svn/gui/wxpython/nviz/main.py", line
24, <br>
> in <module><br>
> from nviz import mapwindow<br>
> File
"/usr/local/grass-7.7.svn/gui/wxpython/nviz/mapwindow.py",
line <br>
> 42, in <module><br>
> from nviz.workspace import NvizSettings<br>
> File
"/usr/local/grass-7.7.svn/gui/wxpython/nviz/workspace.py",
line <br>
> 24, in <module><br>
> from nviz import wxnviz<br>
> File
"/usr/local/grass-7.7.svn/gui/wxpython/nviz/wxnviz.py",
line <br>
> 51, in <module><br>
> from grass.lib.gis import *<br>
> File
"/usr/local/grass-7.7.svn/etc/python/grass/lib/gis.py",
line <br>
> 988, in <module><br>
> G_asprintf =
_variadic_function(_func,_restype,_argtypes)<br>
> TypeError: __init__() takes exactly 5 arguments (4
given)<br>
><br>
> _______________________________________________<br>
> grass-user mailing list<br>
> <a href="mailto:grass-user@lists.osgeo.org"
target="_blank" rel="noreferrer" moz-do-not-send="true">grass-user@lists.osgeo.org</a><br>
> <a
href="https://lists.osgeo.org/mailman/listinfo/grass-user"
rel="noreferrer noreferrer" target="_blank"
moz-do-not-send="true">https://lists.osgeo.org/mailman/listinfo/grass-user</a><br>
_______________________________________________<br>
grass-user mailing list<br>
<a href="mailto:grass-user@lists.osgeo.org"
target="_blank" rel="noreferrer" moz-do-not-send="true">grass-user@lists.osgeo.org</a><br>
<a
href="https://lists.osgeo.org/mailman/listinfo/grass-user"
rel="noreferrer noreferrer" target="_blank"
moz-do-not-send="true">https://lists.osgeo.org/mailman/listinfo/grass-user</a></blockquote>
</div>
</div>
</div>
</blockquote>
</body>
</html>