[Touch-packages] [Bug 1722564] Re: apport question will not accept multi-character responses

2017-12-07 Thread Scott Moser
** Changed in: apport (Ubuntu Xenial) Importance: Undecided => Medium ** Changed in: apport (Ubuntu Zesty) Importance: Undecided => Medium -- You received this bug notification because you are a member of Ubuntu Touch seeded packages, which is subscribed to apport in Ubuntu.

[Touch-packages] [Bug 1722564] Re: apport question will not accept multi-character responses

2017-12-07 Thread Launchpad Bug Tracker
This bug was fixed in the package apport - 2.20.4-0ubuntu4.9 --- apport (2.20.4-0ubuntu4.9) zesty; urgency=medium * bin/apport-cli: read until instead of a single character when # of apport options is non-unique with a single character. Thanks to Chad Smith for the patch.

[Touch-packages] [Bug 1722564] Re: apport question will not accept multi-character responses

2017-12-07 Thread Launchpad Bug Tracker
This bug was fixed in the package apport - 2.20.1-0ubuntu2.14 --- apport (2.20.1-0ubuntu2.14) xenial; urgency=medium * bin/apport-cli: read until instead of a single character when # of apport options is non-unique with a single character. Thanks to Chad Smith for the

[Touch-packages] [Bug 1722564] Re: apport question will not accept multi-character responses

2017-12-07 Thread Launchpad Bug Tracker
This bug was fixed in the package apport - 2.20.7-0ubuntu3.6 --- apport (2.20.7-0ubuntu3.6) artful; urgency=medium * bin/apport-cli: read until instead of a single character when # of apport options is non-unique with a single character. Thanks to Chad Smith for the patch.

[Touch-packages] [Bug 1722564] Re: apport question will not accept multi-character responses

2017-12-06 Thread Brian Murray
The question regarding "cloud vendor or environment" is a couple of questions deep and I had to use single character responses to the preceding questions to get to it. -- You received this bug notification because you are a member of Ubuntu Touch seeded packages, which is subscribed to apport in

[Touch-packages] [Bug 1722564] Re: apport question will not accept multi-character responses

2017-12-06 Thread Scott Moser
Robie, Brian, I went ahead and did the reproduce in the test and selected '2' in the multi-select. Heres the full console log. My responses can be seen there alsol. $ for release in xenial artful; do > ref=$release-proposed; > echo "$release START --"; >

[Touch-packages] [Bug 1722564] Re: apport question will not accept multi-character responses

2017-12-06 Thread Scott Moser
Full disclosure, As you can see, I ran with artful and xenial (just copied and pasted text from above). I didn't run with zesty. -- You received this bug notification because you are a member of Ubuntu Touch seeded packages, which is subscribed to apport in Ubuntu.

[Touch-packages] [Bug 1722564] Re: apport question will not accept multi-character responses

2017-12-06 Thread Robie Basak
Brian, when you verified these, did you also check that single digit choices can also be selected as expected? Seems to me that code path has regression potential here. -- You received this bug notification because you are a member of Ubuntu Touch seeded packages, which is subscribed to apport

[Touch-packages] [Bug 1722564] Re: apport question will not accept multi-character responses

2017-11-29 Thread Brian Murray
I installed the version of apport from artful-proposed and can confirm that choices greater than 9 also work there. *** Please select the cloud vendor or environment in which this instance is running Choices: 1: Amazon - Ec2 2: AliYun 3: AltCloud 4: Azure 5: Bigstep 6: CloudSigma

[Touch-packages] [Bug 1722564] Re: apport question will not accept multi-character responses

2017-11-29 Thread Brian Murray
I installed the version of apport from zesty-proposed and can confirm that choices greater than 9 now work. *** Please select the cloud vendor or environment in which this instance is running Choices: 1: Amazon - Ec2 2: AliYun 3: AltCloud 4: Azure 5: Bigstep 6: CloudSigma 7:

[Touch-packages] [Bug 1722564] Re: apport question will not accept multi-character responses

2017-11-29 Thread Brian Murray
I installed the version of apport from xenial-proposed and can confirm that choices greater than 9 now work. *** Please select the cloud vendor or environment in which this instance is running Choices: 1: Amazon - Ec2 2: AliYun 3: AltCloud 4: Azure 5: Bigstep 6: CloudSigma 7:

[Touch-packages] [Bug 1722564] Re: apport question will not accept multi-character responses

2017-11-28 Thread Adam Conrad
Hello Scott, or anyone else affected, Accepted apport into xenial-proposed. The package will build now and be available at https://launchpad.net/ubuntu/+source/apport/2.20.1-0ubuntu2.14 in a few hours, and then in the -proposed repository. Please help us by testing this new package. See

[Touch-packages] [Bug 1722564] Re: apport question will not accept multi-character responses

2017-11-28 Thread Brian Murray
These are now in the SRU queue again and awaiting review by a team member of mine. -- You received this bug notification because you are a member of Ubuntu Touch seeded packages, which is subscribed to apport in Ubuntu. https://bugs.launchpad.net/bugs/1722564 Title: apport question will not

[Touch-packages] [Bug 1722564] Re: apport question will not accept multi-character responses

2017-11-27 Thread Brian Murray
** Changed in: apport (Ubuntu Zesty) Assignee: (unassigned) => Brian Murray (brian-murray) ** Changed in: apport (Ubuntu Xenial) Assignee: (unassigned) => Brian Murray (brian-murray) -- You received this bug notification because you are a member of Ubuntu Touch seeded packages, which

[Touch-packages] [Bug 1722564] Re: apport question will not accept multi-character responses

2017-11-27 Thread Brian Murray
** Also affects: apport (Ubuntu Zesty) Importance: Undecided Status: New -- You received this bug notification because you are a member of Ubuntu Touch seeded packages, which is subscribed to apport in Ubuntu. https://bugs.launchpad.net/bugs/1722564 Title: apport question will not

[Touch-packages] [Bug 1722564] Re: apport question will not accept multi-character responses

2017-11-17 Thread Brian Murray
The artful upload was superseded by a security upload. I'll get this SRU'ed shortly. -- You received this bug notification because you are a member of Ubuntu Touch seeded packages, which is subscribed to apport in Ubuntu. https://bugs.launchpad.net/bugs/1722564 Title: apport question will not

[Touch-packages] [Bug 1722564] Re: apport question will not accept multi-character responses

2017-11-11 Thread Launchpad Bug Tracker
This bug was fixed in the package apport - 2.20.7-0ubuntu4 --- apport (2.20.7-0ubuntu4) bionic; urgency=medium * etc/apport/crashdb.conf: Enable Launchpad crash reports for bionic. * bin/apport-cli: read until instead of a single character when # of apport options is

[Touch-packages] [Bug 1722564] Re: apport question will not accept multi-character responses

2017-11-09 Thread Brian Murray
Hello Scott, or anyone else affected, Accepted apport into artful-proposed. The package will build now and be available at https://launchpad.net/ubuntu/+source/apport/2.20.7-0ubuntu3.2 in a few hours, and then in the -proposed repository. Please help us by testing this new package. See

[Touch-packages] [Bug 1722564] Re: apport question will not accept multi-character responses

2017-11-09 Thread Chad Smith
** Description changed: - the newly added cloud-init apport support shows a list of cloud - providers and asks the user to select one. There are currently 18 - options. For any option > 10, apport will just take the '1' that is - typed as the answer. + === Begin SRU Template === + [Impact] +

[Touch-packages] [Bug 1722564] Re: apport question will not accept multi-character responses

2017-11-08 Thread Launchpad Bug Tracker
** Branch linked: lp:~ubuntu-core-dev/ubuntu/bionic/apport/ubuntu -- You received this bug notification because you are a member of Ubuntu Touch seeded packages, which is subscribed to apport in Ubuntu. https://bugs.launchpad.net/bugs/1722564 Title: apport question will not accept

[Touch-packages] [Bug 1722564] Re: apport question will not accept multi-character responses

2017-11-02 Thread Scott Moser
** Also affects: apport (Ubuntu Xenial) Importance: Undecided Status: New -- You received this bug notification because you are a member of Ubuntu Touch seeded packages, which is subscribed to apport in Ubuntu. https://bugs.launchpad.net/bugs/1722564 Title: apport question will not

[Touch-packages] [Bug 1722564] Re: apport question will not accept multi-character responses

