Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Bug]: [Errno 2] No such file or directory: '/run/user/1000/doc/545969b7' #3587

Closed
PixelCodeDev opened this issue Dec 10, 2024 · 1 comment
Closed

Comments

@PixelCodeDev
Copy link

PixelCodeDev commented Dec 10, 2024

Describe the bug

seems to not find a specific directory on the threading code. i dont really know much about it so i cant help further more.
Screenshot from 2024-12-10 10-50-07

To Reproduce

Just opened the software (also keeps happening everytime i open this is not a first time)

Package

Flatpak from Flathub

Distribution

Ubuntu 24.04.1 LTS x86_64 / GNOME 46.0

Debugging Information

Official Package: true
Version: '51.15'
DE/WM: ubuntu
Display:
    X.org: true
    X.org (port): :0
    Wayland: true
Graphics:
    vendors:
        intel:
            vendor: intel
            envs:
                DRI_PRIME: '1'
            icd: /usr/lib/x86_64-linux-gnu/GL/vulkan/icd.d/intel_hasvk_icd.x86_64.json:/usr/lib/x86_64-linux-gnu/GL/vulkan/icd.d/intel_icd.x86_64.json:/usr/lib/i386-linux-gnu/GL/vulkan/icd.d/intel_hasvk_icd.i686.json:/usr/lib/i386-linux-gnu/GL/vulkan/icd.d/intel_icd.i686.json
    prime:
        integrated: null
        discrete: null
Kernel:
    Type: Linux
    Version: 6.8.0-49-generic
Disk:
    Total: 8201183232
    Free: 8201007104
RAM:
    MemTotal: 15.3GiB
    MemAvailable: 6.9GiB
Bottles_envs: null

Troubleshooting Logs

[Errno 2] No such file or directory: '/run/user/1000/doc/545969b7'  File "/app/share/bottles/bottles/backend/utils/threading.py", line 62, in __target
    result = self.task_func(*args, **kwargs)
             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

  File "/app/share/bottles/bottles/frontend/widgets/program.py", line 176, in _run
    WineExecutor.run_program(self.config, self.program, with_terminal)

  File "/app/share/bottles/bottles/backend/wine/executor.py", line 125, in run_program
    ).run()
      ^^^^^

  File "/app/share/bottles/bottles/backend/wine/executor.py", line 214, in run
    return self.__launch_with_bridge()
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^

  File "/app/share/bottles/bottles/backend/wine/executor.py", line 244, in __launch_with_bridge
    return self.__launch_exe()
           ^^^^^^^^^^^^^^^^^^^

  File "/app/share/bottles/bottles/backend/wine/executor.py", line 275, in __launch_exe
    res = winecmd.run()
          ^^^^^^^^^^^^^

  File "/app/share/bottles/bottles/backend/wine/winecommand.py", line 713, in run
    status=TerminalUtils().execute(
           ^^^^^^^^^^^^^^^^^^^^^^^^

  File "/app/share/bottles/bottles/backend/utils/terminal.py", line 114, in execute
    subprocess.Popen(

  File "/usr/lib/python3.12/subprocess.py", line 1026, in __init__
    self._execute_child(args, executable, preexec_fn, close_fds,

  File "/usr/lib/python3.12/subprocess.py", line 1955, in _execute_child
    raise child_exception_type(errno_num, err_msg, err_filename)

Additional context

No response

@mirkobrombin
Copy link
Member

This kind of error happen only when it's logged and only the next session, the fact it keep showing is weird. Anyway, this happens because you picked an executable that is outside of the sandbox (there is big warning that shows up the first time you click on the Run Executable button, I think it never show if you click on "Add Shortcut"), anyway, close the dialog and remove that program from your list, then follow this guide to expose a path to Bottles: https://docs.usebottles.com/flatpak/expose-directories

Let me know!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants