Description of problem: I tried to upload a binary (xz) attachment to bugzilla using the api. Version-Release number of selected component: python-bugzilla-cli-2.1.0-2.fc27 Additional info: reporter: libreport-2.9.2 cmdline: /usr/bin/python3 /usr/bin/bugzilla attach --file=/home/kparal/Desktop/sssd_kcm.log.xz --description=sssd_kcm.log.xz 1494843 crash_function: decode exception_type: UnicodeDecodeError executable: /usr/bin/bugzilla kernel: 4.13.3-301.fc27.x86_64 runlevel: N 5 type: Python3 uid: 1000 Truncated backtrace: #1 decode in /usr/lib64/python3.6/codecs.py:321 #2 attachfile in /usr/lib/python3.6/site-packages/bugzilla/base.py:1498 #3 _do_set_attach in /usr/bin/bugzilla:958 #4 main in /usr/bin/bugzilla:1097 #5 <module> in /usr/bin/bugzilla:1117
Created attachment 1331986 [details] File: backtrace
Created attachment 1331987 [details] File: cgroup
Created attachment 1331988 [details] File: cpuinfo
Created attachment 1331989 [details] File: environ
Created attachment 1331990 [details] File: mountinfo
Created attachment 1331991 [details] File: namespaces
Created attachment 1331992 [details] File: open_fds
Thanks for the report, fixed upstream now: commit 49f7d78aaf36c9cc9e3a30a9f492ae4ed364d06e (HEAD -> master, origin/master, origin/HEAD) Author: Cole Robinson <crobinso> Date: Fri Oct 20 19:38:53 2017 -0400 Fix uploading binary attachments (bz 1496821)
*** Bug 1601878 has been marked as a duplicate of this bug. ***
python-bugzilla-2.2.0-1.fc27 has been submitted as an update to Fedora 27. https://bodhi.fedoraproject.org/updates/FEDORA-2018-103e1c31e1
python-bugzilla-2.2.0-1.fc27.1 has been submitted as an update to Fedora 27. https://bodhi.fedoraproject.org/updates/FEDORA-2018-d8e48fb5f9
python-bugzilla-2.2.0-1.fc27.1 has been pushed to the Fedora 27 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-2018-d8e48fb5f9
python-bugzilla-2.2.0-1.fc27.1 has been pushed to the Fedora 27 stable repository. If problems still persist, please make note of it in this bug report.