Bug 2177922

Summary: [abrt] bottles: __init__(): new.py:110:__init__:IndexError: list index out of range
Product: [Fedora] Fedora Reporter: Émile Brunelle <ebrunelle08>
Component: bottlesAssignee: Sandro <gui1ty>
Status: CLOSED ERRATA QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 37CC: ego.cordatus, gui1ty, mail, thunderbirdtr, walter.pete
Target Milestone: ---   
Target Release: ---   
Hardware: x86_64   
OS: Unspecified   
URL: https://retrace.fedoraproject.org/faf/reports/bthash/150a3862f55780ae714fa91adfa71c14d273f155
Whiteboard: abrt_hash:0916d5704c1adfbd474a0688b18f74a2c7be3317;VARIANT_ID=workstation;
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2023-06-03 20:39:40 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Attachments:
Description Flags
File: backtrace
none
File: cpuinfo
none
File: environ
none
File: mountinfo
none
File: namespaces
none
File: open_fds none

Description Émile Brunelle 2023-03-13 23:28:12 UTC
Version-Release number of selected component:
bottles-2022.7.14-2.fc37

Additional info:
reporter:       libreport-2.17.4
cgroup:         0::/user.slice/user-1000.slice/user/app.slice/app-gnome-org.gnome.Software-2569.scope
cmdline:        /usr/bin/python3 /usr/bin/bottles
crash_function: __init__
exception_type: IndexError
executable:     /usr/bin/bottles
interpreter:    python3-3.11.2-1.fc37.x86_64
kernel:         6.1.15-200.fc37.x86_64
runlevel:       N 5
type:           Python3
uid:            1000

Truncated backtrace:
new.py:110:__init__:IndexError: list index out of range

Traceback (most recent call last):
  File "/usr/share/bottles/bottles/window.py", line 302, in show_add_view
    new_window = NewView(self, self.arg_exe)
                 ^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/share/bottles/bottles/views/new.py", line 110, in __init__
    self.runner = self.manager.runners_available[0]
                  ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^^^
IndexError: list index out of range

Local variables in innermost frame:
self: <new.NewView object at 0x7ff92fa93000 (NewView at 0x557c48d4a4d0)>
window: <window.MainWindow object at 0x7ff92fb7f4c0 (MainWindow at 0x557c468da290)>
arg_exe: None
kwargs: {}
rs: []
rc: []
rv: []
rl: []
ry: []
__class__: <class 'bottles.views.new.NewView'>

Comment 1 Émile Brunelle 2023-03-13 23:28:15 UTC
Created attachment 1950355 [details]
File: backtrace

Comment 2 Émile Brunelle 2023-03-13 23:28:16 UTC
Created attachment 1950356 [details]
File: cpuinfo

Comment 3 Émile Brunelle 2023-03-13 23:28:18 UTC
Created attachment 1950357 [details]
File: environ

Comment 4 Émile Brunelle 2023-03-13 23:28:19 UTC
Created attachment 1950358 [details]
File: mountinfo

Comment 5 Émile Brunelle 2023-03-13 23:28:20 UTC
Created attachment 1950359 [details]
File: namespaces

Comment 6 Émile Brunelle 2023-03-13 23:28:22 UTC
Created attachment 1950360 [details]
File: open_fds

Comment 7 joshua.heidrich 2023-04-01 12:37:22 UTC
Similar problem has been detected:

On fedora native install. Opening Bottles -> Create a new Bottle

reporter:       libreport-2.17.4
cgroup:         0::/user.slice/user-1000.slice/user/app.slice/app-gnome-com.usebottles.bottles-17302.scope
cmdline:        /usr/bin/python3 /usr/bin/bottles
crash_function: __init__
exception_type: IndexError
executable:     /usr/bin/bottles
interpreter:    python3-3.11.2-1.fc37.x86_64
kernel:         6.2.7-200.fc37.x86_64
package:        bottles-2022.7.14-2.fc37
reason:         new.py:110:__init__:IndexError: list index out of range
runlevel:       N 5
type:           Python3
uid:            1000

Comment 8 timo.kornmayer 2023-04-07 13:39:13 UTC
Similar problem has been detected:

Opened the Bottles Application went through the welcome screen. clicked on continue and then tried to press create new bottle.
happens on both the newest flatpak and the the fedora version from the software store

reporter:       libreport-2.17.4
cgroup:         0::/user.slice/user-1000.slice/user/app.slice/app-gnome-com.usebottles.bottles-70579.scope
cmdline:        /usr/bin/python3 /usr/bin/bottles
crash_function: __init__
exception_type: IndexError
executable:     /usr/bin/bottles
interpreter:    python3-3.11.2-1.fc37.x86_64
kernel:         6.2.8-200.fc37.x86_64
package:        bottles-2022.7.14-2.fc37
reason:         new.py:110:__init__:IndexError: list index out of range
runlevel:       N 5
type:           Python3
uid:            1000

Comment 9 savageburrow 2023-04-08 00:28:27 UTC
Similar problem has been detected:

Happened during first run of bottles, restarted computer, still happening.

reporter:       libreport-2.17.4
cgroup:         0::/user.slice/user-1000.slice/user/app.slice/app-gnome-org.gnome.Software-3586.scope
cmdline:        /usr/bin/python3 /usr/bin/bottles
crash_function: __init__
exception_type: IndexError
executable:     /usr/bin/bottles
interpreter:    python3-3.11.2-1.fc37.x86_64
kernel:         6.2.9-200.fc37.x86_64
package:        bottles-2022.7.14-2.fc37
reason:         new.py:110:__init__:IndexError: list index out of range
runlevel:       N 5
type:           Python3
uid:            1000

Comment 10 Fedora Update System 2023-05-20 13:24:46 UTC
FEDORA-2023-328397d034 has been submitted as an update to Fedora 37. https://bodhi.fedoraproject.org/updates/FEDORA-2023-328397d034

Comment 11 Sandro 2023-05-20 13:39:00 UTC
To all reporters, thank you for taking the time to report bugs. Once the update is pushed to testing, there will be a comment in this bug explaining how to install from the testing repo. If you could do so and test the update to see if that fixes the issues you have been experiencing, that would be very much appreciated. Please also leave karma on the update according to your testing results.

Thank you for your patience!

Comment 12 Fedora Update System 2023-05-21 03:35:46 UTC
FEDORA-2023-328397d034 has been pushed to the Fedora 37 testing repository.
Soon you'll be able to install the update with the following command:
`sudo dnf upgrade --enablerepo=updates-testing --refresh --advisory=FEDORA-2023-328397d034`
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2023-328397d034

See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates.

Comment 13 Fedora Update System 2023-05-29 01:07:21 UTC
FEDORA-2023-328397d034 has been pushed to the Fedora 37 stable repository.
If problem still persists, please make note of it in this bug report.

Comment 14 Sandro 2023-06-03 20:39:40 UTC
I failed to have Bodhi close the bugs on pushing latest release to stable.