-
-
Notifications
You must be signed in to change notification settings - Fork 19
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
Unknown layer ID -1 error when trying to generate pinion diagram #34
Comments
I believe that you managed to install |
I downgraded Now I get this error: (process:64580): Pango-WARNING **: 20:07:34.842: failed to create cairo scaled font, expect ugly output. the offending font is 'Liberation Serif 2097151.9990234375'
(process:64580): Pango-WARNING **: 20:07:34.842: font_face status is: error occurred in libfreetype
(process:64580): Pango-WARNING **: 20:07:34.842: scaled_font status is: error occurred in libfreetype
thread '<unnamed>' panicked at 'assertion failed: h >= 0.0', src/text.rs:360:9
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
fatal runtime error: failed to initiate panic, error 5
zsh: IOT instruction (core dumped) pinion generate plotted --board keypad.kicad_pcb --specification |
I don't know what system do you run, but it seems that your |
Tried reinstalling pinion from git repository, now I have these versions: PcbDraw 1.0.1
pcbnewTransition 0.2.0
Pinion 0.1.0+34.gfcd0f5a and I get different error yet again Traceback (most recent call last):
File "/home/mj/.local/bin/pinion", line 8, in <module>
sys.exit(cli())
^^^^^
File "/usr/lib/python3.11/site-packages/click/core.py", line 1130, in __call__
return self.main(*args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3.11/site-packages/click/core.py", line 1055, in main
rv = self.invoke(ctx)
^^^^^^^^^^^^^^^^
File "/usr/lib/python3.11/site-packages/click/core.py", line 1657, in invoke
return _process_result(sub_ctx.command.invoke(sub_ctx))
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3.11/site-packages/click/core.py", line 1657, in invoke
return _process_result(sub_ctx.command.invoke(sub_ctx))
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3.11/site-packages/click/core.py", line 1404, in invoke
return ctx.invoke(self.callback, **ctx.params)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3.11/site-packages/click/core.py", line 760, in invoke
return __callback(*args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/mj/.local/lib/python3.11/site-packages/pinion/ui.py", line 72, in wrapper
return func(*args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^
File "/home/mj/.local/lib/python3.11/site-packages/pinion/ui.py", line 105, in generatePlotted
generate(specification=yaml.load(specification),
File "/home/mj/.local/lib/python3.11/site-packages/pinion/generate.py", line 328, in generate
fSource, bSource = imageGenerator(board, outputdir)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/mj/.local/lib/python3.11/site-packages/pinion/ui.py", line 98, in generateImages
return generateDrawnImages(board, outputdir, dpi, {
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/mj/.local/lib/python3.11/site-packages/pinion/generate.py", line 262, in generateDrawnImages
fSource = generateImage(board.GetFileName(), outputdir / "front.png",
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/mj/.local/lib/python3.11/site-packages/pinion/generate.py", line 193, in generateImage
image = plotter.plot()
^^^^^^^^^^^^^^
File "/home/mj/.local/lib/python3.11/site-packages/pcbdraw/plot.py", line 1039, in plot
self._build_libs_path()
File "/home/mj/.local/lib/python3.11/site-packages/pcbdraw/plot.py", line 1144, in _build_libs_path
for l in self.libs:
TypeError: 'NoneType' object is not iterable I also tried older versions of |
Hi, I get this error when trying following steps:
tried 2 different projects and both rendered and plotted options.
Full error
Versions:
OS: Fedora 37
KiCAD Platform: Linux 6.0.12-300.fc37.x86_64 x86_64, 64 bit, Little endian, wxGTK, gnome-xorg, x11
Python 3.11.0
pinion, version 0.2.0
PcbDraw 0.9.0
The text was updated successfully, but these errors were encountered: