Bug 1394457 - Appliance console 'q' (quit command) crashes appliance console
Summary: Appliance console 'q' (quit command) crashes appliance console
Keywords:
Status: CLOSED DUPLICATE of bug 1394054
Alias: None
Product: Red Hat CloudForms Management Engine
Classification: Red Hat
Component: Appliance
Version: 5.7.0
Hardware: Unspecified
OS: Unspecified
unspecified
medium
Target Milestone: GA
: cfme-future
Assignee: Yuri Rudman
QA Contact: luke couzens
URL:
Whiteboard: black
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2016-11-12 09:11 UTC by luke couzens
Modified: 2016-11-17 14:35 UTC (History)
5 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2016-11-17 14:35:07 UTC
Category: ---
Cloudforms Team: ---
Target Upstream Version:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Bugzilla 1394054 0 unspecified CLOSED Appliance Console Advanced Setting Odd Behavior 2021-02-22 00:41:40 UTC

Internal Links: 1394054

Description luke couzens 2016-11-12 09:11:05 UTC
Description of problem:Appliance console 'q' (quit command) crashes appliance console

Version-Release number of selected component (if applicable):5.7.0.10


How reproducible:100%


Steps to Reproduce:
1.provision appliance
2.run appliance_console
3.type 'q' to quit appliance console

Actual results:appliance console crashes


Expected results:appliance console quits cleanly


Additional info:
http://pastebin.test.redhat.com/429626

Comment 2 Dave Johnson 2016-11-13 01:51:50 UTC
Luke, no worries but just paste the stack track in the BZ so if you search, you can potentially find that a BZ has already been written   ;)


-- press enter/return to continue or q to stop -- q
                                                   /opt/rh/cfme-gemset/gems/highline-1.6.21/lib/highline.rb:983:in `+': no implicit conversion of nil into Array (TypeError)
	from /opt/rh/cfme-gemset/gems/highline-1.6.21/lib/highline.rb:983:in `page_print'
	from /opt/rh/cfme-gemset/gems/highline-1.6.21/lib/highline.rb:722:in `format_statement'
	from /opt/rh/cfme-gemset/gems/highline-1.6.21/lib/highline.rb:617:in `say'
	from /opt/rh/cfme-gemset/gems/highline-1.6.21/lib/highline.rb:257:in `ask'
	from /opt/rh/cfme-gemset/gems/highline-1.6.21/lib/highline.rb:361:in `choose'
	from /var/www/miq/vmdb/gems/pending/appliance_console/prompts.rb:174:in `ask_with_menu'
	from /var/www/miq/vmdb/gems/pending/appliance_console.rb:159:in `block in <module:ApplianceConsole>'
	from /var/www/miq/vmdb/gems/pending/appliance_console.rb:109:in `loop'
	from /var/www/miq/vmdb/gems/pending/appliance_console.rb:109:in `<module:ApplianceConsole>'
	from /var/www/miq/vmdb/gems/pending/appliance_console.rb:95:in `<main>'
[root@10-16-7-152 ~]#

Comment 3 Yuri Rudman 2016-11-17 14:35:07 UTC
PR: https://github.com/ManageIQ/manageiq-gems-pending/pull/16

This PR removing extra prompt:  "--press enter/return to continue or q to stop --"

Closing this BZ since resolution is to remove this new prompt and it is duplicate for https://bugzilla.redhat.com/show_bug.cgi?id=1394054

*** This bug has been marked as a duplicate of bug 1394054 ***


Note You need to log in before you can comment on or make changes to this bug.