Your message dated Wed, 3 Feb 2021 21:01:07 -0700
with message-id <20210204040107.mewh6pdgbzmeq...@haydn.kardiogramm.net>
and subject line Re: Bug#943385: submittodebian: crash on startup [PATCH]
has caused the Debian Bug report #943385,
regarding submittodebian: crash on startup [PATCH]
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact ow...@bugs.debian.org
immediately.)


-- 
943385: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=943385
Debian Bug Tracking System
Contact ow...@bugs.debian.org with problems
--- Begin Message ---
Source: ubuntu-dev-tools
Version: 0.174
tags: patch

Hello, please apply this fix from Adam Conrad <adcon...@debian.org> that fixes 
the following failure during startup:
(to see this bug seems you need to uncomment and fill smtphost and smtpuser on 
~/.reportbugrc file)

Traceback (most recent call last):
  File "/usr/bin/submittodebian", line 265, in <module>
    main()
  File "/usr/bin/submittodebian", line 243, in main
    fp.write(bug_body.encode('utf-8'))
TypeError: write() argument must be str, not bytes



--- submittodebian.orig 2019-09-10 14:14:20.000000000 +0200
+++ submittodebian.new  2019-10-24 10:25:18.713733436 +0200
@@ -239,7 +239,7 @@ def main():
 
     tmpdir = mkdtemp()
     body = os.path.join(tmpdir, 'bug_body')
-    fp = open(body, 'w')
+    fp = open(body, 'wb')
     fp.write(bug_body.encode('utf-8'))
     fp.close()
 

thanks

Gianfranco

--- End Message ---
--- Begin Message ---
Version: 0.176

As far as I can see, fixed in 0.176.

SR

-- 
Stefano Rivera
  http://tumbleweed.org.za/
  +1 415 683 3272

--- End Message ---

Reply via email to