Board2Pdf v1.1 released in PCM

@AB007 You’re running the install command from the scripting console within Pcbnew. You must run the command from the KiCad 7.0 Command Prompt.

See: Install dependencies · Wiki · Albin Dennevi / Board2Pdf · GitLab

I don’t know how to open the KiCad 7.0 Command Prompt in ARM MacOS. On Windows there’s a shortcut to it in the Start Menu where the shortcuts to KiCad, PCB Editor, Schematic Editor and such are. I’m guessing there should be a similar collection of shortcuts somewhere on your system?

I have no idea unfortunately. What Linux distribution are you running? Is there a place somewhere where the installer placed shortcuts to KiCad, PCB Editor, Schematic Editor etc.? I was hoping that there would also be a shortcut to KiCad 7.0 Command Prompt in the same place.

On windows the KiCad 7.0 Command Prompt shortcut goes to “C:\Program Files\KiCad\7.0\bin\kicad-cmd.bat”. Maybe there’s a kicad-cmd.sh in your installation folder?

On linux there is no need for kicad command prompt because it uses system utils (unless you use flatpak install in which case it’s complicated). So just run the pip install command from your system terminal. Add --user to the end of it to avoid installing in system dirs and needing root.

On mac I think situation is the same, KiCad switched to using system python. Hopefully mac users can confirm.

1 Like

Thanks @qu1ck! That’s really good to know.

@tTom and @AB007 Please confirm if it works when you run the command from your system terminal.

Hi @albin, this is probably a KDE related problem (I use KUBUNTU 20.04). Actually pcbnew generates a “segmentation fault” when pugin Board2Pdf v1.1 is installed. While in XFCE (Linux Mint Xfce) this problem does not exist and the plugin works correctly.
In my opinion the problem is not related to the presence or absence of PyMuPDF.
I am using KiCad v7:

Application: KiCad x86_64 on x86_64

Version: 7.0.1-3b83917a11~171~ubuntu20.04.1, release build

Libraries:
wxWidgets 3.2.1
FreeType 2.10.1
HarfBuzz 6.0.0
FontConfig 2.13.1
libcurl/7.68.0 OpenSSL/1.1.1f zlib/1.2.11 brotli/1.0.7 libidn2/2.2.0 libpsl/0.21.0 (+libidn2/2.2.0) libssh/0.9.3/openssl/zlib nghttp2/1.40.0 librtmp/2.3

Platform: Ubuntu 20.04.5 LTS, 64 bit, Little endian, wxGTK, KDE, x11

Build Info:
Date: Mar 11 2023 17:00:22
wxWidgets: 3.2.1 (wchar_t,wx containers) GTK+ 3.24
Boost: 1.71.0
OCC: 7.5.2
Curl: 7.87.0
ngspice: 38
Compiler: GCC 9.4.0 with C++ ABI 1013

Build settings:
KICAD_SPICE=ON

Translated with DeepL Translate: The world's most accurate translator (free version)

Hi @ciondo61,
That’s not good… Do you know while row in Board2Pdf causes the segmentation fault?

@albin unfortunately, I was unable to trace the cause of the malfunction. I can only say that I have 2 PCs with Kubuntu and on both of them the problem exists, while in the third PC with Mint Xfce the problem does not exist. That is why I think the problem arises from KDE (Plasma), but I could very well be wrong.
The effect is that launching PCBNEW with the Board2Pdf v1.1 plugin installed KiCad suddenly closes due to a segmentation fault. I will do some more testing but I don’t think I can solve it.

Thanks for testing! Unfortunately I don’t have any machine with KDE so I’m not able to help here…

Is it only Board2Pdf that causes this, or does other plugins installed using PCM also cause a segmentation fault?

All other installed plugins do not generate this problem (I have several installed). I also tried to install Board2Pdf v1.1 manually without making use of PCM but the situation is the same, a “segmentation fault” is generated.
I think @tTom when he says “If i install Board2Pdf vis PCM an start KiCad PCB KiCad dissapears…” he has exactly the same problem I am experiencing.
@tTom are you using KDE plasma?

Launch kicad from terminal and see if any errors are printed when kicad crashes.
You can also run it under debugger by launching it from terminal with gdb kicad and then type in run. When it crashes it will print some useful stuff.

I’ve try to do-it from MAC terminal and get this:

Last login: Sun Mar 12 16:40:56 on ttys000

andreibucsa@Andreis-MacBook-Pro ~ % python -m pip3 install --upgrade pdfCropMargins

zsh: command not found: python

andreibucsa@Andreis-MacBook-Pro ~ % pip3 install --upgrade pdfCropMargins

xcrun: error: invalid active developer path (/Library/Developer/CommandLineTools), missing xcrun at: /Library/Developer/CommandLineTools/usr/bin/xcrun

andreibucsa@Andreis-MacBook-Pro ~ % pip install --upgrade pdfCropMargins

zsh: command not found: pip

andreibucsa@Andreis-MacBook-Pro ~ % pip3

xcrun: error: invalid active developer path (/Library/Developer/CommandLineTools), missing xcrun at: /Library/Developer/CommandLineTools/usr/bin/xcrun

andreibucsa@Andreis-MacBook-Pro ~ %

Do this first
xcode-select --install

I’ve install Xcode then install pdfCropMargins with pip3 install --upgrade pdfCropMargins (from MAC terminal) but get now the following error:

colorize_pdf failed

On input file Radar Base Board V2-F_Cu.pdf in /Users/andreibucsa/Documents/KiCAD V7 projects/Radar Base Board V2/plots/temp

Traceback (most recent call last):

File “/Users/andreibucsa/Documents/KiCad/7.0/3rdparty/plugins/com_gitlab_dennevi_Board2Pdf/plot.py”, line 40, in colorize_pdf

