User Tools

Site Tools


proj:devdocs

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
proj:devdocs [2016/05/21 16:23]
admin [wxPython 2.8 vs 3.0]
proj:devdocs [2016/05/21 20:27] (current)
admin [wxPython 2.8 vs 3.0]
Line 13: Line 13:
 OSX - 2.8 works fine but can change to 3.0 easily enough (homebrew installs 3 rather than 2.8 so, in some ways, easier). If changing to 3.0 need to rebake wxPython etc into the binary using pyinstaller. OSX - 2.8 works fine but can change to 3.0 easily enough (homebrew installs 3 rather than 2.8 so, in some ways, easier). If changing to 3.0 need to rebake wxPython etc into the binary using pyinstaller.
  
-Ubuntu - 2.8 works fine on all versions until Xenial in which case need 3.0. May be best to specify 3.0 in the control file for the debian package. As long as it runs on Trusty OK then we are done. Can make just the one version of the binary. But it all depends on whether the versions of wxPython 3.0 available on Trusty have the latest bug fix (https://​bugs.launchpad.net/​ubuntu/​+source/​wxpython3.0/​+bug/​1388847) backported. The fix enables wxHTML2 to work without having to load environment variable as per LD_PRELOAD = /​usr/​lib/​i386-linux-gnu/​libwx_gtk2u_webview-3.0.so.0.2.0 in my case (i386 vs x86_64).+Ubuntu - 2.8 works fine on all versions until Xenial in which case need 3.0. May be best to specify 3.0 in the control file for the debian package. As long as it runs on Trusty OK then we are done. Can make just the one version of the binary. But it all depends on whether the versions of wxPython 3.0 available on Trusty have the latest bug fix (https://​bugs.launchpad.net/​ubuntu/​+source/​wxpython3.0/​+bug/​1388847) backported. The fix enables wxHTML2 to work without having to load environment variable as per LD_PRELOAD = /​usr/​lib/​i386-linux-gnu/​libwx_gtk2u_webview-3.0.so.0.2.0 in my case (i386 vs x86_64). ​While waiting the following works on some systems - export LD_PRELOAD='/​usr/​lib/​i386-linux-gnu/​libwx_gtk2u_webview-3.0.so.0.2.0'​ && sofastats
  
-Action - wait until the bug fix is released. Current version of wxPython3.0 is 3.0.2.0+dfsg-**1**build1 - we need wxpython3.0 - 3.0.2.0+dfsg-**2**. Then try to install using a new SOFA debian package I create requiring 3.0. Currently a weird problem ​installing via new GNOME Software Centredpkg -i fails and need sudo apt-get install -f to fix. Not entirely surprising given known limitations of dpkg in resolving dependencies. Best to get deb package working when opened via new GNOME software centreWhy not working currently?+Action - wait until the bug fix is released. Current version of wxPython3.0 is 3.0.2.0+dfsg-**1**build1 - we need wxpython3.0 - 3.0.2.0+dfsg-**2**. Then try to install using a new SOFA debian package I create requiring 3.0. Software installation ​problem ​solved when 16.04 upgraded May 22nd (probably from changes introduced earlier).
  
 Note - don't try to run the 2.8 version while loading the LD_PRELOAD command needed as workaround bug in wxHTML2 just fixed. Breaks RadioBoxes ;-). Note - don't try to run the 2.8 version while loading the LD_PRELOAD command needed as workaround bug in wxHTML2 just fixed. Breaks RadioBoxes ;-).
proj/devdocs.1463862190.txt.gz ยท Last modified: 2016/05/21 16:23 by admin