Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Instructions / make_link for windows? #8

Open
cmaxwellau opened this issue Nov 11, 2019 · 2 comments
Open

Instructions / make_link for windows? #8

cmaxwellau opened this issue Nov 11, 2019 · 2 comments

Comments

@cmaxwellau
Copy link

Using nightly build as advised.

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

Refresh plugins -> no joy

@qu1ck
Copy link
Collaborator

qu1ck commented Nov 11, 2019

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

@frank07548
Copy link

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?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants