Bug 208316

Summary: pygrub traceback when moving cursor one to the right and backspacing
Product: [Fedora] Fedora Reporter: Jesse Keating <jkeating>
Component: xenAssignee: Jeremy Katz <katzj>
Status: CLOSED CURRENTRELEASE QA Contact: Brian Brock <bbrock>
Severity: medium Docs Contact:
Priority: medium    
Version: rawhideCC: bnocera, bstein, dcantrell, katzj
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Fixed In Version: xen-3.0.3-6.fc6 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2007-03-01 12:21:49 EST Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---
Bug Depends On:    
Bug Blocks: 150223    

Description Jesse Keating 2006-09-27 16:19:34 EDT
Or moving cursor as far right as it'll go.

Traceback (most recent call last):
  File "/usr/bin/pygrub", line 483, in ?
  File "/usr/lib/python2.4/curses/wrapper.py", line 44, in wrapper
    return func(stdscr, *args, **kwds)
  File "/usr/bin/pygrub", line 439, in run_main
    sel = g.run()
  File "/usr/bin/pygrub", line 346, in run
  File "/usr/bin/pygrub", line 389, in run_main
    l = self.edit_line(line)
  File "/usr/bin/pygrub", line 259, in edit_line
    ret = t.edit()
  File "/usr/bin/pygrub", line 135, in edit
    r = curses.textpad.Textbox.edit(self)
  File "/usr/lib/python2.4/curses/textpad.py", line 157, in edit
    if not self.do_command(ch):
  File "/usr/bin/pygrub", line 120, in do_command
IndexError: pop index out of range
Error: Boot loader didn't return any data!
Comment 1 Bastien Nocera 2006-11-13 09:11:51 EST
bug 215316 contains the patch from upstream:
changeset:   12326:14dc20d98ee1
user:        Tim Deegan <Tim.Deegan@xensource.com>
date:        Thu Nov 09 14:23:24 2006 +0000
summary:     [PYGRUB] Fix a few bounds violations in pygrub's command-line editor.
Comment 2 Daniel Berrange 2007-02-15 14:10:14 EST
Fix on its way to updates-testing in xen-3.0.3-6.fc6

Rawhide is already updated to xen 3.0.4
Comment 3 Daniel Berrange 2007-03-01 12:21:49 EST
This errata is now in FC6 'updates'.