-
-
Notifications
You must be signed in to change notification settings - Fork 871
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: --dry-run prevents authorization #2451
Comments
Unfortunately there is still a lot of poor references out there on the Internet on how to use this client. Running Now - why, in a clean | new installed state, does As such, I will look at this as part of the work I am doing with the v2.5.0 branch, but for now I am going to close this issue as technically it is not a bug - the application is working correctly as intended. |
This issue has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs. |
@derlade
As such, closing this item as fixed|implemented. |
Describe the bug
I am not sure if this actually is a bug, but it seems like a minor usability issue to me.
When setting up the client for the first time on a new machine, I instinctively ran it with the
--dry-run
option as to prevent downloads of unwanted files. This seems to have caused the authorization process to fail with the messageTrying in different browsers did not help, but after omitting the
--dry-run
option the authorization completed successfully. If this is wanted behaviour, I'd suggest modifying the error message to indicate that--dry-run
cannot be used during authorization (if this wasn't a malconfiguration on my part, obviously).Operating System Details
Linux XXX 6.4.3-arch1-2 #1 SMP PREEMPT_DYNAMIC Sat, 15 Jul 2023 19:25:49 +0000 x86_64 GNU/Linux
Client Installation Method
From 3rd Party Source (PPA, OpenSuSE Build Service etc)
OneDrive Account Type
Personal
What is your OneDrive Application Version
v2.4.25
What is your OneDrive Application Configuration
default, except for custom skip_file option
What is your 'curl' version
Where is your 'sync_dir' located
Local
What are all your system 'mount points'
will provide, if needed
What are all your local file system partition types
will provide, if needed
How do you use 'onedrive'
Local OneDrive folder, no sync yet (first time authorization)
Steps to reproduce the behaviour
onedrive --dry-run
onedrive
without optionsComplete Verbose Log Output
Will generate this output if needed.
Screenshots
No response
Other Log Information or Details
No response
Additional context
No response
The text was updated successfully, but these errors were encountered: