← Back to team overview

kicad-developers team mailing list archive

Re: [PATCH] Fix wrong directory building for python plugins

 

Hi Jean-Pierre,

Very strange, It look like a python parse error but I can't reproduce
under Linux. Could you also confirm that python shell is not working
when patch is applied ?

Thanks,
Le 23/06/2017 à 13:47, jp charras a écrit :
> Le 22/06/2017 à 19:34, reynaud a écrit :
>> Hi all,
>>
>> See attached patch to use os.path.join instead of manual building of
>> path.
>>   The previous "plugins_dir+module" was not working in most case (when
>> plugins_dir don't have a tailing "/")
>>
>>   It will allow Python plugin inside directory to be correctly loaded
>> when those plugins are installed inside KiCad's system plugin directory
>>  (/usr/share/kicad/scripting/plugins for example in Linux)
>>
>>
>> Regards,
>>
> 
> Hi Jean-Samuel,
> 
> I tried your patch, but after applying it, Pythons scripts (both action scripts and footprint
> wizards) are no longer loaded (W7, 32 bits).
> 
> Sorry.
> 



Follow ups

References