submittodebian: TypeError: write() argument must be str, not bytes
Bug #1863119 reported by
Jamie Strandboge
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
ubuntu-dev-tools (Ubuntu) |
Fix Released
|
Undecided
|
Unassigned | ||
Focal |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
On focal, I tried to use submittodebian and encountered this:
$ submittodebian
Traceback (most recent call last):
File "/usr/bin/
main()
File "/usr/bin/
f.write(
TypeError: write() argument must be str, not bytes
[1]
$ apt-cache policy ubuntu-dev-tools
ubuntu-dev-tools:
Installed: 0.175
Candidate: 0.175
Version table:
*** 0.175 500
500 http://
500 http://
100 /var/lib/
To post a comment you must log in.
This bug was fixed in the package ubuntu-dev-tools - 0.175ubuntu1
---------------
ubuntu-dev-tools (0.175ubuntu1) focal; urgency=medium
[ Dan Streetman ] upload- permission: sort packagesets by name to fix py3
* lpapicache: remove new requirement to pass arch to getBinaries()
(LP: #1862286)
* ubuntu-
(LP: #1862372)
* submittodebian: open with 'b' before writing utf-8 encoded bytes
(LP: #1863119)
[ Colin Watson ]
* Use +sourcefiles URLs where possible (LP: #1860456)
-- Dan Streetman <email address hidden> Thu, 20 Feb 2020 17:20:23 -0500