<div dir="ltr"><br><br><div class="gmail_quote"><div dir="ltr">On Mon, Sep 3, 2018 at 6:33 PM Markus Neteler <<a href="mailto:neteler@osgeo.org">neteler@osgeo.org</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">On Mon, Sep 3, 2018 at 10:56 PM Anna Petrášová <<a href="mailto:kratochanna@gmail.com" target="_blank">kratochanna@gmail.com</a>> wrote:<br>
><br>
><br>
><br>
> On Mon, Sep 3, 2018 at 4:48 PM Markus Neteler <<a href="mailto:neteler@osgeo.org" target="_blank">neteler@osgeo.org</a>> wrote:<br>
>><br>
>> Hi,<br>
>> (reducing to grass-dev)<br>
>><br>
>> ... while I wanted to test, my box fails on "pip install wxpython" in<br>
>> the virtualenv-3:<br>
>><br>
>> pip install wxpython<br>
>> [...# 30min later: ...]<br>
>> ...<br>
>>     Finding libs for WXAUI                                             : yes<br>
>>     'configure' finished successfully (1.340s)<br>
>>     Waf: Entering directory<br>
>> `/home/mneteler/tmp/pip-install-mwki9u85/wxpython/build/waf/3.6/gtk3'<br>
>>     [629/868] Linking<br>
>> build/waf/3.6/gtk3/_<a href="http://glcanvas.cpython-36m-x86_64-linux-gnu.so" rel="noreferrer" target="_blank">glcanvas.cpython-36m-x86_64-linux-gnu.so</a><br>
>>     [630/868] Compiling sip/cpp/sip_html2wxWebViewHistoryItem.cpp<br>
>>     [631/868] Compiling sip/cpp/sip_html2wxWebViewHandler.cpp<br>
>>     [632/868] Compiling sip/cpp/sip_html2wxWebViewFactory.cpp<br>
>>     [633/868] Compiling sip/cpp/sip_html2wxWebViewFSHandler.cpp<br>
>>     ../../../../sip/cpp/sip_html2wxWebViewHistoryItem.cpp: In function<br>
>> ‘PyObject* meth_wxWebViewHistoryItem_GetUrl(PyObject*, PyObject*)’:<br>
>>     ../../../../sip/cpp/sip_html2wxWebViewHistoryItem.cpp:24:12:<br>
>> error: ‘::wxWebViewHistoryItem’ has not been declared<br>
>>               ::wxWebViewHistoryItem *sipCpp;<br>
>>                 ^~~~~~~~~~~~~~~~~~~~<br>
>>     ../../../../sip/cpp/sip_html2wxWebViewHistoryItem.cpp:24:12: note:<br>
>> suggested alternative: ‘sipName_WebViewHistoryItem’<br>
>>               ::wxWebViewHistoryItem *sipCpp;<br>
>> ....<br>
>> [... tons of sip errors...]<br>
>> ...<br>
>>     Waf: Leaving directory<br>
>> `/home/mneteler/tmp/pip-install-mwki9u85/wxpython/build/waf/3.6/gtk3'<br>
>>     Build failed<br>
>>      -> task in '_html2' failed with exit status 1 (run with -v to<br>
>> display more information)<br>
>>      -> task in '_html2' failed with exit status 1 (run with -v to<br>
>> display more information)<br>
>>      -> task in '_html2' failed with exit status 1 (run with -v to<br>
>> display more information)<br>
>>      -> task in '_html2' failed with exit status 1 (run with -v to<br>
>> display more information)<br>
>>     Command '"/home/mneteler/grasspy3/bin/python3"<br>
>> /home/mneteler/tmp/pip-install-mwki9u85/wxpython/bin/waf-2.0.7<br>
>> --wx_config=/home/mneteler/tmp/pip-install-mwki9u85/wxpython/build/wxbld/gtk3/wx-config<br>
>> --gtk3 --python="/home/mneteler/grasspy3/bin/python3"<br>
>> --out=build/waf/3.6/gtk3 configure build ' failed with exit code 1.<br>
>>     Finished command: build_py (0m8.387s)<br>
>>     Finished command: build (0m9.512s)<br>
>>     Command '"/home/mneteler/grasspy3/bin/python3" -u build.py build'<br>
>> failed with exit code 1.<br>
>><br>
>>     ----------------------------------------<br>
>> Command "/home/mneteler/grasspy3/bin/python3 -u -c "import setuptools,<br>
>> tokenize;__file__='/home/mneteler/tmp/pip-install-mwki9u85/wxpython/setup.py';f=getattr(tokenize,<br>
>> 'open', open)(__file__);code=f.read().replace('\r\n',<br>
>> '\n');f.close();exec(compile(code, __file__, 'exec'))" install<br>
>> --record /home/mneteler/tmp/pip-record-sdim1_xp/install-record.txt<br>
>> --single-version-externally-managed --compile --install-headers<br>
>> /home/mneteler/grasspy3/include/site/python3.6/wxpython" failed with<br>
>> error code 1 in /home/mneteler/tmp/pip-install-mwki9u85/wxpython/<br>
>><br>
>> Any idea?<br>
><br>
><br>
> it looks like it's missing a package, on ubuntu it's libwebkit-dev<br>
<br>
Thanks, that is on Fedora:<br>
webkit2gtk3-devel<br>
<br>
Now I got also wxpython compiled (30min of compilation on my laptop).<br>
<br>
Now the wxGUI start screen comes up.<br>
Once in the session, this error appears:<br>
<br>
GRASS 7.7.svn (nc_spm_08_grass7):~ > 00:29:58: Debug: Adding duplicate<br>
image handler for 'Windows bitmap file'<br>
00:29:58: Debug: Adding duplicate image handler for 'Windows bitmap file'<br>
Traceback (most recent call last):<br>
  File "/home/mneteler/software/grass77/dist.x86_64-pc-linux-gnu/gui/wxpython/wxgui.py",<br>
line 101, in OnInit<br>
    from lmgr.frame import GMFrame<br>
  File "/home/mneteler/software/grass77/dist.x86_64-pc-linux-gnu/gui/wxpython/lmgr/frame.py",<br>
line 50, in <module><br>
    from lmgr.layertree import LayerTree, LMIcons<br>
  File "/home/mneteler/software/grass77/dist.x86_64-pc-linux-gnu/gui/wxpython/lmgr/layertree.py",<br>
line 38, in <module><br>
    from mapdisp.frame import MapFrame<br>
  File "/home/mneteler/software/grass77/dist.x86_64-pc-linux-gnu/gui/wxpython/mapdisp/frame.py",<br>
line 43, in <module><br>
    from mapwin.buffered import BufferedMapWindow<br>
  File "/home/mneteler/software/grass77/dist.x86_64-pc-linux-gnu/gui/wxpython/mapwin/buffered.py",<br>
line 52, in <module><br>
    import grass.lib.gis as gislib<br>
  File "/home/mneteler/software/grass77/dist.x86_64-pc-linux-gnu/etc/python/grass/lib/gis.py",<br>
line 988, in <module><br>
    G_asprintf = _variadic_function(_func,_restype,_argtypes)<br>
TypeError: __init__() missing 1 required positional argument: 'errcheck'<br>
OnInit returned false, exiting...<br>
GRASS 7.7.svn (nc_spm_08_grass7):~ ><br></blockquote><div><br></div><div>are you sure you did make distclean? </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<br>
Markus<br>
</blockquote></div></div>