kicad-developers team mailing list archive
-
kicad-developers team
-
Mailing list archive
-
Message #16891
Re: wxPython version check
It looks like something related to the python paths not
being able to find wx._core_.
I’ll put some time tonight on it.
Miguel Ángel Ajo
On Wednesday, 18 de February de 2015 at 16:33, Brian Sidebotham wrote:
> On 18 February 2015 at 14:26, Miguel Ángel Ajo <majopela@xxxxxxxxxx (mailto:majopela@xxxxxxxxxx)> wrote:
> >
> >
> >
> > Hmm, this crashes in the fedora nightly build during pcbnew startup, I need
> > to investigate why.
> >
> > https://github.com/KiCad/kicad-source-mirror/commit/69553d6fa31a60a4694395f0dcadfdbd787c21a8#diff-cdb8e872a96e63280c27292a5845cfbeR147
> >
> > snprintf( cmd, 1023, "import wxversion; wxversion.select('%s')",
> > WXPYTHON_VERSION );
> > PyRun_SimpleString( cmd );
> >
>
>
> Probably a missing
>
> PyLock lock;
>
> Also, we don't need to use snprintf here, we can simply use:
>
> const char* cmd = "import wxversion; wxversion.select('"
> WXPYTHON_VERSION "')";
>
> instead.
>
> Sorry I don't have time to investigate the crash right now. Good Luck.
>
> Best Regards,
>
> Brian.
>
> _______________________________________________
> Mailing list: https://launchpad.net/~kicad-developers
> Post to : kicad-developers@xxxxxxxxxxxxxxxxxxx (mailto:kicad-developers@xxxxxxxxxxxxxxxxxxx)
> Unsubscribe : https://launchpad.net/~kicad-developers
> More help : https://help.launchpad.net/ListHelp
>
>
Follow ups
References
-
wxPython version check
From: Garth Corral, 2015-02-15
-
Re: wxPython version check
From: Wayne Stambaugh, 2015-02-15
-
Re: wxPython version check
From: Garth Corral, 2015-02-15
-
Re: wxPython version check
From: Wayne Stambaugh, 2015-02-15
-
Re: wxPython version check
From: Garth Corral, 2015-02-16
-
Re: wxPython version check
From: Wayne Stambaugh, 2015-02-16
-
Re: wxPython version check
From: Garth Corral, 2015-02-16
-
Re: wxPython version check
From: Wayne Stambaugh, 2015-02-16
-
Re: wxPython version check
From: Garth Corral, 2015-02-16
-
Re: wxPython version check
From: Wayne Stambaugh, 2015-02-16
-
Re: wxPython version check
From: Garth Corral, 2015-02-16
-
Re: wxPython version check
From: Brian Sidebotham, 2015-02-16
-
Re: wxPython version check
From: Wayne Stambaugh, 2015-02-16
-
Re: wxPython version check
From: Brian Sidebotham, 2015-02-16
-
Re: wxPython version check
From: Brian Sidebotham, 2015-02-16
-
Re: wxPython version check
From: Wayne Stambaugh, 2015-02-16
-
Re: wxPython version check
From: Brian Sidebotham, 2015-02-17
-
Re: wxPython version check
From: Miguel Ángel Ajo, 2015-02-18
-
Re: wxPython version check
From: Brian Sidebotham, 2015-02-18