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] Upon quit, error message RuntimeError: Internal C++ object (DlThread) already deleted. occurs. #528

Closed
dreirund opened this issue Feb 19, 2025 · 1 comment

Comments

@dreirund
Copy link

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!

@loathingKernel
Copy link
Contributor

This is likely a result of the previous failure.

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