[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#965977: marked as done (reportbug crashes during initial setup: local variable 'smtptls' referenced before assignment)



Your message dated Tue, 27 Oct 2020 20:39:37 +0000
with message-id <E1kXVkn-000ABn-VD@fasolo.debian.org>
and subject line Bug#965977: fixed in reportbug 7.8.0
has caused the Debian Bug report #965977,
regarding reportbug crashes during initial setup: local variable 'smtptls' referenced before assignment
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 owner@bugs.debian.org
immediately.)


-- 
965977: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=965977
Debian Bug Tracking System
Contact owner@bugs.debian.org with problems
--- Begin Message ---
Package: reportbug
Version: 7.7.0
Severity: normal

Dear Maintainer,

*** Reporter, please consider answering these questions, where appropriate ***

   * What led up to the situation?
After installation of reportbug, I ran reportbug for intitial configuration.

   * What exactly did you do (or not do) that was effective (or
     ineffective)?
I filled in smtp settings and hit Enter. I included the full transcript at the end below.

   * What was the outcome of this action?
Reportbug crashed with the following traceback:

Traceback (most recent call last):
  File "/usr/bin/reportbug", line 2302, in <module>
    main()
  File "/usr/bin/reportbug", line 1107, in main
    return iface.user_interface()
  File "/usr/bin/reportbug", line 1225, in user_interface
    offer_configuration(self.options)
  File "/usr/bin/reportbug", line 709, in offer_configuration
    if smtptls:
UnboundLocalError: local variable 'smtptls' referenced before assignment

   * What outcome did you expect instead?
Some further questions from the configuration wizard.

*** End of the template - remove these template lines ***


-- Package-specific info:
** Environment settings:
INTERFACE="text"

** /home/roman/.reportbugrc:
reportbug_version "7.7.0"
mode standard
ui text
email "roman@riabenko.com"
smtphost "smtp.fastmail.com:465"
smtpuser "roman@riabenko.com"
smtppasswd <omitted>

-- System Information:
Debian Release: bullseye/sid
  APT prefers unstable
  APT policy: (500, 'unstable')
Architecture: amd64 (x86_64)

Kernel: Linux 5.7.0-1-amd64 (SMP w/4 CPU threads)
Kernel taint flags: TAINT_WARN, TAINT_FIRMWARE_WORKAROUND
Locale: LANG=uk_UA.UTF-8, LC_CTYPE=uk_UA.UTF-8 (charmap=UTF-8), LANGUAGE not set
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

Versions of packages reportbug depends on:
ii  apt                2.1.7
ii  python3            3.8.2-3
ii  python3-reportbug  7.7.0
ii  sensible-utils     0.0.12+nmu1

reportbug recommends no packages.

Versions of packages reportbug suggests:
pn  claws-mail                                            <none>
pn  debconf-utils                                         <none>
pn  debsums                                               <none>
pn  default-mta | postfix | exim4 | mail-transport-agent  <none>
pn  dlocate                                               <none>
pn  emacs-bin-common                                      <none>
ii  file                                                  1:5.38-5
ii  gnupg                                                 2.2.20-1
pn  python3-urwid                                         <none>
pn  reportbug-gtk                                         <none>
ii  xdg-utils                                             1.1.3-2

Versions of packages python3-reportbug depends on:
ii  apt                2.1.7
ii  file               1:5.38-5
ii  python3            3.8.2-3
ii  python3-apt        2.1.3
ii  python3-debian     0.1.37
ii  python3-debianbts  3.0.2
ii  python3-requests   2.23.0+dfsg-2
ii  sensible-utils     0.0.12+nmu1

python3-reportbug suggests no packages.

-- no debconf information

*** /home/roman/full_transcript
Welcome to reportbug! Since it looks like this is the first time you have used reportbug, we are configuring its behavior. These settings will be
saved to the file "/home/roman/.reportbugrc", which you will be free to edit further.
Please choose the default operating mode for reportbug.

1 novice    Offer simple prompts, bypassing technical questions.

2 standard  Offer more extensive prompts, including asking about things that a moderately sophisticated user would be expected to know about
            Debian.

3 advanced  Like standard, but assumes you know a bit more about Debian, including "incoming".

4 expert    Bypass most handholding measures and preliminary triage routines. This mode should not be used by people unfamiliar with Debian's
            policies and operating procedures.

Select mode: [novice] standard
Please choose the default interface for reportbug.

1 text  A text-oriented console user interface

2 gtk   A graphical (GTK+) user interface.

Select interface: 1
Will reportbug often have direct Internet access? (You should answer yes to this question unless you know what you are doing and plan to check
whether duplicate reports have been filed via some other channel.) [Y|n|q|?]? Y
What real name should be used for sending bug reports?
[Roman Riabenko]> 
Which of your email addresses should be used when sending bug reports? (Note that this address will be visible in the bug tracking system, so you
may want to use a webmail address or another address with good spam filtering capabilities.)
[roman@debian-laptop.riabenko.com]> roman@riabenko.com
Do you have a "mail transport agent" (MTA) like Exim, Postfix or SSMTP configured on this computer to send mail to the Internet? [y|N|q|?]? N
Please enter the name of your SMTP host. Usually it's called something like "mail.example.org" or "smtp.example.org". If you need to use a
different port than default, use the <host>:<port> alternative format. Just press ENTER if you don't have one or don't know, and so a Debian SMTP
host will be used.
> smtp.fastmail.com:465
If you need to use a user name to send email via "smtp.fastmail.com:465" on your computer, please enter that user name. Just press ENTER if you
don't need a user name.
> roman@riabenko.com
Please enter the name of your proxy server. It should only use this parameter if you are behind a firewall. The PROXY argument should be formatted
as a valid HTTP URL, including (if necessary) a port number; for example, http://192.168.1.1:3128/. Just press ENTER if you don't have one or don't
know.
> 
Traceback (most recent call last):
  File "/usr/bin/reportbug", line 2302, in <module>
    main()
  File "/usr/bin/reportbug", line 1107, in main
    return iface.user_interface()
  File "/usr/bin/reportbug", line 1225, in user_interface
    offer_configuration(self.options)
  File "/usr/bin/reportbug", line 709, in offer_configuration
    if smtptls:
UnboundLocalError: local variable 'smtptls' referenced before assignment

--- End Message ---
--- Begin Message ---
Source: reportbug
Source-Version: 7.8.0
Done: Nis Martensen <nis.martensen@web.de>

We believe that the bug you reported is fixed in the latest version of
reportbug, which is due to be installed in the Debian FTP archive.

A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to 965977@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Nis Martensen <nis.martensen@web.de> (supplier of updated reportbug package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing ftpmaster@ftp-master.debian.org)


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256

Format: 1.8
Date: Sun, 25 Oct 2020 09:21:16 +0100
Source: reportbug
Architecture: source
Version: 7.8.0
Distribution: unstable
Urgency: medium
Maintainer: Reportbug Maintainers <debian-reportbug@lists.debian.org>
Changed-By: Nis Martensen <nis.martensen@web.de>
Closes: 717563 877850 964846 964987 965977 966480 968096
Changes:
 reportbug (7.8.0) unstable; urgency=medium
 .
   [ Anuradha Weeraman ]
   * reportbug/debbugs.py: Fix crash with stable-pu update request
     (Closes: #964987)
 .
   [ Nis Martensen ]
   * mailer.py,submit.py: only run MUA in terminal if needed (Closes: #964846)
   * reportbug/submit.py: use message_from_binary_file to attach messages
     (Closes: #966480)
   * bin/reportbug:
     - use raw string for regexp
     - do not submit without pseudoheaders
     - Fix crash in offer_configuration (Closes: #965977)
     - drop empty recipients from listcc
     - Warn that X-Debbugs-Cc via headers are now unreliable
   * man/reportbug.conf.5: fix bts help hint
   * man/*: updates for list-cc* and headers
   * reportbug/ui/gtk_ui.py:
     - editor: fix report split
     - Make pseudoheaders editable in Editor
     - Update empty buffer string
     - Always set window title
     - switch editor: TextView → SourceView
     - editor: do not rewrap pseudoheaders
     - Editor: show other buffer in monospace font
     - fix GetListPage
     - fix crash in _get_multiline
     - show "Thanks" in message, not in title
   * debian/control:
     - update package description
     - add dependency on gir1.2-gtksource-3.0
   * reportbug/bugreport.py: add second newline to empty body
   * reportbug/utils.py:
     - get_init_system: detect OpenRC (Closes: #968096)
     - fix test failure in get_init_system
   * test/test_utils.py: fix test_get_init_system
   * bin/reportbug, reportbug/urlutils.py: fix proxy support
     (Closes: #717563, #877850)
   * New release
Checksums-Sha1:
 c0a97d1eadc1ae45dc022f1bea79f118f9ac1a1b 1860 reportbug_7.8.0.dsc
 3acf0a5e1948da3054ba177ac83ace9697b7953d 200200 reportbug_7.8.0.tar.xz
 0eff32df1907353823095ba9bb53e1b9de03a604 7684 reportbug_7.8.0_amd64.buildinfo
Checksums-Sha256:
 64e6c43172a76f203ba3f1f42cd45022c923f1b03bcab6fbae972af9777c987f 1860 reportbug_7.8.0.dsc
 f1d0052c2b607f05107c0035e95df1cfdb3b1a109dea50b8fe5c422aead0fd14 200200 reportbug_7.8.0.tar.xz
 30472c315538838ee5f20e971cab7f8abfbb5003826fec2e95ac4b5942aecad0 7684 reportbug_7.8.0_amd64.buildinfo
Files:
 75f461faa146e113a0cccc671d728ed7 1860 utils standard reportbug_7.8.0.dsc
 64545839e2b54c9a67883a3edc37aa96 200200 utils standard reportbug_7.8.0.tar.xz
 6aa93308dfab138e56afb6c85cf1665a 7684 utils standard reportbug_7.8.0_amd64.buildinfo

-----BEGIN PGP SIGNATURE-----

iQIzBAEBCAAdFiEElwagcOR0bw2C8YAgINUE/crqn1AFAl+Yel0ACgkQINUE/crq
n1AtuxAAo3bZjjHbhTaqRFvM+s5lI9DGNQUSx1zyd35RnN81ZUqV+1Zf3DD4KJzF
8WxDdFZ+EfW1QYAW6jAeXpVk9iwdk27s27TxEwe8qRnnskKXkDBCfA2d0eU7x5sD
BMzhBjrlkd07x/h2nMnIiYRI9eEy56S5daeyLDYYKygSX0tfw4iT9sUZhhLb6D8e
etZvBgBO9y8icVj7iLQfEcQiicfKHxz1vP8r8qdzDZX+8x8eWxx7uLBSkQ5TqLtU
IG9DA09080xmkK9q4+IsKVdNvN3798oXbxb7mXFSXM5mR9ZpsQcUrnlk3CHwoPtE
vkmZrZ2MN9J2j0gJvenr9oKNDPeyyHtjVNCEF5t5ZrimfTBlyta77q5ZOwQbP2+b
RMxDs7VxmbVzVC7fr1ml/NVzjXJzN/TdP8ar+DRUhKU4UadT/AgWitWgECkgfudS
qZ+KjPvTG7oBLcc3eFoAy5fUBTj4UUmzq7SlTHXyQvq3lfRJ8z8fplCX3sNOA12I
ve+tpaDZXqlcPAHfyFid0xractxkuHjO39nmMu6fCFy7MkkUu88N7wGb/EoLYQHt
MirXgZ10bLBpzEAmR6Qi9HQctNR+0DhMY/UjGULBfw0YpX9f5eN4lBruqOpzUj0r
uk9sRvRJT4zFFmPchZLAmvuMOvNtBskukiG3PRcHp1N+wIyOwto=
=gacI
-----END PGP SIGNATURE-----

--- End Message ---

Reply to: