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

TypeError: get() got an unexpected keyword argument 'fallback' #124

Closed
gbmhunter opened this issue Jul 27, 2020 · 1 comment
Closed

TypeError: get() got an unexpected keyword argument 'fallback' #124

gbmhunter opened this issue Jul 27, 2020 · 1 comment

Comments

@gbmhunter
Copy link
Contributor

gbmhunter commented Jul 27, 2020

I am using the latest version of KiBoM (master branch as of today) with KiCAD v5.1.6 on Ubuntu 18.04.

I am invoking KiBoM using the KiCAD GUI. The first time (when no bom.ini is present) it works fine. However when I click Generate a second time it fails with the following error (I have made no bom.ini modifications):

Error messages:
Traceback (most recent call last):
  File "/home/ghunter/repos/kibom/KiBOM_CLI.py", line 28, in <module>
    main()
  File "/home/ghunter/repos/kibom/kibom/__main__.py", line 175, in main
    pref.Read(config_file)
  File "/home/ghunter/repos/kibom/kibom/preferences.py", line 147, in Read
    fallback=self.outputFileName)
TypeError: get() got an unexpected keyword argument 'fallback'
@gbmhunter
Copy link
Contributor Author

Woops, I traced this problem to the fact that my system python was symlinked to python2 and not python3. Calling python3 fixed this.

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

1 participant