-
Notifications
You must be signed in to change notification settings - Fork 23
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
Travis script throwing error #38
Comments
@spuder probably something for you to take a look. |
Most likely what is going on is an incompatible version of a package that is installed. The travis scripts are only tested on ubuntu 14.04 (trusty). Are you running these scripts on your workstation? Or is it travis that is failing? Do you have docker installed? Could you try running these commands and see if it gives the same error?
|
Hi, thanks. Date of KiCad version required (or newer): 11/30/17 Full error text: Date of KiCad version required (or newer): 11/30/17 Full error text: Converting ./plot/187bd8e/drone-kicad-sample.kicad_pcb to .pdf's Files will be saved to /tmp/pdf Date of KiCad version required (or newer): 11/30/17 Full error text: Date of KiCad version required (or newer): 11/30/17 Full error text: Converting /tmp/pdf/current/.pdf to .png I cannot use 14.04 due to very old KiCAD package. I checked KiCAD source and cannot find where YELLOW and other colors are defined. It's very strange that other literals work and only YELLOW is missing By the way, are you going to maintain this script? Maybe it's worth separate repo? |
Still looking into this. The original purpose was to allow the UHK developers to visually see any changes made to the design in merge requests. It needs to be part of this repo so Travis-CI could run the script. The root cause is that the designs have moved to kicad5, whereas the scripts were written for kicad4. |
We don't need the visual diff feature anymore, so feel free to remove it @spuder. Thanks for your help! |
I'm trying to use the travis diff script and it's throwing error:
root@12ba8a8b9dbe:/kicad# ./generate-png-diff.sh
Copying 187bd8e:drone-kicad-sample.kicad_pcb to ./plot/187bd8e/
Kicad files saved to: './plot/current' and './plot/187bd8e'
Converting ./plot/current/drone-kicad-sample.kicad_pcb to .pdf: Files will be saved to /tmp/pdf
Traceback (most recent call last):
File "/tmp/plot_board.py", line 172, in
popt.SetColor(YELLOW)
NameError: name 'YELLOW' is not defined
Converting ./plot/187bd8e/drone-kicad-sample.kicad_pcb to .pdf's Files will be saved to /tmp/pdf
Traceback (most recent call last):
File "/tmp/plot_board.py", line 172, in
popt.SetColor(YELLOW)
NameError: name 'YELLOW' is not defined
The text was updated successfully, but these errors were encountered: