kicad-developers team mailing list archive
-
kicad-developers team
-
Mailing list archive
-
Message #42172
Re: [Patch] Make pl_editor runnable from build directory
-
To:
kicad-developers@xxxxxxxxxxxxxxxxxxx
-
From:
Wayne Stambaugh <stambaughw@xxxxxxxxx>
-
Date:
Fri, 4 Oct 2019 08:37:50 -0400
-
In-reply-to:
<CACp=VfYBtBVXPB6k-0x-4v3=LTJ6Fz+FFF09rHV6GMPe+eZNSQ@mail.gmail.com>
-
User-agent:
Mozilla/5.0 (Windows NT 10.0; WOW64; rv:60.0) Gecko/20100101 Thunderbird/60.9.0
You could add the build path to the kicad_pyshell module to the the
Python environment. It might be wise to make this a CMake configuration
option to prevent any name space clashes with the Python path of the
installed version of KiCad. That could lead to some rather unexpected
results.
On 10/3/2019 4:44 PM, Ian McInerney wrote:
> I usually run from the build directory, and have my debugger setup to
> use it that way. I think there is an issue with the Python libraries
> though, since starting the python console in Pcbnew gives the error
> "ModuleNotFoundError: No module named 'kicad_pyshell'", but I haven't
> dived into why.
>
> -Ian
>
> On Thu, Oct 3, 2019 at 7:56 PM Nick Østergaard <oe.nick@xxxxxxxxx
> <mailto:oe.nick@xxxxxxxxx>> wrote:
>
> It is quite some time since I tried to run anything of kicad in the
> build dir. Does it even work for other pats of kicad?
>
> I switched my workflow to make install and run it from there.
>
> On Thu, 3 Oct 2019 at 19:29, Ian McInerney <Ian.S.McInerney@xxxxxxxx
> <mailto:Ian.S.McInerney@xxxxxxxx>> wrote:
> >
> > It appears that the DSO searching code couldn't find the pl_editor
> kiface sine it used pagelayout_editor as the directory name instead
> of pl_editor (which is what it was assuming). Here is a patch to
> update the DSP search function to use the correct path for pl_editor.
> >
> > -Ian
> > _______________________________________________
> > 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
>
>
> _______________________________________________
> Mailing list: https://launchpad.net/~kicad-developers
> Post to : kicad-developers@xxxxxxxxxxxxxxxxxxx
> Unsubscribe : https://launchpad.net/~kicad-developers
> More help : https://help.launchpad.net/ListHelp
>
References