Bug 2181056 - [abrt] bottles: create_bottle(): new.py:196:create_bottle:IndexError: list index out of range
Summary: [abrt] bottles: create_bottle(): new.py:196:create_bottle:IndexError: list in...
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: bottles
Version: 38
Hardware: x86_64
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Sandro
QA Contact: Fedora Extras Quality Assurance
URL: https://retrace.fedoraproject.org/faf...
Whiteboard: abrt_hash:f02bdc494a6346931c8e22d7917...
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2023-03-23 00:19 UTC by somethingsomethingfedora
Modified: 2023-05-29 01:06 UTC (History)
5 users (show)

Fixed In Version: bottles-51.6-1.fc38
Clone Of:
Environment:
Last Closed: 2023-05-29 01:06:56 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)
File: os_info (756 bytes, text/plain)
2023-03-23 00:19 UTC, somethingsomethingfedora
no flags Details
File: environ (1.48 KB, text/plain)
2023-03-23 00:19 UTC, somethingsomethingfedora
no flags Details
File: mountinfo (3.78 KB, text/plain)
2023-03-23 00:19 UTC, somethingsomethingfedora
no flags Details
File: open_fds (3.44 KB, text/plain)
2023-03-23 00:19 UTC, somethingsomethingfedora
no flags Details
File: namespaces (171 bytes, text/plain)
2023-03-23 00:19 UTC, somethingsomethingfedora
no flags Details
File: backtrace (536 bytes, text/plain)
2023-03-23 00:19 UTC, somethingsomethingfedora
no flags Details
File: cpuinfo (3.14 KB, text/plain)
2023-03-23 00:20 UTC, somethingsomethingfedora
no flags Details

Description somethingsomethingfedora 2023-03-23 00:19:50 UTC
Description of problem:
Tried creating a bottle with no title on Fedora 38 beta

Version-Release number of selected component:
bottles-2022.7.14-3.fc38

Additional info:
reporter:       libreport-2.17.8
kernel:         6.2.7-300.fc38.x86_64
cmdline:        /usr/bin/python3 /usr/bin/bottles
cgroup:         0::/user.slice/user-1000.slice/user/app.slice/app-gnome-com.usebottles.bottles-27595.scope
uid:            1000
reason:         new.py:196:create_bottle:IndexError: list index out of range
executable:     /usr/bin/bottles
type:           Python3
package:        bottles-2022.7.14-3.fc38
runlevel:       N 5
exception_type: IndexError
crash_function: create_bottle
interpreter:    python3-3.11.2-1.fc38.x86_64
comment:        Tried creating a bottle with no title on Fedora 38 beta

Truncated backtrace:
new.py:196:create_bottle:IndexError: list index out of range

Traceback (most recent call last):
  File "/usr/share/bottles/bottles/views/new.py", line 196, in create_bottle
    dxvk=self.manager.dxvk_available[0],
         ~~~~~~~~~~~~~~~~~~~~~~~~~~~^^^
IndexError: list index out of range

Local variables in innermost frame:
self: <new.NewView object at 0x7f69f80b9380 (NewView at 0x5620516e2fe0)>
args: (<Gtk.Button object at 0x7f69f8099d00 (GtkButton at 0x56205509c920)>,)
versioning_state: False
sandbox_state: False
arch: 'win64'

Potential duplicate: bug {crossver_id}

Comment 1 somethingsomethingfedora 2023-03-23 00:19:53 UTC
Created attachment 1952977 [details]
File: os_info

Comment 2 somethingsomethingfedora 2023-03-23 00:19:54 UTC
Created attachment 1952978 [details]
File: environ

Comment 3 somethingsomethingfedora 2023-03-23 00:19:55 UTC
Created attachment 1952979 [details]
File: mountinfo

Comment 4 somethingsomethingfedora 2023-03-23 00:19:57 UTC
Created attachment 1952980 [details]
File: open_fds

Comment 5 somethingsomethingfedora 2023-03-23 00:19:58 UTC
Created attachment 1952981 [details]
File: namespaces

Comment 6 somethingsomethingfedora 2023-03-23 00:19:59 UTC
Created attachment 1952982 [details]
File: backtrace

Comment 7 somethingsomethingfedora 2023-03-23 00:20:00 UTC
Created attachment 1952983 [details]
File: cpuinfo

Comment 8 somethingsomethingfedora 2023-03-25 20:00:25 UTC
Try to create a bottle in the GUI on Fedora 38 beta


