Hi Marcos, I'm the author of that plugin and issues with gtk2 and wxpython on linux are extensively covered on plugins FAQ and installation pages on the wiki https://github.com/openscopeproject/InteractiveHtmlBom/wiki Also this issue https://github.com/openscopeproject/InteractiveHtmlBom/issues/47
Plugin itself is compatible with python 3 (although it's not required to make it work on ubuntu 18) and with gtk3 (which is required) so all you have to do is wait until KiCad build in ubuntu ppa for 18.04 is built with gtk3 or compile KiCad yourself with right options (-DwxWidgets_CONFIG_OPTIONS="–toolkit=gtk3"). In the future I invite you to discuss issues with this plugin on github or kicad.info thread https://forum.kicad.info/t/interactive-html-bom-plugin-for-kicad-5-0/11713 Regards, Andrew On Sat, Feb 9, 2019 at 1:43 PM Marcos Chaparro <[email protected]> wrote: > Hi Wayne, > > sure, KiCad is not resposible of third party plugins, but since this > particular one is very popular amongst users I thought I should send the > heads up to the list if it helps preventing user rants, because it didn't > work with a deb package from JS's repository. Once the repo gets the config > switches right it should work perfect. > > Thanks! > > Marcos > > > On Sat, Feb 9, 2019 at 1:47 PM Wayne Stambaugh <[email protected]> > wrote: > >> Hi Marcos, >> >> KiCad is not responsible for third party python plugins. My guess is >> the script in question loads wxPython build against a different version >> of gtk than wxPython. Loading gtk2 and gtk3 in the same application >> will cause pcbnew to crash. If look carefully at the KiCad build info, >> you will notice wxPython support is disable >> (KICAD_SCRIPTING_WXPYTHON=OFF) so you cannot run any python script that >> calls wx with this build. >> >> Cheers, >> >> Wayne >> >> On 2/8/19 2:43 PM, Marcos Chaparro wrote: >> > Hi, I'm failing to find this issue in the bug tracker, so please let me >> > know if its already reported. If not I can report it. >> > >> > Every time I launch pcbnew with a plugin in /home/marcos/.kicad_plugins/ >> > it immediately crashes. It starts normally if I remove .kicad_plugins. >> > This is the plugin that makes it >> > crash: https://github.com/openscopeproject/InteractiveHtmlBom, its >> quite >> > a popular one. >> > >> > I'm running ubuntu 18.04 (actually, its a https://neon.kde.org/) so its >> > using gtk3 afaik. >> > >> > Application: kicad >> > Version: 5.1.0-rc1-unknown-5072298~84~ubuntu18.04.1, release build >> > Libraries: >> > wxWidgets 3.0.4 >> > libcurl/7.58.0 OpenSSL/1.1.0g zlib/1.2.11 libidn2/2.0.4 >> > libpsl/0.19.1 (+libidn2/2.0.4) nghttp2/1.30.0 librtmp/2.3 >> > Platform: Linux 4.15.0-39-generic x86_64, 64 bit, Little endian, wxGTK >> > Build Info: >> > wxWidgets: 3.0.4 (wchar_t,wx containers,compatible with 2.8) GTK+ >> 2.24 >> > Boost: 1.65.1 >> > OpenCASCADE Community Edition: 6.9.1 >> > Curl: 7.58.0 >> > Compiler: GCC 7.3.0 with C++ ABI 1011 >> > >> > Build settings: >> > USE_WX_GRAPHICS_CONTEXT=OFF >> > USE_WX_OVERLAY=OFF >> > KICAD_SCRIPTING=ON >> > KICAD_SCRIPTING_MODULES=ON >> > KICAD_SCRIPTING_PYTHON3=OFF >> > KICAD_SCRIPTING_WXPYTHON=OFF >> > KICAD_SCRIPTING_WXPYTHON_PHOENIX=OFF >> > KICAD_SCRIPTING_ACTION_MENU=ON >> > BUILD_GITHUB_PLUGIN=ON >> > KICAD_USE_OCE=ON >> > KICAD_USE_OCC=OFF >> > KICAD_SPICE=ON >> > >> > This has been happening for quite a while, but I don't know how to dig >> > deeper into the issue. >> > >> > Marcos >> > >> > >> > On Thu, Feb 7, 2019 at 4:49 PM Wayne Stambaugh <[email protected] >> > <mailto:[email protected]>> wrote: >> > >> > On 2/7/2019 2:28 PM, Steven A. Falco wrote: >> > > On 2/7/19 2:11 PM, Wayne Stambaugh wrote: >> > >> On 2/7/2019 1:38 PM, Vesa Solonen wrote: >> > >>> Steven A. Falco kirjoitti 7.2.2019 klo 18.04: >> > >>> >> > >>>> However, because of the eeschema line-width issues that I >> > mentioned yesterday, I'm not convinced that users will be happy with >> > gtk3. >> > >>>> >> > >>>> In the attached screenshot, compare the line width at pin 2 and >> > pin 3 of the op-amp. >> > >>> >> > >>> Hi Steve, >> > >>> >> > >>> This is not gtk3 specific, but comes from the rounding issues in >> > >>> Eeschema new drawing code (both OpenGL and Cairo). Unfortunately >> > proper >> > >>> solutions are not trivial. One can mask it bearably by using >> Cairo >> > >>> drawing with anti-aliasing turned on (at least on 4k >> resolutions). >> > >>> >> > >>> -Vesa >> > >>> >> > >> >> > >> This problem will get fixed during v6 development. The other >> > option is >> > >> to build with wxWidgets with gtk2 and disable wxPython support. >> > There >> > >> is no ideal solution at the moment. This is the reason that we >> even >> > >> created a 5.1 release. I think users would rather have the >> slightly >> > >> distorted graphics (which Vesa's suggest improves) than no >> > wxPython support. >> > > >> > > Well, based on my test of the nighlies (built with gtk2), I don't >> > think gtk2 will help. I attached three screen shots - the titles >> > should be self-explanatory. You can see the distortion even in the >> > gtk2 nightlies. >> > > >> > > Steve >> > >> > The legacy canvas is still available with gtk2 builds so you don't >> have >> > to use the modern canvas should you choose not to do so. The legacy >> > canvas is disabled in gtk3 builds because it is completely broken. >> > >> > Wayne >> > >> > _______________________________________________ >> > Mailing list: https://launchpad.net/~kicad-developers >> > Post to : [email protected] >> > <mailto:[email protected]> >> > Unsubscribe : https://launchpad.net/~kicad-developers >> > More help : https://help.launchpad.net/ListHelp >> > >> > _______________________________________________ > Mailing list: https://launchpad.net/~kicad-developers > Post to : [email protected] > Unsubscribe : https://launchpad.net/~kicad-developers > More help : https://help.launchpad.net/ListHelp >
_______________________________________________ Mailing list: https://launchpad.net/~kicad-developers Post to : [email protected] Unsubscribe : https://launchpad.net/~kicad-developers More help : https://help.launchpad.net/ListHelp

