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]: Crash at Startup #3804

Open
ForeverExe opened this issue Mar 11, 2025 · 0 comments
Open

[Bug]: Crash at Startup #3804

ForeverExe opened this issue Mar 11, 2025 · 0 comments

Comments

@ForeverExe
Copy link

Describe the bug

Did not use Bottles for a month or so, on Nobara Linux.
I've got old Bottles that needed to be deleted that were not shown on the program, so I've closed the app and deleted the bottles.
After deleting them, I've ran again Bottles but it crashes every time, even if I restore the deleted bottles.

Now it does the same thing even after uninstalling and reinstalling Bottles.

To Reproduce

  1. Check if bottles are on the app

  2. Delete from FS if not on the list after closing the app

  3. Reopen the app

  4. Uninstall and reinstall Bottles

  5. Run

  6. Crash

Package

Flatpak from Flathub

Distribution

Nobara Linux (Fedora 41)

Debugging Information

Official Package: true
Version: '51.20'
DE/WM: plasma
Display:
    X.org: true
    X.org (port): :0
    Wayland: true
Graphics:
    vendors:
        nvidia:
            vendor: nvidia
            envs:
                __NV_PRIME_RENDER_OFFLOAD: '1'
                __GLX_VENDOR_LIBRARY_NAME: nvidia
                __VK_LAYER_NV_optimus: NVIDIA_only
            icd: /usr/lib/x86_64-linux-gnu/GL/vulkan/icd.d/nvidia_icd.json
            nvngx_path: /usr/lib/x86_64-linux-gnu/GL/nvidia-570-124-04/extra/nvidia/wine
    prime:
        integrated: null
        discrete: null
Kernel:
    Type: Linux
    Version: 6.13.5-200.nobara.fc41.x86_64
Disk:
    Total: 8341757952
    Free: 8341573632
RAM:
    MemTotal: 15.5GiB
    MemAvailable: 10.6GiB
Bottles_envs: null

Troubleshooting Logs

20:32:06 (ERROR) Config file not exists 
Traceback (most recent call last):
  File "/app/share/bottles/bottles/backend/models/config.py", line 183, in load
    raise FileNotFoundError("Config file not exists")
FileNotFoundError: Config file not exists
20:32:06 (ERROR) Config file not exists 
Traceback (most recent call last):
  File "/app/share/bottles/bottles/backend/models/config.py", line 183, in load
    raise FileNotFoundError("Config file not exists")
FileNotFoundError: Config file not exists
20:32:06 (ERROR) Config file not exists 
Traceback (most recent call last):
  File "/app/share/bottles/bottles/backend/models/config.py", line 183, in load
    raise FileNotFoundError("Config file not exists")
FileNotFoundError: Config file not exists
20:32:06 (ERROR) Config file not exists 
Traceback (most recent call last):
  File "/app/share/bottles/bottles/backend/models/config.py", line 183, in load
    raise FileNotFoundError("Config file not exists")
FileNotFoundError: Config file not exists
20:32:06 (ERROR) Error while running async job: <function BottlesWindow.__on_start.<locals>.get_manager at 0x7c9965358540>
        Exception: [Errno 1] Operation not permitted: '/run/user/1000/doc/7d79b069/Bottles'
 
  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/windows/window.py", line 288, in get_manager
    mng = Manager(
          ^^^^^^^^
  File "/app/share/bottles/bottles/backend/utils/singleton.py", line 6, in __call__
    cls._instances[cls] = super(Singleton, cls).__call__(*args, **kwargs)
                          ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/app/share/bottles/bottles/backend/managers/manager.py", line 157, in __init__
    times.update(self.checks(install_latest=False, first_run=True).data)
                 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/app/share/bottles/bottles/backend/managers/manager.py", line 211, in checks
    self.check_bottles()
  File "/app/share/bottles/bottles/backend/managers/manager.py", line 950, in check_bottles
    process_bottle(b)
  File "/app/share/bottles/bottles/backend/managers/manager.py", line 910, in process_bottle
    os.makedirs(p)
  File "<frozen os>", line 215, in makedirs
  File "<frozen os>", line 215, in makedirs
  File "<frozen os>", line 215, in makedirs
  File "<frozen os>", line 225, in makedirs
20:32:06 (INFO) Catalog installers loaded 
20:32:06 (INFO) Catalog dependencies loaded 
20:32:06 (INFO) Bottles Started! 
Traceback (most recent call last):
  File "/app/share/bottles/bottles/frontend/windows/window.py", line 217, in set_manager
    x for x in self.manager.runners_available if not x.startswith("sys-")
               ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
AttributeError: 'NoneType' object has no attribute 'runners_available'

Additional context

No response

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

1 participant