Fedora Account System
Red Hat Associate
Red Hat Customer
Description of problem: installing a program in Bottles Version-Release number of selected component: bottles-1:51.9-5.fc39 Additional info: reporter: libreport-2.17.11 kernel: 6.5.11-300.fc39.x86_64 cmdline: /usr/bin/python3 /usr/bin/bottles /home/bpetersxxx/Downloads/Windows11InstallationAssistant.exe cgroup: 0::/user.slice/user-1000.slice/user/app.slice/dbus-:1.2-org.gnome.Nautilus uid: 1000 reason: manager.py:782:check_bottles:FileNotFoundError: [Errno 2] No such file or directory: '/home/bpetersxxx/.local/share/bottles/bottles' executable: /usr/bin/bottles type: Python3 package: bottles-1:51.9-5.fc39 runlevel: N 5 exception_type: FileNotFoundError crash_function: check_bottles interpreter: python3-3.12.0-1.fc39.x86_64 comment: installing a program in Bottles Truncated backtrace: manager.py:782:check_bottles:FileNotFoundError: [Errno 2] No such file or directory: '/home/bpetersxxx/.local/share/bottles/bottles' Traceback (most recent call last): File "/usr/share/bottles/bottles/frontend/main.py", line 185, in do_command_line return self.__process_uri(uri) ^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/bottles/bottles/frontend/main.py", line 198, in __process_uri dialog = BottlePickerDialog(application=self, arg_exe=uri) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/bottles/bottles/frontend/windows/bottlepicker.py", line 53, in __init__ mng.check_bottles() File "/usr/share/bottles/bottles/backend/managers/manager.py", line 782, in check_bottles bottles = os.listdir(Paths.bottles) ^^^^^^^^^^^^^^^^^^^^^^^^^ FileNotFoundError: [Errno 2] No such file or directory: '/home/bpetersxxx/.local/share/bottles/bottles' Local variables in innermost frame: self: <bottles.backend.managers.manager.Manager object at 0x7fbb9795aa20> silent: False
Created attachment 1999673 [details] File: os_info
Created attachment 1999674 [details] File: environ
Created attachment 1999675 [details] File: mountinfo
Created attachment 1999676 [details] File: open_fds
Created attachment 1999677 [details] File: namespaces
Created attachment 1999678 [details] File: backtrace
Created attachment 1999679 [details] File: cpuinfo
Well, let me ask the obvious question: Have you checked that `/home/bpetersxxx/.local/share/bottles/bottles` actually exists and is accessible?
*** Bug 2249986 has been marked as a duplicate of this bug. ***
Could you please give steps on how to reproduce the issue?
tried to run dnsbench..exe reporter: libreport-2.17.11 kernel: 6.5.11-300.fc39.x86_64 cmdline: /usr/bin/python3 /usr/bin/bottles /home/bpetersxxx/Downloads/DNSBench.exe cgroup: 0::/user.slice/user-1000.slice/user/app.slice/dbus-:1.2-org.gnome.Nautilus uid: 1000 reason: manager.py:782:check_bottles:FileNotFoundError: [Errno 2] No such file or directory: '/home/bpetersxxx/.local/share/bottles/bottles' executable: /usr/bin/bottles type: Python3 package: bottles-1:51.9-5.fc39 runlevel: N 5 exception_type: FileNotFoundError crash_function: check_bottles interpreter: python3-3.12.0-1.fc39.x86_64 comment: tried to run dnsbench..exe
(In reply to Sandro from comment #8) > Well, let me ask the obvious question: Have you checked that > `/home/bpetersxxx/.local/share/bottles/bottles` actually exists and is > accessible? yes it is accessible can navigate to it
right click in natilus on program click on select open with click on recommend apps bottles sometimes it does not start and have to kill the program in system monitor reporter: libreport-2.17.11 kernel: 6.5.11-300.fc39.x86_64 cmdline: /usr/bin/python3 /usr/bin/bottles /run/media/bpetersxxx/zippprogs1/iriver/iplus4_1_3_1_installer.exe cgroup: 0::/user.slice/user-1000.slice/user/app.slice/dbus-:1.2-org.gnome.Nautilus uid: 1000 reason: manager.py:782:check_bottles:FileNotFoundError: [Errno 2] No such file or directory: '/home/bpetersxxx/.local/share/bottles/bottles' executable: /usr/bin/bottles type: Python3 package: bottles-1:51.9-5.fc39 runlevel: N 5 exception_type: FileNotFoundError crash_function: check_bottles interpreter: python3-3.12.0-1.fc39.x86_64
(In reply to Sandro from comment #10) > Could you please give steps on how to reproduce the issue? right click in nautilus on program click on select open with click on recommend apps bottles sometimes it does not start and have to kill the program in system monitor
not sure if i should send more bug reports as it is same result and do not want to spam bug reports
(In reply to bdp from comment #11) > tried to run dnsbench..exe Ah, GRC's tried and tested DNS benchmark. :-) I tried it on my system and it worked just fine after selecting a previously set up bottle. I'm still on F37. I will try on F38 and F39 as well. But the latter will take some work one way or another. Since both reports are for F39, I'm leaning towards a Python 3.12 specific issue. F37 and F38 are booth on Python 3.11. To make sure I'm running this the same way as you did: 1. Are you using the graphical environment to run the executable or the CLI? In the latter case, could you provide the exact command you used? @bdp, I know you already answered this, But there seem to be more people running into it. 2. What are the settings of the bottle you try to run this in? Please paste the contents of `~/.local/share/bottles/bottles/${BOTTLE}/bottle.yml` or attach the file to the bug. (In reply to bdp from comment #15) > not sure if i should send more bug reports as it is same result and do not > want to spam bug reports One report is enough. All these probably have a common root cause, which I'm trying to put my finger on. (In reply to bdp from comment #14) > right click in nautilus on program > > click on select open with > > click on recommend apps bottles Could you try running the exe from within Bottles? Open Bottles app, select bottle, choose 'Run Executable'.
Could you try running the exe from within Bottles? Open Bottles app, select bottle, choose 'Run Executable'. this here runs fine no problems
Okay. In that case it could also be a bug in Nautilus or GNOME in general, that was introduced in F39. Thank you for all the information provided. I will investigate and hopefully find out who's to blame here soon.
not sure what graphical environment or CLI is but can do either if needed
(In reply to bdp from comment #19) > not sure what graphical environment or CLI is but can do either if needed By "graphical environment" I meant the Bottles app itself. CLI stands for command line interface (aka terminal). Here you would type something like `bottles /home/foo/bar.exe`. It still needs the GUI, of course, to launch Bottles. Anyway, you provided a lot of information already and I will look into it and try to get to the bottom of the issue. For the time being you can launch Bottles and run executables from there as described in comment 17.
I tried to reproduce this in a F39 Workstation VM. It appears the error only occurs if you have not created a bottle yet. Otherwise, launching the executable from Nautilus brings up the bottle selection screen from where you can select which bottle should be used to run the executable. This is not my final conclusion. I need to perform more tests. But doing that in a VM, I have to find a bit more time. Does `bottles-cli list bottles` list any bottles on your system?
*** Bug 2252369 has been marked as a duplicate of this bug. ***
FEDORA-2024-96c0b1ec4e has been submitted as an update to Fedora 40. https://bodhi.fedoraproject.org/updates/FEDORA-2024-96c0b1ec4e
FEDORA-2024-96c0b1ec4e has been pushed to the Fedora 40 stable repository. If problem still persists, please make note of it in this bug report.
FEDORA-2024-aa1cc9de0b has been submitted as an update to Fedora 39. https://bodhi.fedoraproject.org/updates/FEDORA-2024-aa1cc9de0b
FEDORA-2024-aa1cc9de0b 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-2024-aa1cc9de0b` You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2024-aa1cc9de0b See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates.
FEDORA-2024-aa1cc9de0b has been pushed to the Fedora 39 stable repository. If problem still persists, please make note of it in this bug report.
FEDORA-2024-0dfcd5ea8e (bottles-51.11-3.fc39) has been submitted as an update to Fedora 39. https://bodhi.fedoraproject.org/updates/FEDORA-2024-0dfcd5ea8e
FEDORA-2024-5932cac21c (bottles-51.11-3.fc40) has been submitted as an update to Fedora 40. https://bodhi.fedoraproject.org/updates/FEDORA-2024-5932cac21c
going to check in fedora 40 when it comes out as I have a corrupted operating system at present
FEDORA-2024-5932cac21c has been pushed to the Fedora 40 testing repository. Soon you'll be able to install the update with the following command: `sudo dnf upgrade --enablerepo=updates-testing --refresh --advisory=FEDORA-2024-5932cac21c` You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2024-5932cac21c See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates.
FEDORA-2024-5445da7373 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-2024-5445da7373` You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2024-5445da7373 See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates.
FEDORA-2024-0dfcd5ea8e 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-2024-0dfcd5ea8e` You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2024-0dfcd5ea8e See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates.
FEDORA-2024-0dfcd5ea8e (bottles-51.11-3.fc39) has been pushed to the Fedora 39 stable repository. If problem still persists, please make note of it in this bug report.
FEDORA-2024-5445da7373 (bottles-51.11-3.fc38) has been pushed to the Fedora 38 stable repository. If problem still persists, please make note of it in this bug report.
FEDORA-2024-5932cac21c (bottles-51.11-3.fc40) has been pushed to the Fedora 40 stable repository. If problem still persists, please make note of it in this bug report.