Skip to content

[BUG] Upon quit, error message RuntimeError: Internal C++ object (DlThread) already deleted. occurs. #528

@dreirund

Description

@dreirund

Describe the bug

I am on Artix GNU/Linux (rolling release).
Python version: 3.13.1.

I am running a git build from this repository; git checkout at commit cfbd680, built according to this recipe.

I purchased via the Epic Games Store website the game "Manifold Garden" and did download it via "Rare" (I checked the box "download only").

After download, I encountered a popup message as reported in #527, and now when I want to quit "Rare" I get a popup saying

Traceback (most recent call last):
  File "/usr/lib/python3.13/site-packages/rare/components/main_window.py", line 260, in closeEvent
    self.tab_widget.downloads_tab.stop_download(omit_queue=True)
    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3.13/site-packages/rare/components/tabs/downloads/__init__.py", line 177, in stop_download
    self.__thread.wait()
    ~~~~~~~~~~~~~~~~~~^^
RuntimeError: Internal C++ object (DlThread) already deleted.

Image


~/.cache/Rare/Rare/logs is empty, the terminal from where I did start rare shows

[...]
Error calling Python override of QMainWindow::closeEvent(): [RareException] CRITICAL: Traceback (most recent call last):
  File "/usr/lib/python3.13/site-packages/rare/components/main_window.py", line 260, in closeEvent
    self.tab_widget.downloads_tab.stop_download(omit_queue=True)
    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3.13/site-packages/rare/components/tabs/downloads/__init__.py", line 177, in stop_download
    self.__thread.wait()
    ~~~~~~~~~~~~~~~~~~^^
RuntimeError: Internal C++ object (DlThread) already deleted.

(The terminal output which I skipped can be seen in #527.)

Regards!

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