Description of problem: saving to the file fails Version-Release number of selected component (if applicable): python3-qrcode-5.1-13.fc29.noarch How reproducible: always Steps to Reproduce: 1. $ echo whatever |qr > /tmp/qr.png Traceback (most recent call last): File "/usr/bin/qr", line 11, in <module> load_entry_point('qrcode==5.1', 'console_scripts', 'qr')() File "/usr/lib/python3.7/site-packages/qrcode/console_scripts.py", line 59, in main img.save(sys.stdout) File "/usr/lib/python3.7/site-packages/qrcode/image/pil.py", line 32, in save self._img.save(stream, kind) File "/usr/lib64/python3.7/site-packages/PIL/Image.py", line 1969, in save save_handler(self, fp, filename) File "/usr/lib64/python3.7/site-packages/PIL/PngImagePlugin.py", line 734, in _save fp.write(_MAGIC) TypeError: write() argument must be str, not bytes
FWIW this was actually reported via ABRT in bug 1599847 against F27 and marked EOL.
python-qrcode-6.1-1.fc30 has been submitted as an update to Fedora 30. https://bodhi.fedoraproject.org/updates/FEDORA-2019-27f1118d0c
python-qrcode-6.1-1.fc29 has been submitted as an update to Fedora 29. https://bodhi.fedoraproject.org/updates/FEDORA-2019-3cf44a74c9
python-qrcode-6.1-1.fc30 has been pushed to the Fedora 30 testing repository. If problems still persist, please make note of it in this bug report. See https://fedoraproject.org/wiki/QA:Updates_Testing for instructions on how to install test updates. You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2019-27f1118d0c
python-qrcode-6.1-1.fc29 has been pushed to the Fedora 29 testing repository. If problems still persist, please make note of it in this bug report. See https://fedoraproject.org/wiki/QA:Updates_Testing for instructions on how to install test updates. You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2019-3cf44a74c9
*** Bug 1661256 has been marked as a duplicate of this bug. ***
python-qrcode-6.1-1.fc30 has been pushed to the Fedora 30 stable repository. If problems still persist, please make note of it in this bug report.
python-qrcode-6.1-1.fc29 has been pushed to the Fedora 29 stable repository. If problems still persist, please make note of it in this bug report.