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]: Bottles - Não consigo fazer o Rufus funcionar #365

Open
mgurgelmga opened this issue Oct 27, 2024 · 1 comment
Open

[Bug]: Bottles - Não consigo fazer o Rufus funcionar #365

mgurgelmga opened this issue Oct 27, 2024 · 1 comment

Comments

@mgurgelmga
Copy link

Describe the bug

I don´t know what kind of problem it is.

To Reproduce

Just trying to start rufus on Bottles, that is working five minutes go.

Package

Flatpak from Flathub

Distribution

Linux Mint 22 Cinnamon

Debugging Information

flatpak run --command=bottles-cli com.usebottles.bottles info health-check

 flatpak run --command=bottles-cli com.usebottles.bottles info health-check
Official Package: true
Version: '51.15'
DE/WM: cinnamon
Display:
    X.org: true
    X.org (port): :0
    Wayland: false
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_icd.i686.json:/usr/lib/i386-linux-gnu/GL/vulkan/icd.d/intel_hasvk_icd.i686.json
    prime:
        integrated: null
        discrete: null
Kernel:
    Type: Linux
    Version: 6.8.0-47-generic
Disk:
    Total: 8325140480
    Free: 8324964352
RAM:
    MemTotal: 15.5GiB
    MemAvailable: 10.3GiB
Bottles_envs: null

Troubleshooting Logs

No response

Additional context

[Errno 2] Arquivo ou diretório inexistente: '/run/user/1000/doc/fed33720/Downloads/Rufus-Gerar-Pendrive-de-ISO/bottle.yml' 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 318, in add_to_library
self.save_program() # we need to store it in the bottle configuration to keep the reference
^^^^^^^^^^^^^^^^^^^

File "/app/share/bottles/bottles/frontend/widgets/program.py", line 225, in save_program
return self.manager.update_config(
^^^^^^^^^^^^^^^^^^^^^^^^^^^

File "/app/share/bottles/bottles/backend/managers/manager.py", line 1012, in update_config
config.dump(os.path.join(bottle_path, "bottle.yml"))

File "/app/share/bottles/bottles/backend/models/config.py", line 161, in dump
f = file if isinstance(file, IOBase) else open(file, mode=mode)
^^^^^^^^^^^^^^^^^^^^^

@mirkobrombin mirkobrombin transferred this issue from bottlesdevs/Bottles Dec 12, 2024
@jntesteves
Copy link
Contributor

jntesteves commented Jan 11, 2025

You have created the bottle in a path Bottles does not have permission to access .../Downloads/Rufus-Gerar-Pendrive-de-ISO/. There are 3 options here:

  1. Move the folder Rufus-Gerar-Pendrive-de-ISO to the default path for bottles at ~/.var/app/com.usebottles.bottles/data/bottles/bottles
  2. Create a new bottle on the default path and install the program there
  3. Use Flatseal to add permission for Bottles to access the path where you installed the bottle. But the path will still be wrong in the config file, so you will have to fix it manually or recreate the bottle pointing to the same path. I don't recommend this option unless you know how to do that.

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

No branches or pull requests

2 participants