-
Notifications
You must be signed in to change notification settings - Fork 63
Closed
Description
Hello,
I cannot run the GUI. It asks for Oauth, saves it - but when I click to start the sync it asks for oauth again.
Sync via onedrive cli/systemd works
Operating System: Debian GNU/Linux 11 (MX 21.2)
KDE Plasma Version: 5.20.5
KDE Frameworks Version: 5.78.0
Qt Version: 5.15.2
Kernel Version: 5.18.0-4mx-amd64
OS Type: 64-bit
Processors: 8 × Intel® Core™ i5-8250U CPU @ 1.60GHz
Memory: 15,5 GiB of RAM
Graphics Processor: Mesa Intel® UHD Graphics 6202022-09-01 07:29:45,992 [OneDriveGUI.py:2824][fn=save_global_config][INFO] - <my_profile_name> config saved
2022-09-01 07:29:45,992 [OneDriveGUI.py:2826][fn=save_global_config][INFO] - All configs saved
2022-09-01 07:29:46,650 [OneDriveGUI.py:2845][fn=main_window_start_state][INFO] - [GUI] Starting OneDriveGUI maximized
2022-09-01 07:29:46,653 [OneDriveGUI.py:1054][fn=__init__][INFO] - <my_profile_name>
2022-09-01 07:29:50,521 [OneDriveGUI.py:1940][fn=__init__][INFO] - [GUI] Starting worker for profile <my_profile_name>
2022-09-01 07:29:50,522 [OneDriveGUI.py:2467][fn=start_onedrive_monitor][INFO] - [GUI] Opening external login window
2022-09-01 07:29:50,559 [OneDriveGUI.py:2013][fn=read_stdout][INFO] - [<my_profile_name>] Using 'user' Config Dir: /home/venthe/.config/onedrive/accounts/<my_profile_name>
2022-09-01 07:29:50,561 [OneDriveGUI.py:2013][fn=read_stdout][INFO] - [<my_profile_name>] Using config option for Global Azure AD Endpoints
2022-09-01 07:29:50,561 [OneDriveGUI.py:2013][fn=read_stdout][INFO] - [<my_profile_name>] Configuration file successfully loaded
2022-09-01 07:29:51,335 [OneDriveGUI.py:2013][fn=read_stdout][INFO] - [<my_profile_name>] Checking Application Version ...
2022-09-01 07:29:51,980 [OneDriveGUI.py:2013][fn=read_stdout][INFO] - [<my_profile_name>] Initializing the OneDrive API ...
2022-09-01 07:29:51,981 [OneDriveGUI.py:2013][fn=read_stdout][INFO] - [<my_profile_name>] Configuring Global Azure AD Endpoints
2022-09-01 07:29:51,982 [OneDriveGUI.py:2013][fn=read_stdout][INFO] - [<my_profile_name>] Using Curl defaults for all HTTP operations
2022-09-01 07:29:51,982 [OneDriveGUI.py:2013][fn=read_stdout][INFO] - [<my_profile_name>] User Configured Rate Limit: 125000000
2022-09-01 07:29:51,983 [OneDriveGUI.py:2013][fn=read_stdout][INFO] - [<my_profile_name>] Authorize this app visiting:
2022-09-01 07:29:51,984 [OneDriveGUI.py:2013][fn=read_stdout][INFO] - [<my_profile_name>] https://login.microsoftonline.com/common/oauth2/v2.0/authorize?client_id=<client_id>scope=Files.ReadWrite%20Files.ReadWrite.all%20Sites.Read.All%20Sites.ReadWrite.All%20offline_access&response_type=code&prompt=login&redirect_uri=https://login.microsoftonline.com/common/oauth2/nativeclient
2022-09-01 07:29:52,003 [OneDriveGUI.py:2013][fn=read_stdout][INFO] - [<my_profile_name>] Enter the response uri:
2022-09-01 07:29:53,006 [OneDriveGUI.py:2478][fn=<lambda>][INFO] - finished worker <my_profile_name>
2022-09-01 07:29:53,006 [OneDriveGUI.py:1951][fn=stop_worker][INFO] - [<my_profile_name>] Waiting for worker to finish...
2022-09-01 07:29:53,006 [OneDriveGUI.py:1955][fn=stop_worker][INFO] - [<my_profile_name>] Quitting thread
2022-09-01 07:29:53,006 [OneDriveGUI.py:1958][fn=stop_worker][INFO] - [<my_profile_name>] Removing thread info
2022-09-01 07:29:53,006 [OneDriveGUI.py:1961][fn=stop_worker][INFO] - [GUI] Remaining running workers: {}
2022-09-01 07:29:59,453 [OneDriveGUI.py:2643][fn=get_response_url][INFO] - exec onedrive --confdir="/home/venthe/.config/onedrive/accounts/<my_profile_name>" --auth-response "https://login.microsoftonline.com/common/oauth2/nativeclient?code=<client_id>"
2022-09-01 07:29:59,467 [OneDriveGUI.py:2645][fn=get_response_url][INFO] - Login performed
Traceback (most recent call last):
File "/tmp/.mount_OneDriVgJRVf//usr/src/OneDriveGUI.py", line 2629, in <lambda>
self.lw2.pushButton_save.clicked.connect(lambda: self.get_response_url(self.lw2.lineEdit_response_url.text(), self.config_dir, profile))
File "/tmp/.mount_OneDriVgJRVf//usr/src/OneDriveGUI.py", line 2650, in get_response_url
main_window.workers[profile].stop_worker()
KeyError: '<my_profile_name>'
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels