Bug 2131493

Summary: [abrt] bottles: set_config(): bottle_preferences.py:336:set_config:TypeError: nothing connected to <bound method PreferencesView.__toggle_runtime of <bottle_preferences.PreferencesView object at 0x7f03e4316e40 (DetailsPreferences at 0x5561cce277f0)>>
Product: [Fedora] Fedora Reporter: Stefan Fil <stefan.filipovic05>
Component: bottlesAssignee: Artem <ego.cordatus>
Status: CLOSED ERRATA QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 36CC: ego.cordatus, mail
Target Milestone: ---   
Target Release: ---   
Hardware: x86_64   
OS: Unspecified   
URL: https://retrace.fedoraproject.org/faf/reports/bthash/ce247f7ceac64d1f59d1c7cee0b29fffb037a096
Whiteboard: abrt_hash:4aee6b5e72f2644d8da9d20c0187d58e8662da89;VARIANT_ID=workstation;
Fixed In Version: bottles-2022.7.14-1.fc36 Doc Type: ---
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2022-10-27 12:20:22 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
File: a.png
none
File: b.png none

Description Stefan Fil 2022-10-01 20:09:36 UTC
Description of problem:
Bottles opened, created new (first) bottle, clicked on said bottle, the menu changed as if i am in a different menu(the create new bottle button in the top left corner turned into a go back button and the 3 bar button in the top right corner dissapeared) but the bottle selection was still there.

Version-Release number of selected component:
bottles-2022.5.28-4.fc36

Additional info:
reporter:       libreport-2.17.4
cgroup:         0::/user.slice/user-1000.slice/user/app.slice/app-org.gnome.Terminal.slice/vte-spawn-41264832-9014-4242-884f-1fb13518c014.scope
cmdline:        /usr/bin/python3 /usr/bin/bottles
crash_function: set_config
exception_type: TypeError
executable:     /usr/bin/bottles
interpreter:    python3-3.10.7-1.fc36.x86_64
kernel:         5.19.12-200.fc36.x86_64
runlevel:       N 5
type:           Python3
uid:            1000

Truncated backtrace:
bottle_preferences.py:336:set_config:TypeError: nothing connected to <bound method PreferencesView.__toggle_runtime of <bottle_preferences.PreferencesView object at 0x7f03e4316e40 (DetailsPreferences at 0x5561cce277f0)>>

Traceback (most recent call last):
  File "/usr/share/bottles/bottles/views/list.py", line 159, in show_details
    self.window.show_details_view(config=config)
  File "/usr/share/bottles/bottles/window.py", line 339, in show_details_view
    self.page_details.set_config(config)
  File "/usr/share/bottles/bottles/views/details.py", line 184, in set_config
    self.view_preferences.set_config(config=config)
  File "/usr/share/bottles/bottles/views/bottle_preferences.py", line 336, in set_config
    self.switch_runtime.handler_block_by_func(self.__toggle_runtime)
TypeError: nothing connected to <bound method PreferencesView.__toggle_runtime of <bottle_preferences.PreferencesView object at 0x7f03e4316e40 (DetailsPreferences at 0x5561cce277f0)>>

Local variables in innermost frame:
self: <bottle_preferences.PreferencesView object at 0x7f03e4316e40 (DetailsPreferences at 0x5561cce277f0)>
config: {'Arch': 'win64', 'Creation_Date': '2022-10-01 21:58:37.666576', 'Custom_Path': False, 'DLL_Overrides': {}, 'DXVK': 'dxvk-1.10.3', 'Environment': 'Application', 'Environment_Variables': {}, 'External_Programs': {}, 'Installed_Dependencies': ['arial32', 'times32', 'courie32'], 'LatencyFleX': 'latencyflex-v0.1.0', 'Latest_Executables': [], 'NVAPI': 'dxvk-nvapi-v0.5.4', 'Name': 'fl studio', 'Parameters': {'custom_dpi': 96, 'discrete_gpu': False, 'dxvk': True, 'dxvk_hud': False, 'dxvk_nvapi': False, 'fixme_logs': False, 'fsr': False, 'fsr_level': 5, 'fullscreen_capture': False, 'gamemode': False, 'gamescope': False, 'gamescope_borderless': False, 'gamescope_fps': 0, 'gamescope_fps_no_focus': 0, 'gamescope_fullscreen': True, 'gamescope_game_height': 0, 'gamescope_game_width': 0, 'gamescope_scaling': False, 'gamescope_window_height': 0, 'gamescope_window_width': 0, 'latencyflex': False, 'mangohud': False, 'obsvkc': False, 'pulseaudio_latency': False, 'renderer': 'gl', 'sync': 'wine', 'take_focus': False, 'use_runtime': False, 'use_steam_runtime': False, 'virtual_desktop': False, 'virtual_desktop_res': '1280x720', 'vkbasalt': False, 'vkd3d': True}, 'Path': 'fl-studio', 'Runner': 'sys-wine-7.12', 'State': 0, 'Uninstallers': {'arial32': False, 'courie32': False, 'times32': False}, 'Update_Date': '2022-10-01 22:00:00.217058', 'VKD3D': 'vkd3d-proton-2.6-1-5b73139', 'Versioning': False, 'Windows': 'win10', 'WorkingDir': ''}
parameters: {'custom_dpi': 96, 'discrete_gpu': False, 'dxvk': True, 'dxvk_hud': False, 'dxvk_nvapi': False, 'fixme_logs': False, 'fsr': False, 'fsr_level': 5, 'fullscreen_capture': False, 'gamemode': False, 'gamescope': False, 'gamescope_borderless': False, 'gamescope_fps': 0, 'gamescope_fps_no_focus': 0, 'gamescope_fullscreen': True, 'gamescope_game_height': 0, 'gamescope_game_width': 0, 'gamescope_scaling': False, 'gamescope_window_height': 0, 'gamescope_window_width': 0, 'latencyflex': False, 'mangohud': False, 'obsvkc': False, 'pulseaudio_latency': False, 'renderer': 'gl', 'sync': 'wine', 'take_focus': False, 'use_runtime': False, 'use_steam_runtime': False, 'virtual_desktop': False, 'virtual_desktop_res': '1280x720', 'vkbasalt': False, 'vkd3d': True}

Comment 1 Stefan Fil 2022-10-01 20:09:38 UTC
Created attachment 1915490 [details]
File: backtrace

Comment 2 Stefan Fil 2022-10-01 20:09:39 UTC
Created attachment 1915491 [details]
File: cpuinfo

Comment 3 Stefan Fil 2022-10-01 20:09:40 UTC
Created attachment 1915492 [details]
File: environ

Comment 4 Stefan Fil 2022-10-01 20:09:41 UTC
Created attachment 1915493 [details]
File: mountinfo

Comment 5 Stefan Fil 2022-10-01 20:09:42 UTC
Created attachment 1915494 [details]
File: namespaces

Comment 6 Stefan Fil 2022-10-01 20:09:43 UTC
Created attachment 1915495 [details]
File: open_fds

Comment 7 Stefan Fil 2022-10-01 20:09:45 UTC
Created attachment 1915496 [details]
File: a.png

Comment 8 Stefan Fil 2022-10-01 20:09:46 UTC
Created attachment 1915497 [details]
File: b.png

Comment 9 Stefan Fil 2022-10-01 20:11:28 UTC
Update: After restarting the program, the issue was gone

Comment 10 Fedora Update System 2022-10-25 05:14:08 UTC
FEDORA-2022-14524d28ef has been submitted as an update to Fedora 36. https://bodhi.fedoraproject.org/updates/FEDORA-2022-14524d28ef

Comment 11 Fedora Update System 2022-10-25 13:17:19 UTC
FEDORA-2022-14524d28ef has been pushed to the Fedora 36 testing repository.
Soon you'll be able to install the update with the following command:
`sudo dnf upgrade --enablerepo=updates-testing --refresh --advisory=FEDORA-2022-14524d28ef`
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2022-14524d28ef

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

Comment 12 Fedora Update System 2022-10-27 12:20:22 UTC
FEDORA-2022-14524d28ef has been pushed to the Fedora 36 stable repository.
If problem still persists, please make note of it in this bug report.