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

Error writing XLSX output in KiBoM 1.8.0 #153

Closed
KKlim opened this issue Feb 6, 2021 · 3 comments
Closed

Error writing XLSX output in KiBoM 1.8.0 #153

KKlim opened this issue Feb 6, 2021 · 3 comments

Comments

@KKlim
Copy link

KKlim commented Feb 6, 2021

The script starts but no xlsx output file is generated. Some bugs are reported.
Other formats such as csv, tsv, txt, html work rather ok and generate output files.

Windows 10 Pro 64bit PL
KiCad version: 5.1.9

Run command:
python "C:_KiCad\KiBoM/KiBOM_CLI.py" -v "C:_KiCad\KiBoM\test\kibom-test.xml" "C:/_KiCad/KiBoM/test/kibom-test.xlsx"

Command error. Return code -1
Info messages:
KiBOM version 1.8.0
Output directory: 'C:_KiCad\KiBoM\test'
Input: C:_KiCad\KiBoM\test\kibom-test.xml
Configuration file: C:_KiCad\KiBoM\test\bom.ini
PCB variant: default
Saving BOM File: C:_KiCad\KiBoM\test\kibom-test_bom_A.xlsx
ERROR Error writing XLSX output
ERROR Error writing variant 'None'

@set-soft
Copy link
Contributor

set-soft commented Feb 6, 2021

Do you have the xlsxwriter python module installed?

@KKlim
Copy link
Author

KKlim commented Feb 8, 2021

After installing the XlsxWriter module, xlsx files are generated.
Thanks for the hint. :-)

I have suggestions that in the documentation, instead of:
XLSX (Needs XlsxWriter Python module)
it was written:
XLSX (Needs XlsxWriter Python module to be installed).

Link to the description of how to install XlsxWriter:
https://xlsxwriter.readthedocs.io/getting_started.html

@KKlim KKlim closed this as completed Feb 9, 2021
@KKlim
Copy link
Author

KKlim commented Feb 9, 2021

See also: #143

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

2 participants