Bug 2222906 - [abrt] bottles: update_programs(): bottle_details.py:287:update_programs:TypeError: config param need BottleConfig type, but it was <class 'str'>
Summary: [abrt] bottles: update_programs(): bottle_details.py:287:update_programs:Type...
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:764e6b0325ac798db80f8dc0e45...
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2023-07-14 12:37 UTC by alod123
Modified: 2024-01-25 04:26 UTC (History)
7 users (show)

Fixed In Version: bottles-51.9-1.fc40 bottles-51.9-1.fc39 bottles-51.9-1.fc38
Clone Of:
Environment:
Last Closed: 2023-09-17 20:32:12 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)
File: os_info (682 bytes, text/plain)
2023-07-14 12:37 UTC, alod123
no flags Details
File: environ (1.46 KB, text/plain)
2023-07-14 12:38 UTC, alod123
no flags Details
File: mountinfo (3.78 KB, text/plain)
2023-07-14 12:38 UTC, alod123
no flags Details
File: open_fds (2.30 KB, text/plain)
2023-07-14 12:38 UTC, alod123
no flags Details
File: namespaces (171 bytes, text/plain)
2023-07-14 12:38 UTC, alod123
no flags Details
File: backtrace (3.04 KB, text/plain)
2023-07-14 12:38 UTC, alod123
no flags Details
File: cpuinfo (2.80 KB, text/plain)
2023-07-14 12:38 UTC, alod123
no flags Details

Description alod123 2023-07-14 12:37:56 UTC
Description of problem:
Disabled DXVK and VKD3D for an app in bottle

Version-Release number of selected component:
bottles-1:51.6-1.fc38

Additional info:
reporter:       libreport-2.17.11
kernel:         6.3.12-200.fc38.x86_64
cmdline:        /usr/bin/python3 /usr/bin/bottles
cgroup:         0::/user.slice/user-1000.slice/session-4.scope
uid:            1000
reason:         bottle_details.py:287:update_programs:TypeError: config param need BottleConfig type, but it was <class 'str'>
executable:     /usr/bin/bottles
type:           Python3
package:        bottles-1:51.6-1.fc38
runlevel:       N 5
exception_type: TypeError
crash_function: update_programs
interpreter:    python3-3.11.4-1.fc38.x86_64
comment:        Disabled DXVK and VKD3D for an app in bottle

Truncated backtrace:
bottle_details.py:287:update_programs:TypeError: config param need BottleConfig type, but it was <class 'str'>

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'>

Local variables in innermost frame:
self: <bottle_details.BottleView object at 0x7f7b4c165ac0 (DetailsBottle at 0x55fd106cc8f0)>
config: "BottleConfig(Name='gaming1', Arch='win64', Windows='win10', Runner='soda-7.0-9', WorkingDir='', DXVK='dxvk-2.2', NVAPI='dxvk-nvapi-v0.6.3', VKD3D='vkd3d-proton-2.9', LatencyFleX='latencyflex-v0.1.1', Path='gaming1', Custom_Path=False, Environment='Gaming', Creation_Date='2023-06-29 17:44:35.887681', Update_Date='2023-07-14 15:36:46.806502', Versioning=False, Versioning_Exclusion_Patterns=[], State=0, Parameters=BottleParams(dxvk=True, dxvk_nvapi=False, vkd3d=True, latencyflex=False, mangohud=False, obsvkc=False, vkbasalt=False, gamemode=False, gamescope=False, gamescope_game_width=0, gamescope_game_height=0, gamescope_window_width=0, gamescope_window_height=0, gamescope_fps=0, gamescope_fps_no_focus=0, gamescope_scaling=False, gamescope_borderless=False, gamescope_fullscreen=True, sync='esync', fsr=False, fsr_sharpening_strength=2, fsr_quality_mode='none', custom_dpi=96, renderer='gl', discrete_gpu=True, virtual_desktop=False, virtual_desktop_res='1280x720', pulseaudio_latency=False, fullscreen_capture=False, take_focus=False, mouse_warp=True, decorated=True, fixme_logs=False, use_runtime=False, use_eac_runtime=True, use_be_runtime=True, use_steam_runtime=False, sandbox=False, versioning_compression=False, versioning_automatic=False, versioning_exclusion_patterns=False, vmtouch=False, vmtouch_cache_cwd=False), Sandbox=BottleSandboxParams(share_net=False, share_sound=False), Environment_Variables={}, Installed_Dependencies=['d3dx9', 'msls31', 'arial32', 'times32', 'courie32', 'd3dcompiler_43', 'd3dcompiler_47'], DLL_Overrides={}, External_Programs={'35b5cd7b-1697-4b6a-b63e-e9641ce83a6c': {'executable': 'ZERO Sievert.exe', 'id': '35b5cd7b-1697-4b6a-b63e-e9641ce83a6c', 'name': 'ZERO Sievert', 'path': '/mnt/FILEDUMP/torrent/downloads/done/ZERO.Sievert.v0.30.15/ZERO.Sievert.v0.30.15/ZERO Sievert.exe'}, 'a28ac8b3-66a1-4aff-9bad-040690ae119b': {'executable': 'tankix.exe', 'arguments': '', 'name': 'tankix', 'path': 'C:\\\\TankiX\\\\tankix.exe', 'folder': '/mnt/FILEDUMP/wine/bottles/gaming1/drive_c/TankiX', 'icon': 'com.usebottles.bottles-program', 'id': 'a28ac8b3-66a1-4aff-9bad-040690ae119b', 'script': '', 'dxvk': False, 'vkd3d': False, 'dxvk_nvapi': False, 'fsr': False, 'pulseaudio_latency': False, 'virtual_desktop': False, 'auto_discovered': True}}, Uninstallers={}, session_arguments='', run_in_terminal=False, Language='sys', CompatData='', data={}, RunnerPath='')"
force_add: None

Comment 1 alod123 2023-07-14 12:37:59 UTC
Created attachment 1975784 [details]
File: os_info

Comment 2 alod123 2023-07-14 12:38:01 UTC
Created attachment 1975785 [details]
File: environ

Comment 3 alod123 2023-07-14 12:38:03 UTC
Created attachment 1975786 [details]
File: mountinfo

Comment 4 alod123 2023-07-14 12:38:04 UTC
Created attachment 1975787 [details]
File: open_fds

Comment 5 alod123 2023-07-14 12:38:06 UTC
Created attachment 1975788 [details]
File: namespaces

Comment 6 alod123 2023-07-14 12:38:07 UTC
Created attachment 1975789 [details]
File: backtrace

Comment 7 alod123 2023-07-14 12:38:09 UTC
Created attachment 1975790 [details]
File: cpuinfo

Comment 8 Sandro 2023-07-15 09:46:21 UTC
> Description of problem:
> Disabled DXVK and VKD3D for an app in bottle

I cannot reproduce. I just tried disabling DXVK, which also disables VKD3D, and it worked without crash.

Does it happen in any bottle or only specific bottles. Could you maybe attach your bottle config (export configuration) to this bug? Checkt that it doesn't contain any sensitive information.

Comment 9 Fedora Update System 2023-09-17 20:31:02 UTC
FEDORA-2023-ab9b6be38b has been submitted as an update to Fedora 40. https://bodhi.fedoraproject.org/updates/FEDORA-2023-ab9b6be38b

Comment 10 Fedora Update System 2023-09-17 20:32:12 UTC
FEDORA-2023-ab9b6be38b has been pushed to the Fedora 40 stable repository.
If problem still persists, please make note of it in this bug report.

Comment 11 Fedora Update System 2023-09-17 20:35:49 UTC
FEDORA-2023-5d9f9069dd has been submitted as an update to Fedora 38. https://bodhi.fedoraproject.org/updates/FEDORA-2023-5d9f9069dd

Comment 12 Fedora Update System 2023-09-17 20:36:12 UTC
FEDORA-2023-1886bcf803 has been submitted as an update to Fedora 39. https://bodhi.fedoraproject.org/updates/FEDORA-2023-1886bcf803

Comment 13 Fedora Update System 2023-09-18 02:05:21 UTC
FEDORA-2023-1886bcf803 has been pushed to the Fedora 39 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-1886bcf803`
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2023-1886bcf803

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

Comment 14 Fedora Update System 2023-09-18 03:15:24 UTC
FEDORA-2023-5d9f9069dd 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-5d9f9069dd`
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2023-5d9f9069dd

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

Comment 15 Fedora Update System 2023-09-26 00:17:54 UTC
FEDORA-2023-1886bcf803 has been pushed to the Fedora 39 stable repository.
If problem still persists, please make note of it in this bug report.

Comment 16 Fedora Update System 2023-09-26 01:21:35 UTC
FEDORA-2023-5d9f9069dd has been pushed to the Fedora 38 stable repository.
If problem still persists, please make note of it in this bug report.

Comment 17 Red Hat Bugzilla 2024-01-25 04:26:25 UTC
The needinfo request[s] on this closed bug have been removed as they have been unresolved for 120 days


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