Bug 2249922 - [abrt] bottles: check_bottles(): manager.py:782:check_bottles:FileNotFoundError: [Errno 2] No such file or directory: '/home/bpetersxxx/.local/share/bottles/bottles'
Summary: [abrt] bottles: check_bottles(): manager.py:782:check_bottles:FileNotFoundErr...
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: bottles
Version: 39
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:4dcec0823845b29b68c65e0f9d6...
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2023-11-15 22:31 UTC by bdp
Modified: 2024-03-23 00:32 UTC (History)
10 users (show)

Fixed In Version: bottles-51.10-2.fc40 bottles-51.10-2.fc39 bottles-51.11-3.fc39 bottles-51.11-3.fc38 bottles-51.11-3.fc40
Clone Of:
Environment:
Last Closed: 2024-01-02 17:48:16 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)
File: os_info (734 bytes, text/plain)
2023-11-15 22:31 UTC, bdp
no flags Details
File: environ (1.63 KB, text/plain)
2023-11-15 22:31 UTC, bdp
no flags Details
File: mountinfo (6.45 KB, text/plain)
2023-11-15 22:31 UTC, bdp
no flags Details
File: open_fds (1.38 KB, text/plain)
2023-11-15 22:31 UTC, bdp
no flags Details
File: namespaces (171 bytes, text/plain)
2023-11-15 22:31 UTC, bdp
no flags Details
File: backtrace (1.02 KB, text/plain)
2023-11-15 22:31 UTC, bdp
no flags Details
File: cpuinfo (2.83 KB, text/plain)
2023-11-15 22:31 UTC, bdp
no flags Details

Description bdp 2023-11-15 22:31:28 UTC
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

Comment 1 bdp 2023-11-15 22:31:32 UTC
Created attachment 1999673 [details]
File: os_info

Comment 2 bdp 2023-11-15 22:31:33 UTC
Created attachment 1999674 [details]
File: environ

Comment 3 bdp 2023-11-15 22:31:34 UTC
Created attachment 1999675 [details]
File: mountinfo

Comment 4 bdp 2023-11-15 22:31:36 UTC
Created attachment 1999676 [details]
File: open_fds

Comment 5 bdp 2023-11-15 22:31:37 UTC
Created attachment 1999677 [details]
File: namespaces

Comment 6 bdp 2023-11-15 22:31:38 UTC
Created attachment 1999678 [details]
File: backtrace

Comment 7 bdp 2023-11-15 22:31:40 UTC
Created attachment 1999679 [details]
File: cpuinfo

Comment 8 Sandro 2023-11-15 23:16:03 UTC
Well, let me ask the obvious question: Have you checked that `/home/bpetersxxx/.local/share/bottles/bottles` actually exists and is accessible?

Comment 9 Sandro 2023-11-16 10:13:19 UTC
*** Bug 2249986 has been marked as a duplicate of this bug. ***

Comment 10 Sandro 2023-11-16 10:14:45 UTC
Could you please give steps on how to reproduce the issue?

Comment 11 bdp 2023-11-16 11:29:33 UTC
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

Comment 12 bdp 2023-11-16 11:37:34 UTC
(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

Comment 13 bdp 2023-11-16 11:48:17 UTC
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

Comment 14 bdp 2023-11-16 11:50:38 UTC
(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

Comment 15 bdp 2023-11-16 11:51:48 UTC
not sure if i should send more bug reports as it is same result and do not want to spam bug reports

Comment 16 Sandro 2023-11-16 12:13:10 UTC
(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'.

Comment 17 bdp 2023-11-16 14:47:11 UTC
Could you try running the exe from within Bottles? Open Bottles app, select bottle, choose 'Run Executable'.

this here runs fine no problems

Comment 18 Sandro 2023-11-16 15:17:06 UTC
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.

Comment 19 bdp 2023-11-16 17:31:35 UTC
not sure what graphical environment or CLI is but can do either if needed

Comment 20 Sandro 2023-11-16 23:35:28 UTC
(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.

Comment 21 Sandro 2023-11-17 14:31:10 UTC
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?

Comment 22 Sandro 2023-12-01 10:06:43 UTC
*** Bug 2252369 has been marked as a duplicate of this bug. ***

Comment 23 Fedora Update System 2024-01-02 17:42:30 UTC
FEDORA-2024-96c0b1ec4e has been submitted as an update to Fedora 40. https://bodhi.fedoraproject.org/updates/FEDORA-2024-96c0b1ec4e

Comment 24 Fedora Update System 2024-01-02 17:48:16 UTC
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.

Comment 25 Fedora Update System 2024-01-02 18:00:52 UTC
FEDORA-2024-aa1cc9de0b has been submitted as an update to Fedora 39. https://bodhi.fedoraproject.org/updates/FEDORA-2024-aa1cc9de0b

Comment 26 Fedora Update System 2024-01-03 01:11:40 UTC
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.

Comment 27 Fedora Update System 2024-01-11 01:15:45 UTC
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.

Comment 28 Fedora Update System 2024-03-10 19:40:10 UTC
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

Comment 29 Fedora Update System 2024-03-10 19:40:10 UTC
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

Comment 30 bdp 2024-03-10 20:36:24 UTC
going to check in fedora 40 when it comes out as I have a corrupted operating system at present

Comment 31 Fedora Update System 2024-03-11 00:44:11 UTC
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.

Comment 32 Fedora Update System 2024-03-11 01:17:01 UTC
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.

Comment 33 Fedora Update System 2024-03-11 01:39:46 UTC
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.

Comment 34 Fedora Update System 2024-03-19 01:10:21 UTC
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.

Comment 35 Fedora Update System 2024-03-19 02:00:04 UTC
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.

Comment 36 Fedora Update System 2024-03-23 00:32:58 UTC
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.


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