bpozdena / OneDriveGUI

A simple GUI for OneDrive Linux client with multi-account support.
GNU General Public License v3.0
750 stars 34 forks source link

Dumps after trying to start sync #111

Closed ellathewitch closed 1 year ago

ellathewitch commented 1 year ago

Hi,

OS: openSUSE 15.5 Leap Onedrive version 2.4.23 Python version 3.6.15

I have tried this with both the onedrive and onedrive-abraunegg packages.

I am getting a core dumped immediately after starting the sync. I wiped everything and tried again to be certain, but the interface launches, it comes up and says its not synced. I click the "play" button and it crashes, and in the terminal window I get the following.

2023-06-12 23:57:17,782 [OneDriveGUI.py:2565][fn=start_onedrive_monitor][INFO] - [GUI] Opening WebEngine login window Fatal Python error: This thread state must be current when releasing

Thread 0x00007f23ad6b1700 (most recent call first): File "OneDriveGUI.py", line 2076 in run

Current thread 0x00007f23dec80740 (most recent call first): File "OneDriveGUI.py", line 2568 in start_onedrive_monitor File "OneDriveGUI.py", line 1082 in start_monitor File "OneDriveGUI.py", line 3188 in Aborted (core dumped)

bpozdena commented 1 year ago

I'm not really sure how to fix it on your specific system. I'd suggest using the app image version as a workaround. Alternatively hard code the bellow line to True unconditionally. https://github.com/bpozdena/OneDriveGUI/blob/2e5b259dee4b177973cebd72a43c79792f2ded1b/src/OneDriveGUI.py#L61