2017-10-25 Thread Francis Ginther
** Tags added: id-59ef68f44b84c4117299967c -- You received this bug notification because you are a member of Ubuntu Touch seeded packages, which is subscribed to apport in Ubuntu. https://bugs.launchpad.net/bugs/1722564 Title: apport question will not accept multi-character responses Status

[Touch-packages] [Bug 1722564] Re: apport question will not accept multi-character responses

2017-10-24 Thread Chad Smith
Just tested on artful both above and below the prompt choice threshold of 10 and bug reporting works. Input of "9" for single digits choices versus "13" for multi-digit choices both work now for choice prompts with long lists. Short choice list prompts retain their single character responses. --

[Touch-packages] [Bug 1722564] Re: apport question will not accept multi-character responses

2017-10-24 Thread Chad Smith
Yeah that feels like a premature optomization as that limits your interface options significantly (to only 9 valid choices). I'm suprised there haven't been any other bugs related to this, but maybe there aren't a lot of cli use-cases out there with complex bug-reporting choices. I've attached

[Touch-packages] [Bug 1722564] Re: apport question will not accept multi-character responses

2017-10-24 Thread Chad Smith
** Branch linked: lp:~chad.smith/apport/add-multichar-response-for-long- lists -- You received this bug notification because you are a member of Ubuntu Touch seeded packages, which is subscribed to apport in Ubuntu. https://bugs.launchpad.net/bugs/1722564 Title: apport question will not

Re: [Touch-packages] [Bug 1722564] Re: apport question will not accept multi-character responses

2017-10-24 Thread Brian Murray
On Tue, Oct 24, 2017 at 03:35:57PM -, Chad Smith wrote: > Ahh brian, sorry for this delay here, I forgot to subscribe to the bug. > So those variable changes where actually because I had update apport on > a zesty machine but accidentally diffed against xenial source. I'll put > up an

[Touch-packages] [Bug 1722564] Re: apport question will not accept multi-character responses

2017-10-24 Thread Chad Smith
Ahh brian, sorry for this delay here, I forgot to subscribe to the bug. So those variable changes where actually because I had update apport on a zesty machine but accidentally diffed against xenial source. I'll put up an official upstream apport merge proposal and link it here so we can proceed

[Touch-packages] [Bug 1722564] Re: apport question will not accept multi-character responses

2017-10-19 Thread Brian Murray
Is the cloud-init apport hook being SRU'ed? If so then I'll also get an SRU for apport started. ** Also affects: apport (Ubuntu Artful) Importance: Medium Status: Triaged ** Changed in: apport (Ubuntu Artful) Status: Triaged => In Progress ** Changed in: apport (Ubuntu Artful)

[Touch-packages] [Bug 1722564] Re: apport question will not accept multi-character responses

2017-10-18 Thread Brian Murray
Thanks for looking at this Chad. Are the variable name changes, l to s, just to make things work better with ipdb? -- You received this bug notification because you are a member of Ubuntu Touch seeded packages, which is subscribed to apport in Ubuntu. https://bugs.launchpad.net/bugs/1722564

[Touch-packages] [Bug 1722564] Re: apport question will not accept multi-character responses

2017-10-18 Thread Chad Smith
This quick fix worked on my side http://paste.ubuntu.com/25715415/ allows for two char reading if choices> 10 -- You received this bug notification because you are a member of Ubuntu Touch seeded packages, which is subscribed to apport in Ubuntu. https://bugs.launchpad.net/bugs/1722564 Title:

[Touch-packages] [Bug 1722564] Re: apport question will not accept multi-character responses

2017-10-18 Thread Scott Moser
** Also affects: apport Importance: Undecided Status: New ** Changed in: apport Status: New => Confirmed -- You received this bug notification because you are a member of Ubuntu Touch seeded packages, which is subscribed to apport in Ubuntu.

[Touch-packages] [Bug 1722564] Re: apport question will not accept multi-character responses

2017-10-11 Thread Brian Murray
For reasons unknown to me apport-cli only reads one character. 37 def raw_input_char(self, prompt): 38 '''raw_input, but read only one character''' 39 40 sys.stdout.write(prompt) 41 sys.stdout.write(' ') 42 sys.stdout.flush() 43 44 file =