On Mon, Sep 3, 2018 at 4:56 PM Anna Petrášová <kratocha...@gmail.com> wrote:
> > > On Mon, Sep 3, 2018 at 4:48 PM Markus Neteler <nete...@osgeo.org> wrote: > >> Hi, >> (reducing to grass-dev) >> >> ... while I wanted to test, my box fails on "pip install wxpython" in >> the virtualenv-3: >> >> pip install wxpython >> [...# 30min later: ...] >> ... >> Finding libs for WXAUI : >> yes >> 'configure' finished successfully (1.340s) >> Waf: Entering directory >> `/home/mneteler/tmp/pip-install-mwki9u85/wxpython/build/waf/3.6/gtk3' >> [629/868] Linking >> build/waf/3.6/gtk3/_glcanvas.cpython-36m-x86_64-linux-gnu.so >> [630/868] Compiling sip/cpp/sip_html2wxWebViewHistoryItem.cpp >> [631/868] Compiling sip/cpp/sip_html2wxWebViewHandler.cpp >> [632/868] Compiling sip/cpp/sip_html2wxWebViewFactory.cpp >> [633/868] Compiling sip/cpp/sip_html2wxWebViewFSHandler.cpp >> ../../../../sip/cpp/sip_html2wxWebViewHistoryItem.cpp: In function >> ‘PyObject* meth_wxWebViewHistoryItem_GetUrl(PyObject*, PyObject*)’: >> ../../../../sip/cpp/sip_html2wxWebViewHistoryItem.cpp:24:12: >> error: ‘::wxWebViewHistoryItem’ has not been declared >> ::wxWebViewHistoryItem *sipCpp; >> ^~~~~~~~~~~~~~~~~~~~ >> ../../../../sip/cpp/sip_html2wxWebViewHistoryItem.cpp:24:12: note: >> suggested alternative: ‘sipName_WebViewHistoryItem’ >> ::wxWebViewHistoryItem *sipCpp; >> .... >> [... tons of sip errors...] >> ... >> Waf: Leaving directory >> `/home/mneteler/tmp/pip-install-mwki9u85/wxpython/build/waf/3.6/gtk3' >> Build failed >> -> task in '_html2' failed with exit status 1 (run with -v to >> display more information) >> -> task in '_html2' failed with exit status 1 (run with -v to >> display more information) >> -> task in '_html2' failed with exit status 1 (run with -v to >> display more information) >> -> task in '_html2' failed with exit status 1 (run with -v to >> display more information) >> Command '"/home/mneteler/grasspy3/bin/python3" >> /home/mneteler/tmp/pip-install-mwki9u85/wxpython/bin/waf-2.0.7 >> >> --wx_config=/home/mneteler/tmp/pip-install-mwki9u85/wxpython/build/wxbld/gtk3/wx-config >> --gtk3 --python="/home/mneteler/grasspy3/bin/python3" >> --out=build/waf/3.6/gtk3 configure build ' failed with exit code 1. >> Finished command: build_py (0m8.387s) >> Finished command: build (0m9.512s) >> Command '"/home/mneteler/grasspy3/bin/python3" -u build.py build' >> failed with exit code 1. >> >> ---------------------------------------- >> Command "/home/mneteler/grasspy3/bin/python3 -u -c "import setuptools, >> >> tokenize;__file__='/home/mneteler/tmp/pip-install-mwki9u85/wxpython/setup.py';f=getattr(tokenize, >> 'open', open)(__file__);code=f.read().replace('\r\n', >> '\n');f.close();exec(compile(code, __file__, 'exec'))" install >> --record /home/mneteler/tmp/pip-record-sdim1_xp/install-record.txt >> --single-version-externally-managed --compile --install-headers >> /home/mneteler/grasspy3/include/site/python3.6/wxpython" failed with >> error code 1 in /home/mneteler/tmp/pip-install-mwki9u85/wxpython/ >> >> Any idea? >> > > it looks like it's missing a package, on ubuntu it's libwebkit-dev > > >> When simply ignoring the GUI for now: >> >> (grasspy3) [mneteler@oboe ~ ]$ python3 ~/bin/grass76 >> Traceback (most recent call last): >> File "/home/mneteler/bin/grass76", line 2162, in <module> >> main() >> File "/home/mneteler/bin/grass76", line 2010, in main >> set_paths(grass_config_dir=grass_config_dir) >> File "/home/mneteler/bin/grass76", line 623, in set_paths >> os.environ['MANPATH'] = sys_man_path >> File "/home/mneteler/grasspy3/lib64/python3.6/os.py", line 674, in >> __setitem__ >> value = self.encodevalue(value) >> File "/home/mneteler/grasspy3/lib64/python3.6/os.py", line 744, in >> encode >> raise TypeError("str expected, not %s" % type(value).__name__) >> TypeError: str expected, not bytes >> >> (same error as Martin) >> > > 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 > Try r73241 > >> Markus >> >
_______________________________________________ grass-dev mailing list grass-dev@lists.osgeo.org https://lists.osgeo.org/mailman/listinfo/grass-dev