Closed aseanwatson closed 8 months ago
@aseanwatson Thanks for filling this issue and potential resolution. I am off tools at the moment due to the holiday period - will look into this when I can.
@aseanwatson Also - for any other issue, please just note it here: https://github.com/abraunegg/onedrive/discussions/2570 with any details and/or crash or debug output. No need to raise a new issue for 'alpha' code.
No need to raise a new issue for 'alpha' code.
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 quickXorHash
. As I recall, you may need to download the file it to force the service to compute it.
@aseanwatson
FWIW, I don't think it's guaranteed that a file with hashes will have an quickXorHash. As I recall, you may need to download the file it to force the service to compute it.
Microsoft depreciated sha1hash in the middle of last year - see: https://github.com/abraunegg/onedrive/discussions/2441 for details.
What this essentially means is that every file online will have a quickXorHash
where possible as this is computed online, without having to first download the file.
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
Closing this issue as this is fixed in v2.5.0-alpha-4 GitHub version: v2.4.25-75-g76706f5
or greater
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
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: