Public bug reported:

On focal, I tried to use submittodebian and encountered this:

$ submittodebian 
Traceback (most recent call last):
  File "/usr/bin/submittodebian", line 264, in <module>
    main()
  File "/usr/bin/submittodebian", line 243, in main
    f.write(bug_body.encode('utf-8'))
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://us.archive.ubuntu.com/ubuntu focal/universe amd64 Packages
        500 http://us.archive.ubuntu.com/ubuntu focal/universe i386 Packages
        100 /var/lib/dpkg/status

** Affects: ubuntu-dev-tools (Ubuntu)
     Importance: Undecided
         Status: New

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1863119

Title:
  submittodebian: TypeError: write() argument must be str, not bytes

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/ubuntu-dev-tools/+bug/1863119/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to