Skip to content

[Bug]: crash #4421

@bs466637

Description

@bs466637

Describe the bug

g-io-error-quark: Error opening file /home/USER/.var/app/com.usebottles.bottles/data/bottles/bottles/windows/icons/InfinityIcon.ico: No such file or directory (1) File "/app/share/bottles/bottles/backend/utils/threading.py", line 73, in __target
result = self.task_func(*args, **kwargs)

File "/app/share/bottles/bottles/backend/managers/installer.py", line 482, in install
ManagerUtils.create_desktop_entry(_config, _program, False, icon_path)
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

File "/app/share/bottles/bottles/backend/utils/manager.py", line 271, in create_desktop_entry
icon_v = Gio.BytesIcon.new(_icon.load_bytes()[0]).serialize()
~~~~~~~~~~~~~~~~^^

To Reproduce

opening bottle app

Package

Flatpak from Flathub

Distribution

ubuntu

Debugging Information

g-io-error-quark: Error opening file /home/USER/.var/app/com.usebottles.bottles/data/bottles/bottles/windows/icons/InfinityIcon.ico: No such file or directory (1)  File "/app/share/bottles/bottles/backend/utils/threading.py", line 73, in __target
    result = self.task_func(*args, **kwargs)

  File "/app/share/bottles/bottles/backend/managers/installer.py", line 482, in install
    ManagerUtils.create_desktop_entry(_config, _program, False, icon_path)
    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

  File "/app/share/bottles/bottles/backend/utils/manager.py", line 271, in create_desktop_entry
    icon_v = Gio.BytesIcon.new(_icon.load_bytes()[0]).serialize()
                               ~~~~~~~~~~~~~~~~^^

Troubleshooting Logs

Additional context

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions