-
-
Notifications
You must be signed in to change notification settings - Fork 868
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: --display-sync-status does not work when OneNote sections (.one files) are in your OneDrive. #2578
Comments
@aseanwatson |
@aseanwatson |
Gotcha. Happy to make the process work for you. I'm going to be on vacation (in Costa Rica) for a week or so, so I'm trying to get this soaking bandwidth while I'm away. But that means little testing/feedback for me. Happy New Year! FWIW, I don't think it's guaranteed that a file with hashes will have an |
Microsoft depreciated sha1hash in the middle of last year - see: #2441 for details. What this essentially means is that every file online will have a There are edge cases - 0-byte files + onenote items ... 0-byte files was fixed pretty quickly, but the onenote items are just not supported by OneDrive API ... |
@aseanwatson |
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. |
Describe the bug
When encountering files with no hash (OneNote .one files are good examples),
onedrive --display-sync-status
crashes.Operating System Details
Linux onedrive2 5.15.0-89-generic #99-Ubuntu SMP Mon Oct 30 20:42:41 UTC 2023 x86_64 x86_64 x86_64 GNU/Linux
Client Installation Method
From Source
OneDrive Account Type
Personal
What is your OneDrive Application Version
v2.5.0-alpha-4 GitHub version: v2.4.25-67-g2d9bdd1
What is your OneDrive Application Configuration
What is your 'curl' version
Where is your 'sync_dir' located
Local
What are all your system 'mount points'
What are all your local file system partition types
How do you use 'onedrive'
This is on an
lxc
container on my "home server".I'm still in the download everything on OneDrive phase of the project.
Steps to reproduce the behaviour
Steps to reproduce:
onedrive --display-sync-status --verbose --verbose
You'll get an error message which ends in this:
Complete Verbose Log Output
Screenshots
No response
Other Log Information or Details
No response
Additional context
I made a local fix which gets me past the issue:
The text was updated successfully, but these errors were encountered: