Comment 2 for bug 1729066

Revision history for this message
Alexander Traud (traud) wrote :

Facing the same traceback while hitting the button 'Save QRCode' in Ubuntu 17.10 and Ubuntu 18.04 LTS. Attached is a patch, which fixed the issue for me. Because Python is a scripting language, you can apply that patch directly without any recompiling:
sudo patch -p0 <./filename_tuple.patch

The issue was introduced with the change of the Python binding from Qt4 to Qt5. In the head of development (branch: trunk), this issue is fixed already with revision 27 (for Save via saveCode) and 24 (for Open via decodeFile). Although I solved this issue independently thanks to <https://stackoverflow.com/a/37822182>, I aligned the attached patch with the current trunk.

When it comes to your Wi-Fi typing issue, I am able to reproduce that even with the latest tool QtQR (revision 28) and latest library qr-tools (revision 29). Therefore, I opened a new bug report at <https://bugs.launchpad.net/qr-tools/+bug/1761713>.