Skip to content

v1.0. RC1 Need to show warning if onedrive is already running when starting the GUI #55

@rogercreagh

Description

@rogercreagh

By default onedrive runs automatically in monitor mode on system login. When the GUI starts it doesn't detect that onedrive is already running and reports "Onedrive is sync not running" (which is also bad English - should be "Onedrive sync is not running") which of course is not true.
If you press the play button it hangs with the message Initializing the Onedrive API"
In the log you find the following lines:

2022-08-22 22:32:24,479 [OneDriveGUI.py:1995][fn=run][INFO] - [Roger] Opening the item database ...
2022-08-22 22:32:24,479 [OneDriveGUI.py:1995][fn=run][INFO] - [Roger] - Use 'sudo ps aufxw | grep onedrive' to potentially determine acive running process
2022-08-22 22:32:24,479 [OneDriveGUI.py:1995][fn=run][INFO] - [Roger] 
2022-08-22 22:32:24,753 [OneDriveGUI.py:2130][fn=run][INFO] - @ERROR 

So it looks like it is detecting that onedrive is already running when you manually try to start it from the GUI.
Shouldn't it also run this check when the GUI is initialised so it can report that onedrive --monitor is running?

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions