Fallback to text interface forgets bts option

Bug #414374 reported by Sam Geeraerts
12
This bug affects 2 people
Affects Status Importance Assigned to Milestone
reportbug (Ubuntu)
Confirmed
Undecided
Unassigned

Bug Description

Binary package hint: reportbug

When the menu-based interface is chosen in reportbug, but it fails and falls back to the text interface, it forgets the bts option.

Steps to reproduce:
1) Install reportbug through Synaptic.
2) Open a terminal and execute "reportbug --bts=debian".
3) Select mode novice.
4) Select interface 2 (menu-based console interface).
5) Enter an e-mail address.
6) Enter an SMTP host.
7) Enter a user name. The following output appears and ends the program:

Default preferences file written. To reconfigure, re-run reportbug with the "--configure" option.
*** Unable to import urwid interface: Please install the python-urwid package to use this
interface. Falling back to text interface.

*** ERROR: "Ubuntu" BTS is currently unsupported. Please use "ubuntu-bug" (from the apport
package) for reporting bugs in Ubuntu. You can report bugs to Debian by using bts=debian (see
reportbug(1)).

So the error message suggests using bts=debian, although I provided that option when I started reportbug.

Ubuntu release: 8.04 (gNewSense) (the same happens in 9.04)
Package version: 3.39ubuntu3.1

Revision history for this message
Bhavani Shankar (bhavi) wrote :

working fine here

a snapshot perhaps

would help

regards

Changed in reportbug (Ubuntu):
status: New → Incomplete
Revision history for this message
Sam Geeraerts (samgee) wrote :

Tested again with the 9.04 live CD: same result. I've added a screenshot of the terminal session.

Revision history for this message
Bhavani Shankar (bhavi) wrote :

ah looked at that

but

give rietz.debian.org

as smtp server

and try seems not a bug to me

regards

Revision history for this message
Sam Geeraerts (samgee) wrote :

I did the same as before, but with the SMTP server you suggested. Same result.

Revision history for this message
Launchpad Janitor (janitor) wrote :

[Expired for reportbug (Ubuntu) because there has been no activity for 60 days.]

Changed in reportbug (Ubuntu):
status: Incomplete → Expired
Revision history for this message
Sam Geeraerts (samgee) wrote :

I tested again on a freshly installed Ubuntu 10.10 system. Still pretty much the same result. Interface 2 is now GTK, which works, so it doesn't fall back to text interface. But it still ends with the same 'ERROR: "Ubuntu" BTS is currently not supported...'.

Changed in reportbug (Ubuntu):
status: Expired → Confirmed
Revision history for this message
Bhavani Shankar (bhavi) wrote :

yes its natural it defaults to ubuntu in ubuntu version of reportbug

cf:

reportbug (4.12.6ubuntu1) natty; urgency=low

  * Merge from debian unstable. Remaining changes:
    - bin/reportbug
     + Make reportbug stop working for bts=ubuntu and refer to "ubuntu-bug"
       instead.
     + exit with an error, if bts=ubuntu (or unconfigured).
   - reportbug/__init__.py: Match reportbug version with package version.
   - debian/control: Add prominent note to package description
   - debian/rules: Do not install .desktop file.

reportbug (4.12.6) unstable; urgency=low

  * reportbug/debianbts.py
    - fix a typo to properly recognize free-exception; thanks to Jakub Wilk for
      the report; Closes: #592138

reportbug (4.12.5) unstable; urgency=low

  * bin/reportbug
    - add a warning we are actually working (and not blocked) when executing bug
      script; thanks to Arthur Marsh for the report; Closes: #587952
    - clarified that not specifying an SMTP host, the one from Debian will be
      used; thanks to Andrei Popescu for the report; Closes: #590306
  * reportbug/submit.py
    - fixed a typo: 'receive'/'received'; thanks to Joey Hess for the report;
      Closes: #588198
    - properly catch multiple exceptions; thanks to Jakub Wilk for spotting it
  * bin/reportbug, man/reportbug.1
    - support globbing when attachments are allowed (so both command-line args
      and sub-menus); thanks to Josh Triplett for the report: Closes: #452648
  * doc/README.Users
    - clarified the usage terms for reportbug.debian.org
  * debian/control
    - bump Standards-Version to 3.9.1 (no changes needed)
 -- Bhavani Shankar <email address hidden> Tue, 19 Oct 2010 10:30:04 +0530

Revision history for this message
Sam Geeraerts (samgee) wrote :

Yes, defaulting to Ubuntu is fine (although a bit weird when it's not supported). But when I explicitly specify to report to Debian I want it to either report to Debian or tell me that that is not supported (should that be the case).

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.