apport-cli does not allow selection of multi digit choices

Bug #988371 reported by Travis Pew
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
apport (Ubuntu)
New
Undecided
Unassigned

Bug Description

While trying to report information about a bug using apport-cli, I get the following prompt:

"Please choose (1/2/3/4/5/6/7/8/9/10/11/12/C):"

The correct choice in my case is "12", but trying to type 12, the cli jumps to the next question after pressing 1. If apport-cli is going to provide choices that could be 2 digits, it needs to be able to accept 2 digits as a response.
---
ApportLog:

ApportVersion: 2.0.1-0ubuntu5
Architecture: amd64
DistroRelease: Ubuntu 12.04
EcryptfsInUse: Yes
InstallationMedia: Ubuntu 11.04 "Natty Narwhal" - Release amd64 (20110427.1)
NonfreeKernelModules: nvidia
Package: apport 2.0.1-0ubuntu5
PackageArchitecture: all
ProcEnviron:
 TERM=xterm
 PATH=(custom, user)
 LANG=en_US.UTF-8
 SHELL=/bin/bash
ProcVersionSignature: Ubuntu 3.2.0-23.36-generic 3.2.14
Tags: precise
Uname: Linux 3.2.0-23-generic x86_64
UpgradeStatus: Upgraded to precise on 2012-04-24 (1 days ago)
UserGroups: adm admin cdrom debian-tor dialout fuse lpadmin plugdev sambashare vboxusers

Revision history for this message
Logan Rosen (logan) wrote :

Thank you for taking the time to report this bug and helping to make Ubuntu better. Please execute the following command, as it will automatically gather debugging information, in a terminal:
apport-collect 988371
When reporting bugs in the future please use apport by using 'ubuntu-bug' and the name of the package affected. You can learn more about this functionality at https://wiki.ubuntu.com/ReportingBugs.

Revision history for this message
Travis Pew (travisp) wrote : CrashReports.txt

apport information

tags: added: apport-collected precise
description: updated
Revision history for this message
Travis Pew (travisp) wrote : Dependencies.txt

apport information

Revision history for this message
Bob Bib (bobbib) wrote :

How did you manage to get such a multi-choice apport-cli prompt?

Revision history for this message
Travis Pew (travisp) wrote : Re: [Bug 988371] Re: apport-cli does not allow selection of multi digit choices

This was when I used "apport-cli -s audio". It reported 12 different audio
options -- at least one for each audio connector port (e.g. black headphone
out, black mic, speaker internal, mic internal, black spdif out, green
whatever, etc."

On Mon, Apr 30, 2012 at 12:17 PM, Bob Bib <email address hidden> wrote:

> How did you manage to get such a multi-choice apport-cli prompt?
>
> --
> You received this bug notification because you are subscribed to the bug
> report.
> https://bugs.launchpad.net/bugs/988371
>
> Title:
> apport-cli does not allow selection of multi digit choices
>
> Status in “apport” package in Ubuntu:
> New
>
> Bug description:
> While trying to report information about a bug using apport-cli, I get
> the following prompt:
>
> "Please choose (1/2/3/4/5/6/7/8/9/10/11/12/C):"
>
> The correct choice in my case is "12", but trying to type 12, the cli
> jumps to the next question after pressing 1. If apport-cli is going to
> provide choices that could be 2 digits, it needs to be able to accept 2
> digits as a response.
> ---
> ApportLog:
>
> ApportVersion: 2.0.1-0ubuntu5
> Architecture: amd64
> DistroRelease: Ubuntu 12.04
> EcryptfsInUse: Yes
> InstallationMedia: Ubuntu 11.04 "Natty Narwhal" - Release amd64
> (20110427.1)
> NonfreeKernelModules: nvidia
> Package: apport 2.0.1-0ubuntu5
> PackageArchitecture: all
> ProcEnviron:
> TERM=xterm
> PATH=(custom, user)
> LANG=en_US.UTF-8
> SHELL=/bin/bash
> ProcVersionSignature: Ubuntu 3.2.0-23.36-generic 3.2.14
> Tags: precise
> Uname: Linux 3.2.0-23-generic x86_64
> UpgradeStatus: Upgraded to precise on 2012-04-24 (1 days ago)
> UserGroups: adm admin cdrom debian-tor dialout fuse lpadmin plugdev
> sambashare vboxusers
>
> To manage notifications about this bug go to:
> https://bugs.launchpad.net/ubuntu/+source/apport/+bug/988371/+subscriptions
>

Revision history for this message
Bob Bib (bobbib) wrote :

dmitry-agafonov, are you sure this is the same parser error as in bug #492290 (Apport console frontend (ubuntu-bug, apport-cli) doesn't work with non-Engilsh locales)?

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.