kicad_freerouting-plugin icon indicating copy to clipboard operation
kicad_freerouting-plugin copied to clipboard

Instructions / make_link for windows?

Open cmaxwellau opened this issue 5 years ago • 2 comments

Using nightly build as advised.

Cloned into C:\Users\Me\AppData\Local\kicad\scripting\kicad_freerouting-plugin

Refresh plugins -> no joy

cmaxwellau avatar Nov 11 '19 12:11 cmaxwellau

Local appdata is not one of monitored folders on windows iirc. Roaming appdata definitely is. To check full list of monitored folders open scripting console in pcbnew and paste this one line at a time:

import pcbnew
print pcbnew.PLUGIN_DIRECTORIES_SEARCH

qu1ck avatar Nov 11 '19 22:11 qu1ck

I used the nightly build kicad-r15230.ba8c3a558-x86_64.exe and cloned the plugin files directly into KiCAD\share\kicad\scripting\plugins. No reaction after rereshing the plugins. Then I called the plugin.py within the python console. So I found that module configparser was not found. Listed all modules (help() - modules) and found, that it must be ConfigParser. Modified the appropriate lines within the plugin.py and refreshed again. Now the button and the menu entry occured. But when I tried to call the Freerouting-plugin, some new errors occured:

File E:\Programme\KiCAD\share\kicad\scripting\plugins\plugin.py line 125, in Run self.RunSteps() File E:\Programme\KiCAD\share\kicad\scripting\plugins\plugin.py line line 40, in prepare self.java_path = config['java']['path'] AttributeError: ConfigParser instance has no attribute 'getitem'

What's wrong?

frank07548 avatar Mar 22 '20 19:03 frank07548