Skip to content

Instantly share code, notes, and snippets.

@cfebs
Created June 1, 2023 00:40
Show Gist options
  • Save cfebs/cfb4613d026d276a7d53c36adabf6973 to your computer and use it in GitHub Desktop.
Save cfebs/cfb4613d026d276a7d53c36adabf6973 to your computer and use it in GitHub Desktop.

To Reproduce

  1. Open bottles from terminal, select a bottle
  2. Click context dot menu for a Shortcut
  3. "Change Launch Options"
  4. The new window appears
  5. Make no changes. Click Save

First error message here:

Traceback (most recent call last):
  File "/usr/share/bottles/bottles/frontend/widgets/program.py", line 202, in update_programs
    self.view_bottle.update_programs(config=self.config)
  File "/usr/share/bottles/bottles/frontend/views/bottle_details.py", line 287, in update_programs
    raise TypeError("config param need BottleConfig type, but it was %s" % type(config))
TypeError: config param need BottleConfig type, but it was <class 'str'>
  1. Click context dot menu for a Shortcut
  2. "Change Launch Options"

The window for changing the launch options does not appear and I get an error.

Traceback (most recent call last):
  File "/usr/share/bottles/bottles/frontend/widgets/program.py", line 134, in show_launch_options_view
    dialog = LaunchOptionsDialog(self, self.config, self.program)
             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/share/bottles/bottles/frontend/windows/launchoptions.py", line 85, in __init__
    config.Parameters.dxvk,
    ^^^^^^^^^^^^^^^^^
AttributeError: 'str' object has no attribute 'Parameters'

Package

bottles 2:51.6-3 from arch aur python 3.11.3

Debugging Information

Nothing to add

Troubleshooting Logs

Nothing to add

Additional context

Nothing to add

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment