Bug 2355905 - [abrt] bottles: run_executable(): bottle_details.py:439:run_executable:NameError: name 'Xdp' is not defined
Summary: [abrt] bottles: run_executable(): bottle_details.py:439:run_executable:NameEr...
Keywords:
Status: ASSIGNED
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:678f5f39f6e98ac722ad416e879...
: 2356084 (view as bug list)
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2025-03-29 01:54 UTC by seby134
Modified: 2025-03-30 18:54 UTC (History)
8 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed:
Type: ---
Embargoed:


Attachments (Terms of Use)
File: os_info (746 bytes, text/plain)
2025-03-29 01:54 UTC, seby134
no flags Details
File: environ (2.25 KB, text/plain)
2025-03-29 01:54 UTC, seby134
no flags Details
File: cgroup (138 bytes, text/plain)
2025-03-29 01:54 UTC, seby134
no flags Details
File: mountinfo (3.45 KB, text/plain)
2025-03-29 01:54 UTC, seby134
no flags Details
File: open_fds (4.81 KB, text/plain)
2025-03-29 01:54 UTC, seby134
no flags Details
File: namespaces (171 bytes, text/plain)
2025-03-29 01:54 UTC, seby134
no flags Details
File: backtrace (607 bytes, text/plain)
2025-03-29 01:54 UTC, seby134
no flags Details
File: cpuinfo (3.18 KB, text/plain)
2025-03-29 01:54 UTC, seby134
no flags Details

Description seby134 2025-03-29 01:54:42 UTC
Description of problem:
Clicked "Run Executable" in Bottles, it does not open the menu to choose an executable and just generates an error.

Version-Release number of selected component:
bottles-1:51.21-2.fc42

Additional info:
reporter:       libreport-2.17.15
kernel:         6.14.0-63.fc42.x86_64
cmdline:        /usr/bin/python3 /usr/bin/bottles
uid:            1000
reason:         bottle_details.py:439:run_executable:NameError: name 'Xdp' is not defined
executable:     /usr/bin/bottles
type:           Python3
package:        bottles-1:51.21-2.fc42
runlevel:       N 5
exception_type: NameError
crash_function: run_executable
interpreter:    python3-3.13.2-2.fc42.x86_64
comment:        Clicked "Run Executable" in Bottles, it does not open the menu to choose an executable and just generates an error.

Truncated backtrace:
bottle_details.py:439:run_executable:NameError: name 'Xdp' is not defined

Traceback (most recent call last):
  File "/usr/share/bottles/bottles/frontend/views/bottle_details.py", line 439, in run_executable
    if Xdp.Portal.running_under_sandbox():
       ^^^
NameError: name 'Xdp' is not defined

Local variables in innermost frame:
self: <bottle_details.BottleView object at 0x7fe80fa64540 (DetailsBottle at 0x5646e436aa10)>
widget: <Gtk.Button object at 0x7fe80f9d7980 (GtkButton at 0x5646e43d74d0)>
args: False
show_chooser: <function BottleView.run_executable.<locals>.show_chooser at 0x7fe80fa2b2e0>

Comment 1 seby134 2025-03-29 01:54:47 UTC
Created attachment 2082484 [details]
File: os_info

Comment 2 seby134 2025-03-29 01:54:48 UTC
Created attachment 2082485 [details]
File: environ

Comment 3 seby134 2025-03-29 01:54:50 UTC
Created attachment 2082486 [details]
File: cgroup

Comment 4 seby134 2025-03-29 01:54:51 UTC
Created attachment 2082487 [details]
File: mountinfo

Comment 5 seby134 2025-03-29 01:54:53 UTC
Created attachment 2082488 [details]
File: open_fds

Comment 6 seby134 2025-03-29 01:54:54 UTC
Created attachment 2082489 [details]
File: namespaces

Comment 7 seby134 2025-03-29 01:54:56 UTC
Created attachment 2082490 [details]
File: backtrace

Comment 8 seby134 2025-03-29 01:54:57 UTC
Created attachment 2082491 [details]
File: cpuinfo

Comment 9 Sandro 2025-03-29 09:25:25 UTC
Thanks for catching and reporting this. It appears to be another occurrence of upstream's attempts to enforce their preferred Flatpak package. I'll push a fix shortly.

For folks reading along: the context menu in the file manager (right click, Open With Bottles) does work and should achieve the same.

Comment 10 Sandro 2025-03-29 22:30:52 UTC
I have to hold off on pushing 51.21 entirely for the time being, since I just discovered that version has a bug in the UI rendering it unusable on KDE.

Please downgrade bottles for now. I will unpush the update queued on Bodhi.

Comment 11 Sandro 2025-03-30 18:54:53 UTC
*** Bug 2356084 has been marked as a duplicate of this bug. ***


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