<div dir="ltr"><div dir="ltr"><br><br><div class="gmail_quote"><div dir="ltr">On Mon, Sep 3, 2018 at 4:56 PM Anna Petrášová <<a href="mailto:kratochanna@gmail.com">kratochanna@gmail.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr"><br><br><div class="gmail_quote"><div dir="ltr">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></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">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></blockquote><div><br></div><div>it looks like it's missing a package, on ubuntu it's <span style="font-size:13px">libwebkit-dev</span></div><div><span style="font-size:13px"><br></span></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
<br>
When simply ignoring the GUI for now:<br>
<br>
(grasspy3) [mneteler@oboe ~ ]$ python3 ~/bin/grass76<br>
Traceback (most recent call last):<br>
  File "/home/mneteler/bin/grass76", line 2162, in <module><br>
    main()<br>
  File "/home/mneteler/bin/grass76", line 2010, in main<br>
    set_paths(grass_config_dir=grass_config_dir)<br>
  File "/home/mneteler/bin/grass76", line 623, in set_paths<br>
    os.environ['MANPATH'] = sys_man_path<br>
  File "/home/mneteler/grasspy3/lib64/python3.6/os.py", line 674, in __setitem__<br>
    value = self.encodevalue(value)<br>
  File "/home/mneteler/grasspy3/lib64/python3.6/os.py", line 744, in encode<br>
    raise TypeError("str expected, not %s" % type(value).__name__)<br>
TypeError: str expected, not bytes<br>
<br>
(same error as Martin)<br></blockquote><div><br></div><div>working on it, I don't get this because of some settings in my environment, which don't get to that line causing the error </div></div></div></blockquote><div><br></div><div>Try r73241 </div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr"><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
<br>
Markus<br>
</blockquote></div></div>
</blockquote></div></div></div>