Bug 2379538 - [abrt] bottles: run_program(): bottles-cli:699:run_program:UnboundLocalError: cannot access local variable 'program' where it is not associated with a value
Summary: [abrt] bottles: run_program(): bottles-cli:699:run_program:UnboundLocalError:...
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: bottles
Version: 42
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:faef7e5165714c18e467d02a165...
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2025-07-11 13:19 UTC by Eduard Račkoŭski
Modified: 2025-11-17 02:58 UTC (History)
7 users (show)

Fixed In Version: bottles-52.0-3.fc43 bottles-52.0-3.fc42
Clone Of:
Environment:
Last Closed: 2025-11-17 02:44:08 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)
File: os_info (754 bytes, text/plain)
2025-07-11 13:19 UTC, Eduard Račkoŭski
no flags Details
File: environ (1.74 KB, text/plain)
2025-07-11 13:19 UTC, Eduard Račkoŭski
no flags Details
File: mountinfo (3.43 KB, text/plain)
2025-07-11 13:19 UTC, Eduard Račkoŭski
no flags Details
File: open_fds (1.00 KB, text/plain)
2025-07-11 13:19 UTC, Eduard Račkoŭski
no flags Details
File: namespaces (171 bytes, text/plain)
2025-07-11 13:19 UTC, Eduard Račkoŭski
no flags Details
File: backtrace (2.90 KB, text/plain)
2025-07-11 13:19 UTC, Eduard Račkoŭski
no flags Details
File: cpuinfo (3.23 KB, text/plain)
2025-07-11 13:19 UTC, Eduard Račkoŭski
no flags Details

Description Eduard Račkoŭski 2025-07-11 13:19:05 UTC
Description of problem:
Whenever I launch this specific setup file in Bottles, an icon appears and then immediately disappears from the dash, and I get this error.

Version-Release number of selected component:
bottles-1:51.17-4.fc42

Additional info:
reporter:       libreport-2.17.15
kernel:         6.14.11-300.fc42.x86_64
cmdline:        /usr/bin/python3 /usr/bin/bottles-cli run -b '\"iZotope\"' -e '\"/home/eduard/\xd0\xa1\xd1\x86\xd1\x8f\xd0\xb3\xd0\xbd\xd1\x83\xd1\x82\xd1\x8b\xd1\x8f \xd1\x84\xd0\xb0\xd0\xb9\xd0\xbb\xd1\x8b/iZotope - RX 10 Audio Editor Advanced v10.5.0/Setup RX Pro Audio Editor v10.5.0.exe\"'
cgroup:         0::/user.slice/user-1000.slice/user/app.slice/dbus-:1.2-org.gnome.Nautilus
uid:            1000
reason:         bottles-cli:699:run_program:UnboundLocalError: cannot access local variable 'program' where it is not associated with a value
executable:     /usr/bin/bottles-cli
type:           Python3
package:        bottles-1:51.17-4.fc42
runlevel:       N 5
exception_type: UnboundLocalError
crash_function: run_program
interpreter:    python3-3.13.3-2.fc42.x86_64
comment:        Whenever I launch this specific setup file in Bottles, an icon appears and then immediately disappears from the dash, and I get this error.

Truncated backtrace:
bottles-cli:699:run_program:UnboundLocalError: cannot access local variable 'program' where it is not associated with a value

Traceback (most recent call last):
  File "/usr/bin/bottles-cli", line 758, in <module>
    cli = CLI()
  File "/usr/bin/bottles-cli", line 236, in __init__
    self.__process_args()
    ~~~~~~~~~~~~~~~~~~~^^
  File "/usr/bin/bottles-cli", line 285, in __process_args
    self.run_program()
    ~~~~~~~~~~~~~~~~^^
  File "/usr/bin/bottles-cli", line 699, in run_program
    WineExecutor.run_program(bottle, program)
                                     ^^^^^^^
UnboundLocalError: cannot access local variable 'program' where it is not associated with a value

Local variables in innermost frame:
self: <__main__.CLI object at 0x7f61ff1ea270>
_bottle: 'iZotope'
_program: None
_keep: True
_args: ''
_executable: '/home/eduard/Сцягнутыя файлы/iZotope - RX 10 Audio Editor Advanced v10.5.0/Setup RX Pro Audio Editor v10.5.0.exe'
_cwd: None
_pre_script: None
_post_script: None
_program_dxvk: None
_program_vkd3d: None
_program_dxvk_nvapi: None
_program_fsr: None
_program_gamescope: None
_program_virt_desktop: None
mng: <bottles.backend.managers.manager.Manager object at 0x7f61ff1eb620>
b: 'iZotope'
bottle: BottleConfig(Name='iZotope', Arch='win64', Windows='win10', Runner='sys-wine-10.4', WorkingDir='', DXVK='dxvk-2.5.2', NVAPI='dxvk-nvapi-v0.8.0', VKD3D='vkd3d-proton-2.14.1', LatencyFleX='latencyflex-v0.1.1', Path='iZotope', Custom_Path=False, Environment='Application', Creation_Date='2025-07-08 14:42:37.642777', Update_Date='2025-07-08 14:44:53.676067', Versioning=False, Versioning_Exclusion_Patterns=[], State=0, Parameters=BottleParams(dxvk=True, dxvk_nvapi=False, vkd3d=True, latencyflex=False, mangohud=False, mangohud_display_on_game_start=True, 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='wine', fsr=False, fsr_sharpening_strength=2, fsr_quality_mode='none', custom_dpi=96, renderer='gl', discrete_gpu=False, 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=['arial32', 'times32', 'courie32', 'mono', 'gecko'], DLL_Overrides={}, External_Programs={}, Uninstallers={}, session_arguments='', run_in_terminal=False, Language='sys', CompatData='', data={}, RunnerPath='')
programs: []

Potential duplicate: bug 2345907

Comment 1 Eduard Račkoŭski 2025-07-11 13:19:09 UTC
Created attachment 2097003 [details]
File: os_info

Comment 2 Eduard Račkoŭski 2025-07-11 13:19:10 UTC
Created attachment 2097004 [details]
File: environ

Comment 3 Eduard Račkoŭski 2025-07-11 13:19:11 UTC
Created attachment 2097005 [details]
File: mountinfo

Comment 4 Eduard Račkoŭski 2025-07-11 13:19:13 UTC
Created attachment 2097006 [details]
File: open_fds

Comment 5 Eduard Račkoŭski 2025-07-11 13:19:14 UTC
Created attachment 2097007 [details]
File: namespaces

Comment 6 Eduard Račkoŭski 2025-07-11 13:19:16 UTC
Created attachment 2097008 [details]
File: backtrace

Comment 7 Eduard Račkoŭski 2025-07-11 13:19:17 UTC
Created attachment 2097009 [details]
File: cpuinfo

Comment 8 florian 2025-09-05 13:09:22 UTC
Tried to set a default open method for .flac files to elisa


reporter:       libreport-2.17.15
kernel:         6.16.3-200.fc42.x86_64
cmdline:        /usr/bin/python3 /usr/bin/bottles-cli run -b '\"Silhouette Studio\"' -e '\"/run/media/florian/Gorillaz/gorillaz.exe\"'
cgroup:         0::/user.slice/user-1000.slice/user/session.slice/xdg-desktop-portal.service
uid:            1000
reason:         bottles-cli:699:run_program:UnboundLocalError: cannot access local variable 'program' where it is not associated with a value
executable:     /usr/bin/bottles-cli
type:           Python3
package:        bottles-1:51.17-4.fc42
runlevel:       N 5
exception_type: UnboundLocalError
crash_function: run_program
interpreter:    python3-3.13.7-1.fc42.x86_64
comment:        Tried to set a default open method for .flac files to elisa

Comment 9 Fedora Update System 2025-11-08 15:48:01 UTC
FEDORA-2025-6b9613b447 (bottles-52.0-3.fc43) has been submitted as an update to Fedora 43.
https://bodhi.fedoraproject.org/updates/FEDORA-2025-6b9613b447

Comment 10 Fedora Update System 2025-11-08 15:48:08 UTC
FEDORA-2025-d2512bb3e8 (bottles-52.0-3.fc42) has been submitted as an update to Fedora 42.
https://bodhi.fedoraproject.org/updates/FEDORA-2025-d2512bb3e8

Comment 11 Fedora Update System 2025-11-09 03:53:00 UTC
FEDORA-2025-6b9613b447 has been pushed to the Fedora 43 testing repository.
Soon you'll be able to install the update with the following command:
`sudo dnf upgrade --enablerepo=updates-testing --refresh --advisory=FEDORA-2025-6b9613b447`
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2025-6b9613b447

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

Comment 12 Fedora Update System 2025-11-09 04:35:40 UTC
FEDORA-2025-d2512bb3e8 has been pushed to the Fedora 42 testing repository.
Soon you'll be able to install the update with the following command:
`sudo dnf upgrade --enablerepo=updates-testing --refresh --advisory=FEDORA-2025-d2512bb3e8`
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2025-d2512bb3e8

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

Comment 13 Fedora Update System 2025-11-17 02:44:08 UTC
FEDORA-2025-6b9613b447 (bottles-52.0-3.fc43) has been pushed to the Fedora 43 stable repository.
If problem still persists, please make note of it in this bug report.

Comment 14 Fedora Update System 2025-11-17 02:58:59 UTC
FEDORA-2025-d2512bb3e8 (bottles-52.0-3.fc42) has been pushed to the Fedora 42 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.