I have version 5.1.6 running on Windows and Ubuntu, generating a footprint of a QR code for the PCB, freezes the program and a few minutes later the crash program.
I have tested on both computers and get the same result, which does not respond and after a few minutes it closes.
I don’t know if it’s a known bug or it’s my problem, does anyone know how to fix it? I tried to create the QR and convert it with the Kicad tool, but it is not recognized by a QR reader. So I found out there was a wizard with kicad, but it doesn’t work for me.
Least I can do is confirm this. Footprint Editor / File / Create Footprint / “2D Barcode QRCode” gets stuck and absorbing 50% of my dual-core CPU when changing the “Contents” string + [Enter].
I killed the Footprint Editor after 4 minutes.
Can anyone else confirm this?
@OP: Do you have a gitlab account for making a bug report?
Version: 5.1.6-c6e7f7d~87~ubuntu18.04.1, release build
libcurl/7.58.0 OpenSSL/1.1.1 zlib/1.2.11 libidn2/2.0.4 libpsl/0.19.1 (+libidn2/2.0.4) nghttp2/1.30.0 librtmp/2.3
Platform: Linux 5.4.0-42-generic x86_64, 64 bit, Little endian, wxGTK
wxWidgets: 3.0.4 (wchar_t,wx containers,compatible with 2.8) GTK+ 3.22
OpenCASCADE Community Edition: 6.9.1
Compiler: GCC 7.5.0 with C++ ABI 1011
I’ve tried both teams. I paste the data from the Windows computer which is the one I use mainly.
I do not have a Gitlab account to be able to report the error, if necessary and someone else happens this error, I can create it, but better if it can be done by someone else who usually works with Gitlab.
Version: (5.1.6)-1, release build
libcurl/7.66.0 OpenSSL/1.1.1d (Schannel) zlib/1.2.11 brotli/1.0.7 libidn2/2.2.0 libpsl/0.21.0 (+libidn2/2.1.1) nghttp2/1.39.2
Platform: Windows 8 (build 9200), 64-bit edition, 64 bit, Little endian, wxMSW
wxWidgets: 3.0.4 (wchar_t,wx containers,compatible with 2.8)
OpenCASCADE Community Edition: 6.9.1
Compiler: GCC 9.2.0 with C++ ABI 1013
My python version is: Python 3.7.9 (On Ubuntu I have the version that installed the official repository).
I can paste the computer data with Ubuntu if necessary.
for your Windows box and also for your Ubuntu box, but in Windows Python 3 is not supported, as such you see the following text:
How are you running the script ? Footprint editor->Create footprint?
Seems to me that you are somehow launching the script with Python3 and the script may have a problem with Python3 (judging from @paulvdh 's reproduction of the bug in Linux and @davidsrsb not seeing the bug in Windows either, like me.)
Unfortunatly I don’t know why Python3 may be running your script instead of Python2 or how to reverse it
Python 2 vs Python 3 is a big mess.
I was interested in Python, some 5 years ago, and the python website advised Python V3, but too many libraries and tutorials were only for Python V2 and there did not seem to be much interest moving on from V2 to V3 back then.
Python V2 is now officially obsolete since 2020-01-01. (finally, that took 8 years too long)
After my previous message, I had to uninstall the testing version as I fail in a finished design. With the stable version solved, I was already afraid of the worst.
By the way remove from the operating system all the versions of python that I had installed and performed a clean installation of Kicad, but with the stable version does not exit the error, it happens as before, it freezes the program until it closes.
Well, a bit of falling into the rabit hole, I was wondering what was the problem with your imported QR code, so I made a test footprint with the text “test1” and try to generate a QR code online with the same text.
I’ve tried those steps just like others in a forum, but I can’t get the QR reader to identify it, in the bitmap converter if it works (tested with an android APP), but adding the footprint doesn’t look the same as the original.