Opened 9 years ago

Closed 9 years ago

#4872 closed defect (fixed)

intro window key error in shell.log

Reported by: quozl Owned by:
Priority: Low Milestone: Unspecified
Component: Sugar Version: Unspecified
Severity: Minor Keywords:
Cc: Distribution/OS: Unspecified
Bug Status: Unconfirmed

Description

Traceback (most recent call last):
  File "/usr/lib/python2.7/site-packages/jarabe/intro/window.py", line 445, in __key_press_cb
    self._intro_box.next()
  File "/usr/lib/python2.7/site-packages/jarabe/intro/window.py", line 389, in next
    self._setup_page()
  File "/usr/lib/python2.7/site-packages/jarabe/intro/window.py", line 328, in _setup_page
    setup_methods[self._page](self)
KeyError: 4

Change History (4)

comment:1 Changed 9 years ago by quozl

Cause is self._page being incremented beyond self.PAGE_LAST by the method next in sugar:src/jarabe/intro/window.py

comment:3 Changed 9 years ago by quozl

  • Priority changed from Unspecified by Maintainer to Low
  • Severity changed from Unspecified to Minor

tchx84 wrote:

can you describe how to reproduce this?

quozl wrote:

no. shell.log was captured as part of evaluating a different problem, so this was an incidental discovery. I do not think it needs to be reproduced.

comment:4 Changed 9 years ago by Gonzalo Odiard

  • Resolution set to fixed
  • Status changed from new to closed

Intro: don't try setup non existent page - Fixes #4872

Changeset: 24b7d996e9cdebf3ed89d01552cd25dc7b3f3e05

Note: See TracTickets for help on using tickets.