reporter:       libreport-2.17.9
kernel:         6.2.8-300.fc38.x86_64
cmdline:        /usr/bin/python3 /usr/bin/bottles
cgroup:         0::/user.slice/user-1000.slice/user/app.slice/app-gnome-com.usebottles.bottles-29852.scope
uid:            1000
reason:         new.py:196:create_bottle:IndexError: list index out of range
executable:     /usr/bin/bottles
type:           Python3
package:        bottles-2022.7.14-3.fc38
runlevel:       N 5
exception_type: IndexError
crash_function: create_bottle
interpreter:    python3-3.11.2-1.fc38.x86_64
comment:        Try to create a bottle in the GUI on Fedora 38 beta

Comment 9 Sandro 2023-03-25 21:25:21 UTC
Thanks for the bug report. Unfortunately, Bottles in Fedora is currently in an unusable state. We are working on getting it updated to the latest release, but not all dependencies required for that have yet made it into the Fedora repos.

You could help us out by installing the test build from Copr (https://copr.fedorainfracloud.org/coprs/gui1ty/bottles/). I haven't tried it yet myself. It may not work at all. Alternatively, you can install Bottles from FlatHub, which is provided by upstream.

Comment 10 xoiox 2023-04-20 20:43:21 UTC
I just created a gaming bottle (first bottle) and a message appeared that gnome crashed.


reporter:       libreport-2.17.9
kernel:         6.2.11-300.fc38.x86_64
cmdline:        /usr/bin/python3 /usr/bin/bottles
cgroup:         0::/user.slice/user-1000.slice/user/app.slice/app-flatpak-com.github.eneshecan.WhatsAppForLinux-2747.scope
uid:            1000
reason:         new.py:196:create_bottle:IndexError: list index out of range
executable:     /usr/bin/bottles
type:           Python3
package:        bottles-2022.7.14-3.fc38
runlevel:       N 5
exception_type: IndexError
crash_function: create_bottle
interpreter:    python3-3.11.2-1.fc38.x86_64
comment:        I just created a gaming bottle (first bottle) and a message appeared that gnome crashed.

Comment 11 Sandro 2023-04-22 13:23:55 UTC
I/we hope to be able to push an updated Bottles package shortly [1]. In the meantime, you could try the preliminary package and dependencies from Copr:

sudo dnf copr enable gui1ty/bottles
sudo dnf --refresh --enablerepo=updates-testing upgrade bottles

I would appreciate some feedback on that package.

[1] currently waiting on two dependencies to be reviewed

Comment 12 gabriel 2023-05-08 03:35:09 UTC
tried opening a program with wine


reporter:       libreport-2.17.9
kernel:         6.2.14-703.inttf.fc38.x86_64
cmdline:        /usr/bin/python3 /usr/bin/bottles
cgroup:         0::/user.slice/user-1000.slice/user/app.slice/app-com.usebottles.bottles-dcabbdbb9c06442993f844d29b5df4d1.scope
uid:            1000
reason:         new.py:196:create_bottle:IndexError: list index out of range
executable:     /usr/bin/bottles
type:           Python3
package:        bottles-2022.7.14-3.fc38
runlevel:       N 5
exception_type: IndexError
crash_function: create_bottle
interpreter:    python3-3.11.3-1.fc38.x86_64
comment:        tried opening a program with wine

Comment 13 jmshann1 2023-05-12 18:10:49 UTC
On start up, I received this error


reporter:       libreport-2.17.9
kernel:         6.2.14-300.fc38.x86_64
cmdline:        /usr/bin/python3 /usr/bin/bottles
cgroup:         0::/user.slice/user-1000.slice/session-2.scope
uid:            1000
reason:         new.py:196:create_bottle:IndexError: list index out of range
executable:     /usr/bin/bottles
type:           Python3
package:        bottles-2022.7.14-3.fc38
runlevel:       N 5
exception_type: IndexError
crash_function: create_bottle
interpreter:    python3-3.11.3-1.fc38.x86_64
comment:        On start up, I received this error

Comment 14 Bruno Parisi 2023-05-15 22:31:54 UTC
Just installed Bottle from Discover from the Fedora repo


reporter:       libreport-2.17.10
kernel:         6.2.15-300.fc38.x86_64
cmdline:        /usr/bin/python3 /usr/bin/bottles
cgroup:         0::/user.slice/user-1000.slice/user/app.slice/app-com.usebottles.bottles-a97a3a8af82e4f118f2bc05cad01a392.scope
uid:            1000
reason:         new.py:196:create_bottle:IndexError: list index out of range
executable:     /usr/bin/bottles
type:           Python3
package:        bottles-2022.7.14-3.fc38
runlevel:       N 5
exception_type: IndexError
crash_function: create_bottle
interpreter:    python3-3.11.3-1.fc38.x86_64
comment:        Just installed Bottle from Discover from the Fedora repo

Comment 15 jmshann1 2023-05-18 13:23:54 UTC
On start up, I received this error


reporter:       libreport-2.17.10
kernel:         6.2.14-300.fc38.x86_64
cmdline:        /usr/bin/python3 /usr/bin/bottles
cgroup:         0::/user.slice/user-1000.slice/session-2.scope
uid:            1000
reason:         new.py:196:create_bottle:IndexError: list index out of range
executable:     /usr/bin/bottles
type:           Python3
package:        bottles-2022.7.14-3.fc38
runlevel:       N 5
exception_type: IndexError
crash_function: create_bottle
interpreter:    python3-3.11.3-1.fc38.x86_64
comment:        On start up, I received this error

Comment 16 crestfallen.hunter 2023-05-20 09:11:50 UTC
Attempted to create first bottle using Bottles from Fedora repo


reporter:       libreport-2.17.10
kernel:         6.2.15-300.fc38.x86_64
cmdline:        /usr/bin/python3 /usr/bin/bottles
cgroup:         0::/user.slice/user-1000.slice/user/app.slice/app-com.usebottles.bottles-d030df3c95c843dea323f2e9b4e405dd.scope
uid:            1000
reason:         new.py:196:create_bottle:IndexError: list index out of range
executable:     /usr/bin/bottles
type:           Python3
package:        bottles-2022.7.14-3.fc38
runlevel:       N 5
exception_type: IndexError
crash_function: create_bottle
interpreter:    python3-3.11.3-1.fc38.i686
comment:        Attempted to create first bottle using Bottles from Fedora repo

Comment 17 Fedora Update System 2023-05-20 13:23:20 UTC
FEDORA-2023-cc571303eb has been submitted as an update to Fedora 38. https://bodhi.fedoraproject.org/updates/FEDORA-2023-cc571303eb

Comment 18 Sandro 2023-05-20 13:33:23 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 19 Fedora Update System 2023-05-21 03:49:58 UTC
FEDORA-2023-cc571303eb has been pushed to the Fedora 38 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-cc571303eb`
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2023-cc571303eb

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

Comment 20 Dimitris Kafetzis 2023-05-21 08:58:56 UTC
1. install Bottles
 sudo dnf install bottles
2. Run through the first time setup
3. Create a new Bottle

Apparently Bottles cannot connect to the internet, even though the computer does have an active internet connection. So when trying to download dxvk the bottle fails


reporter:       libreport-2.17.10
kernel:         6.2.15-300.fc38.x86_64
cmdline:        /usr/bin/python3 /usr/bin/bottles
cgroup:         0::/user.slice/user-1000.slice/user/app.slice/app-gnome-org.gnome.Software-2711.scope
uid:            1000
reason:         new.py:196:create_bottle:IndexError: list index out of range
executable:     /usr/bin/bottles
type:           Python3
package:        bottles-2022.7.14-3.fc38
runlevel:       N 5
exception_type: IndexError
crash_function: create_bottle
interpreter:    python3-3.11.3-1.fc38.x86_64

Comment 21 Sandro 2023-05-22 09:20:45 UTC
(In reply to Dimitris Kafetzis from comment #20)
> 
> Apparently Bottles cannot connect to the internet, even though the computer
> does have an active internet connection. So when trying to download dxvk the
> bottle fails

Please see the instructions in comment 19. There's a new release in testing. Try that.

Comment 22 Ellienore Bradley 2023-05-27 03:06:43 UTC
This problem occurred after launching Bottles. I clicked on "Create a new Bottle" and it crashed.
Every time I install Bottles on any new Fedora systems on various computers, this crash happens.


reporter:       libreport-2.17.10
kernel:         6.2.15-703.inttf.fc38.x86_64
cmdline:        /usr/bin/python3 /usr/bin/bottles
cgroup:         0::/user.slice/user-1000.slice/user/app.slice/app-gnome-com.usebottles.bottles-16079.scope
uid:            1000
reason:         new.py:196:create_bottle:IndexError: list index out of range
executable:     /usr/bin/bottles
type:           Python3
package:        bottles-2022.7.14-3.fc38
runlevel:       N 5
exception_type: IndexError
crash_function: create_bottle
interpreter:    python3-3.11.3-1.fc38.x86_64

Comment 23 Sandro 2023-05-27 08:04:22 UTC
(In reply to Ellienore Bradley from comment #22)
> This problem occurred after launching Bottles. I clicked on "Create a new
> Bottle" and it crashed.
> Every time I install Bottles on any new Fedora systems on various computers,
> this crash happens.

Please see the instructions in comment 19. There's a new release in testing. Try that. Or wait a couple more days for it to be pushed to stable.

Comment 24 Fedora Update System 2023-05-29 01:06:56 UTC
FEDORA-2023-cc571303eb has been pushed to the Fedora 38 stable repository.
If problem still persists, please make note of it in this bug report.


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