Project

General

Profile

Actions

Bug #8243

closed

text-install:272 IndexError: list index out of range

Added by Michal Nowak over 5 years ago. Updated over 5 years ago.

Status:
Resolved
Priority:
Normal
Category:
-
Target version:
-
Start date:
2017-05-16
Due date:
% Done:

0%

Estimated time:
Difficulty:
Medium
Tags:
needs-triage

Description

Un-select all devices from text-install from OI 2017.04, press next key, confirm question wrt blanking disk, and the installer fails with traceback:

2017-05-16 17:15:48,717 - INFO    : text-install:120 **** START ****
2017-05-16 17:16:11,268 - ERROR   : text-install:271 Install Profile:
None
None
None
2017-05-16 17:16:11,268 - ERROR   : text-install:272 Traceback (most recent call last):
  File "/usr/bin/text-install", line 235, in <module>
    SCREEN = SCREEN.show(INSTALL_PROFILE)
  File "/usr/lib/python2.7/vendor-packages/osol_install/text_install/base_screen.py", line 124, in show
    self._show()
  File "/usr/lib/python2.7/vendor-packages/osol_install/text_install/fdisk_partitions.py", line 176, in _show
    self.disk_info = self.install_profile.disks[0]
IndexError: list index out of range

2017-05-16 17:16:11,268 - INFO    : text-install:99 **** END ****

It should have refused to continue, perhaps don't even ask the "blanking question" (as no disk is selected).

Actions #1

Updated by Alexander Pyhalov over 5 years ago

  • Status changed from New to Resolved
  • Assignee set to Alexander Pyhalov

Fixed in https://github.com/OpenIndiana/slim_source/commit/15a0eecf696d029408ab2f11df8cab9409e7e3bb .
Now installer shouldn't proceed if there's no selected disks.

Actions

Also available in: Atom PDF