← Back to team overview

kicad-developers team mailing list archive

Re: 5.1.0-rc1

 

Hey Marcos,

Assuming the python script is compatible with python 3 and wxPython4
then it should work fine.

Wayne

On 2/9/19 4:43 PM, Marcos Chaparro 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 <stambaughw@xxxxxxxxx
> <mailto:stambaughw@xxxxxxxxx>> 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
>     <stambaughw@xxxxxxxxx <mailto:stambaughw@xxxxxxxxx>
>     > <mailto:stambaughw@xxxxxxxxx <mailto:stambaughw@xxxxxxxxx>>> 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     : kicad-developers@xxxxxxxxxxxxxxxxxxx
>     <mailto:kicad-developers@xxxxxxxxxxxxxxxxxxx>
>     >     <mailto:kicad-developers@xxxxxxxxxxxxxxxxxxx
>     <mailto:kicad-developers@xxxxxxxxxxxxxxxxxxx>>
>     >     Unsubscribe : https://launchpad.net/~kicad-developers
>     >     More help   : https://help.launchpad.net/ListHelp
>     >
> 


References