Bug 1661256 - [abrt] python3-qrcode: lxml.etree._FilelikeWriter.write(): serializer.pxi:650:lxml.etree._FilelikeWriter.write:TypeError: write() argument must be str, not bytes
Summary: [abrt] python3-qrcode: lxml.etree._FilelikeWriter.write(): serializer.pxi:650...
Keywords:
Status: CLOSED DUPLICATE of bug 1659831
Alias: None
Product: Fedora
Classification: Fedora
Component: python-qrcode
Version: 29
Hardware: x86_64
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Fabian Affolter
QA Contact: Fedora Extras Quality Assurance
URL: https://retrace.fedoraproject.org/faf...
Whiteboard: abrt_hash:3587d81538ad3d32464f3dba039...
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2018-12-20 15:38 UTC by rugk
Modified: 2019-06-01 18:33 UTC (History)
3 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2019-06-01 18:33:17 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)
File: backtrace (16.76 KB, text/plain)
2018-12-20 15:38 UTC, rugk
no flags Details
File: cgroup (389 bytes, text/plain)
2018-12-20 15:38 UTC, rugk
no flags Details
File: cpuinfo (1.52 KB, text/plain)
2018-12-20 15:38 UTC, rugk
no flags Details
File: environ (4.71 KB, text/plain)
2018-12-20 15:38 UTC, rugk
no flags Details
File: mountinfo (3.72 KB, text/plain)
2018-12-20 15:38 UTC, rugk
no flags Details
File: namespaces (129 bytes, text/plain)
2018-12-20 15:38 UTC, rugk
no flags Details
File: open_fds (244 bytes, text/plain)
2018-12-20 15:38 UTC, rugk
no flags Details

Description rugk 2018-12-20 15:38:19 UTC
Description of problem:
$ qr --factory=svg
sdffse
[Ctrl+D]

Version-Release number of selected component:
python3-qrcode-5.1-13.fc29

Additional info:
reporter:       libreport-2.9.7
cmdline:        /usr/bin/python3 /usr/bin/qr --factory=svg
crash_function: lxml.etree._FilelikeWriter.write
exception_type: TypeError
executable:     /usr/bin/qr
interpreter:    python3-3.7.1-4.fc29.x86_64
kernel:         4.19.9-300.fc29.x86_64
runlevel:       N 5
type:           Python3
uid:            1000

Truncated backtrace:
#1 [src/lxml/serializer.pxi:650] lxml.etree._FilelikeWriter.write
#2 [src/lxml/etree.pyx:316] lxml.etree._ExceptionContext._raise_if_stored
#3 [src/lxml/serializer.pxi:733] lxml.etree._tofilelike
#4 [src/lxml/etree.pyx:2039] lxml.etree._ElementTree.write
#5 [/usr/lib/python3.7/site-packages/qrcode/image/svg.py:90] _write
#6 [/usr/lib/python3.7/site-packages/qrcode/image/svg.py:42] save
#7 [/usr/lib/python3.7/site-packages/qrcode/console_scripts.py:59] main
#8 [/usr/bin/qr:11] <module>

Comment 1 rugk 2018-12-20 15:38:22 UTC
Created attachment 1515912 [details]
File: backtrace

Comment 2 rugk 2018-12-20 15:38:23 UTC
Created attachment 1515913 [details]
File: cgroup

Comment 3 rugk 2018-12-20 15:38:24 UTC
Created attachment 1515914 [details]
File: cpuinfo

Comment 4 rugk 2018-12-20 15:38:25 UTC
Created attachment 1515915 [details]
File: environ

Comment 5 rugk 2018-12-20 15:38:26 UTC
Created attachment 1515916 [details]
File: mountinfo

Comment 6 rugk 2018-12-20 15:38:28 UTC
Created attachment 1515917 [details]
File: namespaces

Comment 7 rugk 2018-12-20 15:38:29 UTC
Created attachment 1515918 [details]
File: open_fds

Comment 9 Fabian Affolter 2019-06-01 18:33:17 UTC

*** This bug has been marked as a duplicate of bug 1659831 ***


Note You need to log in before you can comment on or make changes to this bug.