-
Notifications
You must be signed in to change notification settings - Fork 428
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: invalid page type: 6: 10 #828
Comments
Hello there @pasquinadeus, thank you for reporting this issue and welcome to drive! Firstly, my apologies for the late reply. So this isn't an error that pops off the page for me in drive, it looks like an issue with boltdb. This is the second boltdb panic that has been reported, after #824. |
Hi Odeke-em, Let me know if I can do anything to help debug this. My experience with go is very limited but I'm motivated to have this fixed. Thanks, |
Thanks @pasquinadeus for the reply. So am currently using boltdb https://github.com/boltdb/bolt/tree/852d3024fa8d89dcc9a715bab6f4dcd7d59577dd. I haven't updated my boltdb since November 25 2015 and it works alright. Hopefully that's just a regression |
Sorry, had a trip and only got back yesterday. As seen in the other thread I tried ( on a fresh GOPATH ):
this results in a binary:
then I did a "drive init" on a fresh directory and ran the pull command:
and about 10 minutes later it starting getting the repository (still going, but the other error appeared after a few files and we are past that point). I tried first on the old drive directory and it failed with the original error. Only by "drive init"ing on a fresh directory did it work so the issue is related with the disk cache. Hope this info might help other people. Thanks for the software, if you need further debugging let me know. |
Awesome work @pasquinadeus, thank you very much for the analysis and for posting your findings. |
I have finished the wiki on how to work around this problem. |
Hey folks, please get and test out the latest boltdb as per boltdb/bolt#654 $ go get -u -v github.com/odeke-em/drive/drive-gen && drive-gen and let me know if the problem persists and I'll report back to the boltdb issue. |
Hi there, I don't know if I have the same problem. I received the following message. What should I do?
BTW, I'm using drive version: 0.3.9 on Fedora 24 |
@canpolat I'm afraid I cannot try those suggestions. I ended up reinstalling my OS so I started all over again with drive. |
Hi Odeke,
After doing the update
go get -u -v github.com/odeke-em/drive/drive-gen && drive-gen
I have had no further issues with the high water mark.
This problem looks to have been completely resolved for me.
I do think, that there might still have been an issue with the
boltdb database having gotten corrupted.
rm .gd/drivedb
This will reset the state of your drive and any new push or pull, will
affect lots of files.
Becarefull so as not to lose any local or remote changes.
After your next push or pull the .gd/drivedb file will be recreated.
|
@canpolat I got the same problem yesterday. I failed to follow instructions of option 1 due to the requirements but I found a simple workaround: I deleted |
@odeke-em I think we can close this issue now, as the updates to fix boltdb #boltdb/bolt#654 As well as removing the .gd/drivedb file get everything working. |
Trying to pull my drive contents ("Share" directory) using the command line:
drive pull --depth -1 -export docx,pptx,xlsx,pdf --fix-clashes -no-prompt -verbose Share
results in:
I tried with a self compiled binary and the debian "curated" package available from the webpage. Same result.
Any clue as to what the "invalid page type" panic might mean?
Thanks for the software,
best regards,
Ricardo
The text was updated successfully, but these errors were encountered: