Hello
I have set up a Raspberry Pi2 B+ as a tiny board-computer for a sailboat to provide some helpful navigation information.
Everything was developed under Debian Wheezy, Python 2.7.9, using wxPython 2.9 and does work fine.
Now I have started to upgrade my Raspberry Pi to Debian Jessie by simply build a new image. This distribution offers already a installable packed for wxPyton3.0.1.1.
So far so good …
However the html2 model has a serious problem (see below). As my development depend on this module to display maps, own position and some more details, the whole work under Jessie is worthless for the time being.
Question:
-
is there anything I did wrong?
-
does wxPython have a problem with event definitions?
-
is this a problem in combination with Debian Jessie?
may be some one is able to help me overcome this hurdle
thanks
Richard
Example to show the problem:
pi@HDMIPI2J:~/nav_pc $ python
Python 2.7.9 (default, Mar 8 2015, 00:52:26)
[GCC 4.9.2] on linux2
Type “help”, “copyright”, “credits” or “license” for more information.
import wx
print(wx.version())
3.0.1.1 gtk2 (classic)
print(‘wx ist importiert’)
wx ist importiert
import wx.html2
Traceback (most recent call last):
File “”, line 1, in
File “/usr/lib/python2.7/dist-packages/wx-3.0-gtk2/wx/html2.py”, line 8, in
import _html2
ImportError: /usr/lib/python2.7/dist-packages/wx-3.0-gtk2/wx/_html2.arm-linux-gnueabihf.so: undefined symbol: wxEVT_WEBVIEW_NAVIGATED
···
The problem is apparently a Debian build problem, inherited by Ubuntu,
and was reported in late 2014:
Bug #1388847 “wxPython Error: running HTML2” : Bugs : wxpython3.0 package : Ubuntu
The problem seems to be a confusion between the versions of the webview
module. There are some potential workarounds listed in the bug report.
You may be able to fix it by building wxPython 3 yourself, although
that's a bit of an investment as well.
···
'Richard Kunzmann' via wxPython-users wrote:
Hello
I have set up a Raspberry Pi2 B+ as a tiny board-computer for a
sailboat to provide some helpful navigation information.
Everything was developed under Debian Wheezy, Python 2.7.9, using
wxPython 2.9 and does work fine.
Now I have started to upgrade my Raspberry Pi to Debian Jessie by
simply build a new image. This distribution offers already a
installable packed for wxPyton3.0.1.1.
So far so good …
However the html2 model has a serious problem (see below). As my
development depend on this module to display maps, own position and
some more details, the whole work under Jessie is worthless for the
time being.
Question:
1. is there anything I did wrong?
2. does wxPython have a problem with event definitions?
3. is this a problem in combination with Debian Jessie?
--
Tim Roberts, timr@probo.com
Providenza & Boekelheide, Inc.
Hello Tim, thanks for your answer.
To build wxPython 3 under Debian Wheezy ist not a problem at all. I have done that.
I did not succeed to build the wxPython3 for a Debian Jessie environment, even if I dainty tried to have all required libraries on board.
Thats why I hope, someone can help to define the right prerequisites for Debian Jessie.
···
Am Montag, 28. März 2016 20:10:17 UTC+2 schrieb Tim Roberts:
‘Richard Kunzmann’ via wxPython-users wrote:
Hello
I have set up a Raspberry Pi2 B+ as a tiny board-computer for a
sailboat to provide some helpful navigation information.
Everything was developed under Debian Wheezy, Python 2.7.9, using
wxPython 2.9 and does work fine.
Now I have started to upgrade my Raspberry Pi to Debian Jessie by
simply build a new image. This distribution offers already a
installable packed for wxPyton3.0.1.1.
So far so good …
However the html2 model has a serious problem (see below). As my
development depend on this module to display maps, own position and
some more details, the whole work under Jessie is worthless for the
time being.
Question:
- is there anything I did wrong?
- does wxPython have a problem with event definitions?
- is this a problem in combination with Debian Jessie?
The problem is apparently a Debian build problem, inherited by Ubuntu,
and was reported in late 2014:
[https://bugs.launchpad.net/ubuntu/+source/wxwidgets3.0/+bug/1388847](https://bugs.launchpad.net/ubuntu/+source/wxwidgets3.0/+bug/1388847)
The problem seems to be a confusion between the versions of the webview
module. There are some potential workarounds listed in the bug report.
You may be able to fix it by building wxPython 3 yourself, although
that’s a bit of an investment as well.
–
Tim Roberts, ti...@probo.com
Providenza & Boekelheide, Inc.