-
Notifications
You must be signed in to change notification settings - Fork 426
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
panic: runtime error: index out of range during push #618
Comments
Hello there @cgogolin, thank you for reporting this and welcome to drive. If you don't mind, an actual |
Here you are:
|
Awesome! Thank you @cgogolin. I couldn't catch sleep so I've dug into it and discovered the bug came from PR #616. I was led there due to the output of your manifest ie |
Keep track of the local vs remote base since we are no longer only pushing from a single location on disk/local. Also ensure that all paths in a push/changelist-resolve are separator prefixed since searching for remote files always starts with '/' as was the old style. Passing in say 'lib/f1' is invalid since the search starts from '/' so must be '/lib/f1'. Fixes #618 Updates #616 Updates #612
Wow! I wish developers would always respond like that!
and pull seems to work smoothly. |
I just tried to push a large number of files to my Drive with the version available via
go get -u github.com/odeke-em/drive/drive-google
and get a
panic: runtime error: index out of range
error.I am attaching the full output.
Pulling my current Drive worked flawlessly.
Maybe it is relevant that ./library is a symbolic link to a directory on the same partition but outside of the "working copy" of drive?
The text was updated successfully, but these errors were encountered: