Bug 1623189 - [abrt] blivet-gui-runtime: default_unit(): size_chooser.py:777:default_unit:IndexError: list index out of range
Summary: [abrt] blivet-gui-runtime: default_unit(): size_chooser.py:777:default_unit:I...
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: blivet-gui
Version: 28
Hardware: x86_64
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Vojtech Trefny
QA Contact: Fedora Extras Quality Assurance
URL: https://retrace.fedoraproject.org/faf...
Whiteboard: abrt_hash:eba4508ccb83ce9b07adbfca558...
: 1635185 (view as bug list)
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2018-08-28 16:45 UTC by Jan Vlug
Modified: 2018-10-30 12:38 UTC (History)
3 users (show)

Fixed In Version: blivet-gui-2.1.9-1.fc29
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2018-10-02 19:32:55 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)
File: backtrace (1005 bytes, text/plain)
2018-08-28 16:45 UTC, Jan Vlug
no flags Details
File: blivet-gui-utils.log (6.50 KB, text/plain)
2018-08-28 16:46 UTC, Jan Vlug
no flags Details
File: blivet.log (150.21 KB, text/plain)
2018-08-28 16:46 UTC, Jan Vlug
no flags Details
File: cgroup (331 bytes, text/plain)
2018-08-28 16:46 UTC, Jan Vlug
no flags Details
File: cpuinfo (1.44 KB, text/plain)
2018-08-28 16:46 UTC, Jan Vlug
no flags Details
File: environ (3.65 KB, text/plain)
2018-08-28 16:46 UTC, Jan Vlug
no flags Details
File: mountinfo (4.42 KB, text/plain)
2018-08-28 16:46 UTC, Jan Vlug
no flags Details
File: namespaces (129 bytes, text/plain)
2018-08-28 16:46 UTC, Jan Vlug
no flags Details
File: open_fds (1.24 KB, text/plain)
2018-08-28 16:46 UTC, Jan Vlug
no flags Details
File: program.log (42.87 KB, text/plain)
2018-08-28 16:46 UTC, Jan Vlug
no flags Details

Description Jan Vlug 2018-08-28 16:45:53 UTC
Description of problem:
select a lvm volume group in blivet-gui Logical View and select the + button.
A popup with this error shouws up: Unknown error occured. list index out of range

Version-Release number of selected component:
blivet-gui-runtime-2.1.8-4.fc28

Additional info:
reporter:       libreport-2.9.5
cmdline:        /usr/bin/python3 /usr/bin/blivet-gui
crash_function: default_unit
exception_type: IndexError
executable:     /usr/bin/blivet-gui
interpreter:    python3-3.6.6-1.fc28.x86_64
kernel:         4.17.18-200.fc28.x86_64
runlevel:       N 5
type:           Python3
uid:            1000

Truncated backtrace:
size_chooser.py:777:default_unit:IndexError: list index out of range

Traceback (most recent call last):
  File "/usr/lib/python3.6/site-packages/blivetgui/dialogs/add_dialog.py", line 929, in on_devices_combo_changed
    self.add_size_area()
  File "/usr/lib/python3.6/site-packages/blivetgui/dialogs/add_dialog.py", line 699, in add_size_area
    raid_type=raid_level)
  File "/usr/lib/python3.6/site-packages/blivetgui/dialogs/size_chooser.py", line 105, in __init__
    self.main_chooser = SizeChooser(max_size=self.max_size, min_size=self.min_size)
  File "/usr/lib/python3.6/site-packages/blivetgui/dialogs/size_chooser.py", line 693, in __init__
    self.selected_unit = self.default_unit
  File "/usr/lib/python3.6/site-packages/blivetgui/dialogs/size_chooser.py", line 777, in default_unit
    return self.available_units[-1]
IndexError: list index out of range

Local variables in innermost frame:
dev_size: Size (0 B)
self: <blivetgui.dialogs.size_chooser.SizeChooser object at 0x7f741ed132b0>

Comment 1 Jan Vlug 2018-08-28 16:45:58 UTC
Created attachment 1479316 [details]
File: backtrace

Comment 2 Jan Vlug 2018-08-28 16:46:00 UTC
Created attachment 1479317 [details]
File: blivet-gui-utils.log

Comment 3 Jan Vlug 2018-08-28 16:46:02 UTC
Created attachment 1479318 [details]
File: blivet.log

Comment 4 Jan Vlug 2018-08-28 16:46:03 UTC
Created attachment 1479319 [details]
File: cgroup

Comment 5 Jan Vlug 2018-08-28 16:46:04 UTC
Created attachment 1479320 [details]
File: cpuinfo

Comment 6 Jan Vlug 2018-08-28 16:46:05 UTC
Created attachment 1479321 [details]
File: environ

Comment 7 Jan Vlug 2018-08-28 16:46:06 UTC
Created attachment 1479322 [details]
File: mountinfo

Comment 8 Jan Vlug 2018-08-28 16:46:08 UTC
Created attachment 1479323 [details]
File: namespaces

Comment 9 Jan Vlug 2018-08-28 16:46:09 UTC
Created attachment 1479324 [details]
File: open_fds

Comment 10 Jan Vlug 2018-08-28 16:46:10 UTC
Created attachment 1479325 [details]
File: program.log

Comment 11 Jan Vlug 2018-08-28 16:51:49 UTC
Similar problem has been detected:

select in blivet-gui an LVM volume group in the left pane. Select a logical volume in the lower right pane. Select the + button.

reporter:       libreport-2.9.5
cmdline:        /usr/bin/python3 /usr/bin/blivet-gui
crash_function: default_unit
exception_type: IndexError
executable:     /usr/bin/blivet-gui
interpreter:    python3-3.6.6-1.fc28.x86_64
kernel:         4.17.18-200.fc28.x86_64
package:        blivet-gui-runtime-2.1.8-4.fc28
reason:         size_chooser.py:777:default_unit:IndexError: list index out of range
runlevel:       N 5
type:           Python3
uid:            1000

Comment 12 Fedora Update System 2018-09-26 12:26:14 UTC
blivet-gui-2.1.9-1.fc29 has been submitted as an update to Fedora 29. https://bodhi.fedoraproject.org/updates/FEDORA-2018-d2ce33a4eb

Comment 13 Fedora Update System 2018-09-26 12:40:14 UTC
blivet-gui-2.1.9-1.fc28 has been submitted as an update to Fedora 28. https://bodhi.fedoraproject.org/updates/FEDORA-2018-7ce6c5d096

Comment 14 Fedora Update System 2018-09-27 16:42:11 UTC
blivet-gui-2.1.9-1.fc29 has been pushed to the Fedora 29 testing repository. If problems still persist, please make note of it in this bug report.
See https://fedoraproject.org/wiki/QA:Updates_Testing for
instructions on how to install test updates.
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2018-d2ce33a4eb

Comment 15 Fedora Update System 2018-09-27 18:42:05 UTC
blivet-gui-2.1.9-1.fc28 has been pushed to the Fedora 28 testing repository. If problems still persist, please make note of it in this bug report.
See https://fedoraproject.org/wiki/QA:Updates_Testing for
instructions on how to install test updates.
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2018-7ce6c5d096

Comment 16 Fedora Update System 2018-10-01 02:47:04 UTC
blivet-gui-2.1.9-1.fc28 has been pushed to the Fedora 28 stable repository. If problems still persist, please make note of it in this bug report.

Comment 17 Fedora Update System 2018-10-02 19:32:55 UTC
blivet-gui-2.1.9-1.fc29 has been pushed to the Fedora 29 stable repository. If problems still persist, please make note of it in this bug report.

Comment 18 Vojtech Trefny 2018-10-30 12:38:50 UTC
*** Bug 1635185 has been marked as a duplicate of this bug. ***


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