This service will be undergoing maintenance at 00:00 UTC, 2016-08-01. It is expected to last about 1 hours
Bug 208316 - pygrub traceback when moving cursor one to the right and backspacing
pygrub traceback when moving cursor one to the right and backspacing
Status: CLOSED CURRENTRELEASE
Product: Fedora
Classification: Fedora
Component: xen (Show other bugs)
rawhide
All Linux
medium Severity medium
: ---
: ---
Assigned To: Jeremy Katz
Brian Brock
:
Depends On:
Blocks: FC6Target
  Show dependency treegraph
 
Reported: 2006-09-27 16:19 EDT by Jesse Keating
Modified: 2013-01-09 21:33 EST (History)
4 users (show)

See Also:
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:


Attachments (Terms of Use)

  None (edit)
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 ?
    curses.wrapper(run_main)
  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
    self.run_main(timeout)
  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
    self.line.pop(self.pos)
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'.

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