doc.save(os.path.join(folder, outputFile), clean=True)

File “/Users/andreibucsa/Library/Python/3.9/lib/python/site-packages/fitz/fitz.py”, line 4550, in save

return _fitz.Document_save(self, filename, garbage, clean, deflate, deflate_images, deflate_fonts, incremental, ascii, expand, linear, no_new_id, appearance, pretty, encryption, permissions, owner_pw, user_pw)

RuntimeError: invalid key in dict

Now you’ve got the same error as reported earlier today.

I don’t know why you’re getting “RuntimeError: invalid key in dict”. It works fine for me, but apparently something has changed in v7.0.1 which results in some people getting this error. In the issue linked above, René gets this error on Version: 7.0.1, release build on Windows 10. He also uses the latest version of Board2Pdf and the latest version of PyMuPDF (1.21.1).

I don’t understand why it works for me, but not for you…

I’ll test on some other machines as well to see if I manage to get this error.

i’m using `Linux Mint 21.1 Cinnamon and Kicad 7.0.1
Application: KiCad x86_64 on x86_64

Version: 7.0.1-3b83917a11~171~ubuntu22.04.1, release build

Libraries:
wxWidgets 3.2.1
FreeType 2.11.1
HarfBuzz 6.0.0
FontConfig 2.13.1
libcurl/7.81.0 OpenSSL/3.0.2 zlib/1.2.11 brotli/1.0.9 zstd/1.4.8 libidn2/2.3.2 libpsl/0.21.0 (+libidn2/2.3.2) libssh/0.9.6/openssl/zlib nghttp2/1.43.0 librtmp/2.3 OpenLDAP/2.5.13

Platform: Linux Mint 21.1, 64 bit, Little endian, wxGTK, cinnamon, x11

Build Info:
Date: Mar 11 2023 17:01:09
wxWidgets: 3.2.1 (wchar_t,wx containers) GTK+ 3.24
Boost: 1.74.0
OCC: 7.5.2
Curl: 7.87.0
ngspice: 38
Compiler: GCC 11.3.0 with C++ ABI 1016

Build settings:
KICAD_SPICE=ON

I tried several ways to install pdfCropMargins. On the system terminal it seems to work, it was not installed as python system but on the KiCad user path were all other Plugins are. Also on the User-Python path. Once this seems to be successful with:
pip install PyMuPDF
then Kicad completely disappeared after starting PCBNEW.

So i think it is a problem with Cinnamon, as ciondo61 wrote.

KiCad 6 i tested for the first time and used Board2Pdf manually installed, really awsome tool for documentation. Many thanks dear albin. It took time to switch from windows to linux, and there is still a lot to learn for me. This year i started using Kicad and made several little boards.
Hope there is a way to get your wonderful plugin to work.

If i start KiCad at the terminal with installed Board2Pdf and starting PCBNEW:
grafik

@qu1ck I will now try with the debugger

ich@lappy:~$ gdb kicad
GNU gdb (Ubuntu 12.1-0ubuntu1~22.04) 12.1
Copyright (C) 2022 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.
Type "show copying" and "show warranty" for details.
This GDB was configured as "x86_64-linux-gnu".
Type "show configuration" for configuration details.
For bug reporting instructions, please see:
<https://www.gnu.org/software/gdb/bugs/>.
Find the GDB manual and other documentation resources online at:
    <http://www.gnu.org/software/gdb/documentation/>.

For help, type "help".
Type "apropos word" to search for commands related to "word"...
Reading symbols from kicad...
Reading symbols from /usr/lib/debug/.build-id/54/877db58d2f5987610992475fbcbeed511918c7.debug...
(gdb) run
Starting program: /usr/bin/kicad 
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
[New Thread 0x7ffff1111640 (LWP 99061)]
[New Thread 0x7ffff0910640 (LWP 99062)]
[New Thread 0x7fffebda8640 (LWP 99063)]
[Thread 0x7fffebda8640 (LWP 99063) exited]
[New Thread 0x7fffebda8640 (LWP 99064)]
[New Thread 0x7fffeb533640 (LWP 99065)]
[Thread 0x7fffebda8640 (LWP 99064) exited]
[Thread 0x7fffeb533640 (LWP 99065) exited]
[New Thread 0x7fffeb533640 (LWP 99066)]
[New Thread 0x7fffebda8640 (LWP 99067)]
[New Thread 0x7fffeaa79640 (LWP 99068)]
[New Thread 0x7fffea250640 (LWP 99069)]
[New Thread 0x7fffe9a33640 (LWP 99070)]
[New Thread 0x7fffe9232640 (LWP 99071)]
[Thread 0x7fffe9a33640 (LWP 99070) exited]
[Thread 0x7fffe9232640 (LWP 99071) exited]
[New Thread 0x7fffe9232640 (LWP 99072)]
[New Thread 0x7fffe9a33640 (LWP 99073)]
[Thread 0x7fffe9232640 (LWP 99072) exited]
[Thread 0x7fffe9a33640 (LWP 99073) exited]
[New Thread 0x7fffe9a33640 (LWP 99074)]
[New Thread 0x7fffe9232640 (LWP 99075)]
[Thread 0x7fffe9a33640 (LWP 99074) exited]
[Thread 0x7fffe9232640 (LWP 99075) exited]
[New Thread 0x7fffe9232640 (LWP 99076)]
[New Thread 0x7fffe9a33640 (LWP 99077)]
[Thread 0x7fffe9232640 (LWP 99076) exited]
[Thread 0x7fffe9a33640 (LWP 99077) exited]
[New Thread 0x7fffe9a33640 (LWP 99078)]
[Detaching after vfork from child process 99079]
[Detaching after vfork from child process 99081]
[Detaching after vfork from child process 99083]
[Detaching after vfork from child process 99085]
[Detaching after vfork from child process 99087]
[Detaching after vfork from child process 99089]
[Detaching after vfork from child process 99091]
[Detaching after vfork from child process 99093]
[Detaching after vfork from child process 99095]
[Detaching after vfork from child process 99097]
[New Thread 0x7fffe9232640 (LWP 99099)]
[Thread 0x7fffeaa79640 (LWP 99068) exited]
[Thread 0x7fffe9232640 (LWP 99099) exited]
[Thread 0x7fffeb533640 (LWP 99066) exited]
[Thread 0x7fffebda8640 (LWP 99067) exited]
[New Thread 0x7fffebda8640 (LWP 99100)]
[Thread 0x7fffebda8640 (LWP 99100) exited]
[Thread 0x7fffe9a33640 (LWP 99078) exited]
[Thread 0x7fffea250640 (LWP 99069) exited]
[New Thread 0x7fffea250640 (LWP 99107)]
[New Thread 0x7fffebda8640 (LWP 99108)]
[New Thread 0x7fffeb533640 (LWP 99109)]
[New Thread 0x7fffe9232640 (LWP 99110)]
[New Thread 0x7fffc67bc640 (LWP 99111)]
[New Thread 0x7fffc5fbb640 (LWP 99112)]
[New Thread 0x7fffc57ba640 (LWP 99113)]
[New Thread 0x7fffc4fb9640 (LWP 99114)]
[New Thread 0x7fffc45d0640 (LWP 99115)]
[New Thread 0x7fffc3dcf640 (LWP 99116)]
[New Thread 0x7fffc35ce640 (LWP 99117)]
[New Thread 0x7fffc1612640 (LWP 99118)]
[New Thread 0x7fffc0e11640 (LWP 99119)]
[Thread 0x7fffc1612640 (LWP 99118) exited]
[Thread 0x7fffc0e11640 (LWP 99119) exited]
[New Thread 0x7fffc0e11640 (LWP 99120)]
[New Thread 0x7fffc1612640 (LWP 99121)]
[Thread 0x7fffc0e11640 (LWP 99120) exited]
[Thread 0x7fffc1612640 (LWP 99121) exited]
[Thread 0x7fffc3dcf640 (LWP 99116) exited]
[Thread 0x7fffc45d0640 (LWP 99115) exited]

Thread 1 "kicad" received signal SIGSEGV, Segmentation fault.
0x000055555846fe00 in ?? ()
(gdb)

(Edit by qu1ck for formatting)

Can you type in bt after that to see the backtrace?

stefano@stefanoDesktopLinux:~/.local/share/kicad/7.0/scripting/plugins$ gdb pcbnew
GNU gdb (Ubuntu 9.2-0ubuntu1~20.04.1) 9.2
Copyright (C) 2020 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.
Type "show copying" and "show warranty" for details.
This GDB was configured as "x86_64-linux-gnu".
Type "show configuration" for configuration details.
For bug reporting instructions, please see:
<http://www.gnu.org/software/gdb/bugs/>.
Find the GDB manual and other documentation resources online at:
    <http://www.gnu.org/software/gdb/documentation/>.

For help, type "help".
Type "apropos word" to search for commands related to "word"...
Reading symbols from pcbnew...
(No debugging symbols found in pcbnew)
(gdb) run
Starting program: /usr/bin/pcbnew 
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
[New Thread 0x7fffeb259700 (LWP 9209)]
[New Thread 0x7fffeaa58700 (LWP 9210)]
[New Thread 0x7fffea257700 (LWP 9211)]
[New Thread 0x7fffe9a56700 (LWP 9212)]
[Detaching after vfork from child process 9213]
[Detaching after vfork from child process 9215]
[Detaching after vfork from child process 9217]
[Detaching after vfork from child process 9219]
[Detaching after vfork from child process 9221]
[Detaching after vfork from child process 9223]
[Detaching after vfork from child process 9225]
[Detaching after vfork from child process 9227]
[Detaching after vfork from child process 9229]
[New Thread 0x7fffe9215700 (LWP 9231)]
[New Thread 0x7fffe8a14700 (LWP 9232)]
[New Thread 0x7fffe3fff700 (LWP 9233)]
[New Thread 0x7fffe128e700 (LWP 9234)]

Thread 1 "pcbnew" received signal SIGSEGV, Segmentation fault.
0x0000555557f9dff0 in ?? ()
(gdb) bt
#0  0x0000555557f9dff0 in  ()
#1  0x00007fffeb4ebed3 in cmsSignalError () at /lib/x86_64-linux-gnu/liblcms2.so.2
#2  0x00007fffeb4f34da in cmsOpenIOhandlerFromMem () at /lib/x86_64-linux-gnu/liblcms2.so.2
#3  0x00007fffeb4f4d1a in cmsOpenProfileFromMemTHR () at /lib/x86_64-linux-gnu/liblcms2.so.2
#4  0x00007fffcec26e94 in fz_new_icc_profile () at /home/stefano/.local/lib/python3.8/site-packages/fitz/_fitz.cpython-38-x86_64-linux-gnu.so
#5  0x00007fffceb23eb3 in fz_new_icc_colorspace () at /home/stefano/.local/lib/python3.8/site-packages/fitz/_fitz.cpython-38-x86_64-linux-gnu.so
#6  0x00007fffceb24373 in fz_new_colorspace_context () at /home/stefano/.local/lib/python3.8/site-packages/fitz/_fitz.cpython-38-x86_64-linux-gnu.so
#7  0x00007fffceb26db2 in fz_new_context_imp () at /home/stefano/.local/lib/python3.8/site-packages/fitz/_fitz.cpython-38-x86_64-linux-gnu.so
#8  0x00007fffceb1c61e in PyInit__fitz () at fitz/fitz_wrap.c:34456
#9  0x00007ffff5c5f016 in _PyImport_LoadDynamicModuleWithSpec () at /lib/x86_64-linux-gnu/libpython3.8.so.1.0
#10 0x00007ffff5c61085 in  () at /lib/x86_64-linux-gnu/libpython3.8.so.1.0
#11 0x00007ffff5d17547 in  () at /lib/x86_64-linux-gnu/libpython3.8.so.1.0
#12 0x00007ffff5d60840 in PyVectorcall_Call () at /lib/x86_64-linux-gnu/libpython3.8.so.1.0
#13 0x00007ffff5b35f48 in _PyEval_EvalFrameDefault () at /lib/x86_64-linux-gnu/libpython3.8.so.1.0
#14 0x00007ffff5c82e4b in _PyEval_EvalCodeWithName () at /lib/x86_64-linux-gnu/libpython3.8.so.1.0
#15 0x00007ffff5d60124 in _PyFunction_Vectorcall () at /lib/x86_64-linux-gnu/libpython3.8.so.1.0
#16 0x00007ffff5b2cd6d in  () at /lib/x86_64-linux-gnu/libpython3.8.so.1.0
#17 0x00007ffff5b34ef6 in _PyEval_EvalFrameDefault () at /lib/x86_64-linux-gnu/libpython3.8.so.1.0
#18 0x00007ffff5b3806b in  () at /lib/x86_64-linux-gnu/libpython3.8.so.1.0
#19 0x00007ffff5b2cd6d in  () at /lib/x86_64-linux-gnu/libpython3.8.so.1.0
#20 0x00007ffff5b2e018 in _PyEval_EvalFrameDefault () at /lib/x86_64-linux-gnu/libpython3.8.so.1.0
#21 0x00007ffff5b3806b in  () at /lib/x86_64-linux-gnu/libpython3.8.so.1.0
#22 0x00007ffff5b2cd6d in  () at /lib/x86_64-linux-gnu/libpython3.8.so.1.0
#23 0x00007ffff5b2e46d in _PyEval_EvalFrameDefault () at /lib/x86_64-linux-gnu/libpython3.8.so.1.0
#24 0x00007ffff5b3806b in  () at /lib/x86_64-linux-gnu/libpython3.8.so.1.0
#25 0x00007ffff5b2cd6d in  () at /lib/x86_64-linux-gnu/libpython3.8.so.1.0
#26 0x00007ffff5b2e46d in _PyEval_EvalFrameDefault () at /lib/x86_64-linux-gnu/libpython3.8.so.1.0
#27 0x00007ffff5b3806b in  () at /lib/x86_64-linux-gnu/libpython3.8.so.1.0
#28 0x00007ffff5b2cd6d in  () at /lib/x86_64-linux-gnu/libpython3.8.so.1.0
#29 0x00007ffff5b2e46d in _PyEval_EvalFrameDefault () at /lib/x86_64-linux-gnu/libpython3.8.so.1.0
#30 0x00007ffff5b3806b in  () at /lib/x86_64-linux-gnu/libpython3.8.so.1.0
#31 0x00007ffff5d610f8 in  () at /lib/x86_64-linux-gnu/libpython3.8.so.1.0
#32 0x00007ffff5d61350 in _PyObject_CallMethodIdObjArgs () at /lib/x86_64-linux-gnu/libpython3.8.so.1.0
#33 0x00007ffff5b40c1e in PyImport_ImportModuleLevelObject () at /lib/x86_64-linux-gnu/libpython3.8.so.1.0
#34 0x00007ffff5c85fce in  () at /lib/x86_64-linux-gnu/libpython3.8.so.1.0
#35 0x00007ffff5d60748 in  () at /lib/x86_64-linux-gnu/libpython3.8.so.1.0
#36 0x00007ffff5b35f48 in _PyEval_EvalFrameDefault () at /lib/x86_64-linux-gnu/libpython3.8.so.1.0
#37 0x00007ffff5c82e4b in _PyEval_EvalCodeWithName () at /lib/x86_64-linux-gnu/libpython3.8.so.1.0
#38 0x00007ffff5d60124 in _PyFunction_Vectorcall () at /lib/x86_64-linux-gnu/libpython3.8.so.1.0
#39 0x00007ffff5b2cd6d in  () at /lib/x86_64-linux-gnu/libpython3.8.so.1.0
#40 0x00007ffff5b2e46d in _PyEval_EvalFrameDefault () at /lib/x86_64-linux-gnu/libpython3.8.so.1.0
#41 0x00007ffff5c82e4b in _PyEval_EvalCodeWithName () at /lib/x86_64-linux-gnu/libpython3.8.so.1.0
--Type <RET> for more, q to quit, c to continue without paging--c
#42 0x00007ffff5d60124 in _PyFunction_Vectorcall () at /lib/x86_64-linux-gnu/libpython3.8.so.1.0
#43 0x00007ffff5d610f8 in  () at /lib/x86_64-linux-gnu/libpython3.8.so.1.0
#44 0x00007ffff5d61350 in _PyObject_CallMethodIdObjArgs () at /lib/x86_64-linux-gnu/libpython3.8.so.1.0
#45 0x00007ffff5b40e6a in PyImport_ImportModuleLevelObject () at /lib/x86_64-linux-gnu/libpython3.8.so.1.0
#46 0x00007ffff5b34941 in _PyEval_EvalFrameDefault () at /lib/x86_64-linux-gnu/libpython3.8.so.1.0
#47 0x00007ffff5c82e4b in _PyEval_EvalCodeWithName () at /lib/x86_64-linux-gnu/libpython3.8.so.1.0
#48 0x00007ffff5c831d2 in PyEval_EvalCodeEx () at /lib/x86_64-linux-gnu/libpython3.8.so.1.0
#49 0x00007ffff5c835bf in PyEval_EvalCode () at /lib/x86_64-linux-gnu/libpython3.8.so.1.0
#50 0x00007ffff5c87c01 in  () at /lib/x86_64-linux-gnu/libpython3.8.so.1.0
#51 0x00007ffff5d17547 in  () at /lib/x86_64-linux-gnu/libpython3.8.so.1.0
#52 0x00007ffff5d60840 in PyVectorcall_Call () at /lib/x86_64-linux-gnu/libpython3.8.so.1.0
#53 0x00007ffff5b35f48 in _PyEval_EvalFrameDefault () at /lib/x86_64-linux-gnu/libpython3.8.so.1.0
#54 0x00007ffff5c82e4b in _PyEval_EvalCodeWithName () at /lib/x86_64-linux-gnu/libpython3.8.so.1.0
#55 0x00007ffff5d60124 in _PyFunction_Vectorcall () at /lib/x86_64-linux-gnu/libpython3.8.so.1.0
#56 0x00007ffff5b2cd6d in  () at /lib/x86_64-linux-gnu/libpython3.8.so.1.0
#57 0x00007ffff5b34ef6 in _PyEval_EvalFrameDefault () at /lib/x86_64-linux-gnu/libpython3.8.so.1.0
#58 0x00007ffff5b3806b in  () at /lib/x86_64-linux-gnu/libpython3.8.so.1.0
#59 0x00007ffff5b2cd6d in  () at /lib/x86_64-linux-gnu/libpython3.8.so.1.0
#60 0x00007ffff5b2e018 in _PyEval_EvalFrameDefault () at /lib/x86_64-linux-gnu/libpython3.8.so.1.0
#61 0x00007ffff5b3806b in  () at /lib/x86_64-linux-gnu/libpython3.8.so.1.0
#62 0x00007ffff5b2cd6d in  () at /lib/x86_64-linux-gnu/libpython3.8.so.1.0
#63 0x00007ffff5b2e46d in _PyEval_EvalFrameDefault () at /lib/x86_64-linux-gnu/libpython3.8.so.1.0
#64 0x00007ffff5b3806b in  () at /lib/x86_64-linux-gnu/libpython3.8.so.1.0
#65 0x00007ffff5b2cd6d in  () at /lib/x86_64-linux-gnu/libpython3.8.so.1.0
#66 0x00007ffff5b2e46d in _PyEval_EvalFrameDefault () at /lib/x86_64-linux-gnu/libpython3.8.so.1.0
#67 0x00007ffff5b3806b in  () at /lib/x86_64-linux-gnu/libpython3.8.so.1.0
#68 0x00007ffff5d610f8 in  () at /lib/x86_64-linux-gnu/libpython3.8.so.1.0
#69 0x00007ffff5d61350 in _PyObject_CallMethodIdObjArgs () at /lib/x86_64-linux-gnu/libpython3.8.so.1.0
#70 0x00007ffff5b40c1e in PyImport_ImportModuleLevelObject () at /lib/x86_64-linux-gnu/libpython3.8.so.1.0
#71 0x00007ffff5b34941 in _PyEval_EvalFrameDefault () at /lib/x86_64-linux-gnu/libpython3.8.so.1.0
#72 0x00007ffff5c82e4b in _PyEval_EvalCodeWithName () at /lib/x86_64-linux-gnu/libpython3.8.so.1.0
#73 0x00007ffff5c831d2 in PyEval_EvalCodeEx () at /lib/x86_64-linux-gnu/libpython3.8.so.1.0
#74 0x00007ffff5c835bf in PyEval_EvalCode () at /lib/x86_64-linux-gnu/libpython3.8.so.1.0
#75 0x00007ffff5c87c01 in  () at /lib/x86_64-linux-gnu/libpython3.8.so.1.0
#76 0x00007ffff5d17547 in  () at /lib/x86_64-linux-gnu/libpython3.8.so.1.0
#77 0x00007ffff5d60840 in PyVectorcall_Call () at /lib/x86_64-linux-gnu/libpython3.8.so.1.0
#78 0x00007ffff5b35f48 in _PyEval_EvalFrameDefault () at /lib/x86_64-linux-gnu/libpython3.8.so.1.0
#79 0x00007ffff5c82e4b in _PyEval_EvalCodeWithName () at /lib/x86_64-linux-gnu/libpython3.8.so.1.0
#80 0x00007ffff5d60124 in _PyFunction_Vectorcall () at /lib/x86_64-linux-gnu/libpython3.8.so.1.0
#81 0x00007ffff5b2cd6d in  () at /lib/x86_64-linux-gnu/libpython3.8.so.1.0
#82 0x00007ffff5b34ef6 in _PyEval_EvalFrameDefault () at /lib/x86_64-linux-gnu/libpython3.8.so.1.0
#83 0x00007ffff5b3806b in  () at /lib/x86_64-linux-gnu/libpython3.8.so.1.0
#84 0x00007ffff5b2cd6d in  () at /lib/x86_64-linux-gnu/libpython3.8.so.1.0
#85 0x00007ffff5b2e018 in _PyEval_EvalFrameDefault () at /lib/x86_64-linux-gnu/libpython3.8.so.1.0
#86 0x00007ffff5b3806b in  () at /lib/x86_64-linux-gnu/libpython3.8.so.1.0
#87 0x00007ffff5b2cd6d in  () at /lib/x86_64-linux-gnu/libpython3.8.so.1.0
#88 0x00007ffff5b2e46d in _PyEval_EvalFrameDefault () at /lib/x86_64-linux-gnu/libpython3.8.so.1.0
#89 0x00007ffff5b3806b in  () at /lib/x86_64-linux-gnu/libpython3.8.so.1.0
#90 0x00007ffff5b2cd6d in  () at /lib/x86_64-linux-gnu/libpython3.8.so.1.0
#91 0x00007ffff5b2e46d in _PyEval_EvalFrameDefault () at /lib/x86_64-linux-gnu/libpython3.8.so.1.0
#92 0x00007ffff5b3806b in  () at /lib/x86_64-linux-gnu/libpython3.8.so.1.0
#93 0x00007ffff5d610f8 in  () at /lib/x86_64-linux-gnu/libpython3.8.so.1.0
#94 0x00007ffff5d61350 in _PyObject_CallMethodIdObjArgs () at /lib/x86_64-linux-gnu/libpython3.8.so.1.0
#95 0x00007ffff5b40c1e in PyImport_ImportModuleLevelObject () at /lib/x86_64-linux-gnu/libpython3.8.so.1.0
#96 0x00007ffff5b34941 in _PyEval_EvalFrameDefault () at /lib/x86_64-linux-gnu/libpython3.8.so.1.0
#97 0x00007ffff5c82e4b in _PyEval_EvalCodeWithName () at /lib/x86_64-linux-gnu/libpython3.8.so.1.0
#98 0x00007ffff5c831d2 in PyEval_EvalCodeEx () at /lib/x86_64-linux-gnu/libpython3.8.so.1.0
#99 0x00007ffff5c835bf in PyEval_EvalCode () at /lib/x86_64-linux-gnu/libpython3.8.so.1.0
#100 0x00007ffff5c87c01 in  () at /lib/x86_64-linux-gnu/libpython3.8.so.1.0
#101 0x00007ffff5d17547 in  () at /lib/x86_64-linux-gnu/libpython3.8.so.1.0
#102 0x00007ffff5d60840 in PyVectorcall_Call () at /lib/x86_64-linux-gnu/libpython3.8.so.1.0
#103 0x00007ffff5b35f48 in _PyEval_EvalFrameDefault () at /lib/x86_64-linux-gnu/libpython3.8.so.1.0
#104 0x00007ffff5c82e4b in _PyEval_EvalCodeWithName () at /lib/x86_64-linux-gnu/libpython3.8.so.1.0
#105 0x00007ffff5d60124 in _PyFunction_Vectorcall () at /lib/x86_64-linux-gnu/libpython3.8.so.1.0
#106 0x00007ffff5b2cd6d in  () at /lib/x86_64-linux-gnu/libpython3.8.so.1.0
#107 0x00007ffff5b34ef6 in _PyEval_EvalFrameDefault () at /lib/x86_64-linux-gnu/libpython3.8.so.1.0
#108 0x00007ffff5b3806b in  () at /lib/x86_64-linux-gnu/libpython3.8.so.1.0
#109 0x00007ffff5b2cd6d in  () at /lib/x86_64-linux-gnu/libpython3.8.so.1.0
#110 0x00007ffff5b2e018 in _PyEval_EvalFrameDefault () at /lib/x86_64-linux-gnu/libpython3.8.so.1.0
#111 0x00007ffff5b3806b in  () at /lib/x86_64-linux-gnu/libpython3.8.so.1.0
#112 0x00007ffff5b2cd6d in  () at /lib/x86_64-linux-gnu/libpython3.8.so.1.0
#113 0x00007ffff5b2e46d in _PyEval_EvalFrameDefault () at /lib/x86_64-linux-gnu/libpython3.8.so.1.0
#114 0x00007ffff5b3806b in  () at /lib/x86_64-linux-gnu/libpython3.8.so.1.0
#115 0x00007ffff5b2cd6d in  () at /lib/x86_64-linux-gnu/libpython3.8.so.1.0
#116 0x00007ffff5b2e46d in _PyEval_EvalFrameDefault () at /lib/x86_64-linux-gnu/libpython3.8.so.1.0
#117 0x00007ffff5b3806b in  () at /lib/x86_64-linux-gnu/libpython3.8.so.1.0
#118 0x00007ffff5d610f8 in  () at /lib/x86_64-linux-gnu/libpython3.8.so.1.0
#119 0x00007ffff5d61350 in _PyObject_CallMethodIdObjArgs () at /lib/x86_64-linux-gnu/libpython3.8.so.1.0
#120 0x00007ffff5b40c1e in PyImport_ImportModuleLevelObject () at /lib/x86_64-linux-gnu/libpython3.8.so.1.0
#121 0x00007ffff5c85fce in  () at /lib/x86_64-linux-gnu/libpython3.8.so.1.0
#122 0x00007ffff5d60748 in  () at /lib/x86_64-linux-gnu/libpython3.8.so.1.0
#123 0x00007ffff5b35f48 in _PyEval_EvalFrameDefault () at /lib/x86_64-linux-gnu/libpython3.8.so.1.0
#124 0x00007ffff5c82e4b in _PyEval_EvalCodeWithName () at /lib/x86_64-linux-gnu/libpython3.8.so.1.0
#125 0x00007ffff5d60124 in _PyFunction_Vectorcall () at /lib/x86_64-linux-gnu/libpython3.8.so.1.0
#126 0x00007ffff5b2cd6d in  () at /lib/x86_64-linux-gnu/libpython3.8.so.1.0
#127 0x00007ffff5b2e46d in _PyEval_EvalFrameDefault () at /lib/x86_64-linux-gnu/libpython3.8.so.1.0
#128 0x00007ffff5c82e4b in _PyEval_EvalCodeWithName () at /lib/x86_64-linux-gnu/libpython3.8.so.1.0
#129 0x00007ffff5d60124 in _PyFunction_Vectorcall () at /lib/x86_64-linux-gnu/libpython3.8.so.1.0
#130 0x00007ffff5d610f8 in  () at /lib/x86_64-linux-gnu/libpython3.8.so.1.0
#131 0x00007ffff5d61350 in _PyObject_CallMethodIdObjArgs () at /lib/x86_64-linux-gnu/libpython3.8.so.1.0
#132 0x00007ffff5b40e6a in PyImport_ImportModuleLevelObject () at /lib/x86_64-linux-gnu/libpython3.8.so.1.0
#133 0x00007ffff5b34941 in _PyEval_EvalFrameDefault () at /lib/x86_64-linux-gnu/libpython3.8.so.1.0
#134 0x00007ffff5c82e4b in _PyEval_EvalCodeWithName () at /lib/x86_64-linux-gnu/libpython3.8.so.1.0
#135 0x00007ffff5c831d2 in PyEval_EvalCodeEx () at /lib/x86_64-linux-gnu/libpython3.8.so.1.0
#136 0x00007ffff5c835bf in PyEval_EvalCode () at /lib/x86_64-linux-gnu/libpython3.8.so.1.0
#137 0x00007ffff5c87c01 in  () at /lib/x86_64-linux-gnu/libpython3.8.so.1.0
#138 0x00007ffff5d17547 in  () at /lib/x86_64-linux-gnu/libpython3.8.so.1.0
#139 0x00007ffff5d60840 in PyVectorcall_Call () at /lib/x86_64-linux-gnu/libpython3.8.so.1.0
#140 0x00007ffff5b35f48 in _PyEval_EvalFrameDefault () at /lib/x86_64-linux-gnu/libpython3.8.so.1.0
#141 0x00007ffff5c82e4b in _PyEval_EvalCodeWithName () at /lib/x86_64-linux-gnu/libpython3.8.so.1.0
#142 0x00007ffff5d60124 in _PyFunction_Vectorcall () at /lib/x86_64-linux-gnu/libpython3.8.so.1.0
#143 0x00007ffff5b2cd6d in  () at /lib/x86_64-linux-gnu/libpython3.8.so.1.0
#144 0x00007ffff5b34ef6 in _PyEval_EvalFrameDefault () at /lib/x86_64-linux-gnu/libpython3.8.so.1.0
#145 0x00007ffff5b3806b in  () at /lib/x86_64-linux-gnu/libpython3.8.so.1.0
#146 0x00007ffff5b2cd6d in  () at /lib/x86_64-linux-gnu/libpython3.8.so.1.0
#147 0x00007ffff5b2e018 in _PyEval_EvalFrameDefault () at /lib/x86_64-linux-gnu/libpython3.8.so.1.0
#148 0x00007ffff5b3806b in  () at /lib/x86_64-linux-gnu/libpython3.8.so.1.0
#149 0x00007ffff5b2cd6d in  () at /lib/x86_64-linux-gnu/libpython3.8.so.1.0
#150 0x00007ffff5b2e46d in _PyEval_EvalFrameDefault () at /lib/x86_64-linux-gnu/libpython3.8.so.1.0
#151 0x00007ffff5b3806b in  () at /lib/x86_64-linux-gnu/libpython3.8.so.1.0
#152 0x00007ffff5b2cd6d in  () at /lib/x86_64-linux-gnu/libpython3.8.so.1.0
#153 0x00007ffff5b2e46d in _PyEval_EvalFrameDefault () at /lib/x86_64-linux-gnu/libpython3.8.so.1.0
#154 0x00007ffff5b3806b in  () at /lib/x86_64-linux-gnu/libpython3.8.so.1.0
#155 0x00007ffff5d610f8 in  () at /lib/x86_64-linux-gnu/libpython3.8.so.1.0
#156 0x00007ffff5d61350 in _PyObject_CallMethodIdObjArgs () at /lib/x86_64-linux-gnu/libpython3.8.so.1.0
#157 0x00007ffff5b40c1e in PyImport_ImportModuleLevelObject () at /lib/x86_64-linux-gnu/libpython3.8.so.1.0
#158 0x00007ffff5b34941 in _PyEval_EvalFrameDefault () at /lib/x86_64-linux-gnu/libpython3.8.so.1.0
#159 0x00007ffff5c82e4b in _PyEval_EvalCodeWithName () at /lib/x86_64-linux-gnu/libpython3.8.so.1.0
#160 0x00007ffff5c831d2 in PyEval_EvalCodeEx () at /lib/x86_64-linux-gnu/libpython3.8.so.1.0
#161 0x00007ffff5c835bf in PyEval_EvalCode () at /lib/x86_64-linux-gnu/libpython3.8.so.1.0
#162 0x00007ffff5c87c01 in  () at /lib/x86_64-linux-gnu/libpython3.8.so.1.0
#163 0x00007ffff5d17547 in  () at /lib/x86_64-linux-gnu/libpython3.8.so.1.0
#164 0x00007ffff5d60840 in PyVectorcall_Call () at /lib/x86_64-linux-gnu/libpython3.8.so.1.0
#165 0x00007ffff5b35f48 in _PyEval_EvalFrameDefault () at /lib/x86_64-linux-gnu/libpython3.8.so.1.0
#166 0x00007ffff5c82e4b in _PyEval_EvalCodeWithName () at /lib/x86_64-linux-gnu/libpython3.8.so.1.0
#167 0x00007ffff5d60124 in _PyFunction_Vectorcall () at /lib/x86_64-linux-gnu/libpython3.8.so.1.0
#168 0x00007ffff5b2cd6d in  () at /lib/x86_64-linux-gnu/libpython3.8.so.1.0
#169 0x00007ffff5b34ef6 in _PyEval_EvalFrameDefault () at /lib/x86_64-linux-gnu/libpython3.8.so.1.0
#170 0x00007ffff5b3806b in  () at /lib/x86_64-linux-gnu/libpython3.8.so.1.0
#171 0x00007ffff5b2cd6d in  () at /lib/x86_64-linux-gnu/libpython3.8.so.1.0
#172 0x00007ffff5b2e018 in _PyEval_EvalFrameDefault () at /lib/x86_64-linux-gnu/libpython3.8.so.1.0
#173 0x00007ffff5b3806b in  () at /lib/x86_64-linux-gnu/libpython3.8.so.1.0
#174 0x00007ffff5b2cd6d in  () at /lib/x86_64-linux-gnu/libpython3.8.so.1.0
#175 0x00007ffff5b2e46d in _PyEval_EvalFrameDefault () at /lib/x86_64-linux-gnu/libpython3.8.so.1.0
#176 0x00007ffff5b3806b in  () at /lib/x86_64-linux-gnu/libpython3.8.so.1.0
#177 0x00007ffff5b2cd6d in  () at /lib/x86_64-linux-gnu/libpython3.8.so.1.0
#178 0x00007ffff5b2e46d in _PyEval_EvalFrameDefault () at /lib/x86_64-linux-gnu/libpython3.8.so.1.0
#179 0x00007ffff5b3806b in  () at /lib/x86_64-linux-gnu/libpython3.8.so.1.0
#180 0x00007ffff5b2cd6d in  () at /lib/x86_64-linux-gnu/libpython3.8.so.1.0
#181 0x00007ffff5b2e46d in _PyEval_EvalFrameDefault () at /lib/x86_64-linux-gnu/libpython3.8.so.1.0
#182 0x00007ffff5c82e4b in _PyEval_EvalCodeWithName () at /lib/x86_64-linux-gnu/libpython3.8.so.1.0
#183 0x00007ffff5d60124 in _PyFunction_Vectorcall () at /lib/x86_64-linux-gnu/libpython3.8.so.1.0
#184 0x00007ffff5b2cd6d in  () at /lib/x86_64-linux-gnu/libpython3.8.so.1.0
#185 0x00007ffff5b34ef6 in _PyEval_EvalFrameDefault () at /lib/x86_64-linux-gnu/libpython3.8.so.1.0
#186 0x00007ffff5c82e4b in _PyEval_EvalCodeWithName () at /lib/x86_64-linux-gnu/libpython3.8.so.1.0
#187 0x00007ffff5d60124 in _PyFunction_Vectorcall () at /lib/x86_64-linux-gnu/libpython3.8.so.1.0
#188 0x00007ffff5b2cd6d in  () at /lib/x86_64-linux-gnu/libpython3.8.so.1.0
#189 0x00007ffff5b34ef6 in _PyEval_EvalFrameDefault () at /lib/x86_64-linux-gnu/libpython3.8.so.1.0
#190 0x00007ffff5c82e4b in _PyEval_EvalCodeWithName () at /lib/x86_64-linux-gnu/libpython3.8.so.1.0
#191 0x00007ffff5d60124 in _PyFunction_Vectorcall () at /lib/x86_64-linux-gnu/libpython3.8.so.1.0
#192 0x00007ffff5b2cd6d in  () at /lib/x86_64-linux-gnu/libpython3.8.so.1.0
#193 0x00007ffff5b2e46d in _PyEval_EvalFrameDefault () at /lib/x86_64-linux-gnu/libpython3.8.so.1.0
#194 0x00007ffff5c82e4b in _PyEval_EvalCodeWithName () at /lib/x86_64-linux-gnu/libpython3.8.so.1.0
#195 0x00007ffff5d60124 in _PyFunction_Vectorcall () at /lib/x86_64-linux-gnu/libpython3.8.so.1.0
#196 0x00007ffff5b2cd6d in  () at /lib/x86_64-linux-gnu/libpython3.8.so.1.0
#197 0x00007ffff5b34ef6 in _PyEval_EvalFrameDefault () at /lib/x86_64-linux-gnu/libpython3.8.so.1.0
#198 0x00007ffff5c82e4b in _PyEval_EvalCodeWithName () at /lib/x86_64-linux-gnu/libpython3.8.so.1.0
#199 0x00007ffff5c831d2 in PyEval_EvalCodeEx () at /lib/x86_64-linux-gnu/libpython3.8.so.1.0
#200 0x00007ffff5c835bf in PyEval_EvalCode () at /lib/x86_64-linux-gnu/libpython3.8.so.1.0
#201 0x00007ffff5c4405c in  () at /lib/x86_64-linux-gnu/libpython3.8.so.1.0
#202 0x00007ffff5c443a9 in PyRun_StringFlags () at /lib/x86_64-linux-gnu/libpython3.8.so.1.0
#203 0x00007ffff0914e71 in  () at /usr/bin/_pcbnew.kiface
#204 0x00007ffff091f4b8 in  () at /usr/bin/_pcbnew.kiface
#205 0x00007ffff0910236 in  () at /usr/bin/_pcbnew.kiface
#206 0x00007ffff09108f0 in  () at /usr/bin/_pcbnew.kiface
#207 0x00007ffff0f8f8b0 in  () at /usr/bin/_pcbnew.kiface
#208 0x00007ffff105d3a1 in make_fcontext () at /usr/bin/_pcbnew.kiface
#209 0x0000000000000000 in  ()
(gdb) Quit
Undefined command: "Quit".  Try "help".
(gdb) q
A debugging session is active.

        Inferior 1 [process 9205] will be killed.

Quit anyway? (y or n) y
stefano@stefanoDesktopLinux:~/.local/share/kicad/7.0/scripting/plugins$