Skip to content
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

无法上传整个文件夹 #18

Open
dongzi0712 opened this issue Jan 15, 2022 · 1 comment
Open

无法上传整个文件夹 #18

dongzi0712 opened this issue Jan 15, 2022 · 1 comment

Comments

@dongzi0712
Copy link

panic: runtime error: slice bounds out of range [6:5]

goroutine 43 [running]:
main.main.func1({0x95ced6, 0x5})
D:/program_data/go/LightUploader/main.go:355 +0x188
main.restore.func1.2({0x95ced6, 0x5})
D:/program_data/go/LightUploader/main.go:133 +0x45
main.restore.func1({0xc000330e40, 0xb1}, {0xc00000e5c0, {0x95cce7, 0xd9e52226927933fa}})
D:/program_data/go/LightUploader/main.go:152 +0x645
created by main.restore
D:/program_data/go/LightUploader/main.go:121 +0x80f

gaowanliang added a commit that referenced this issue Jan 19, 2022
@hope140
Copy link

hope140 commented Jan 27, 2022

上传整个文件夹,遇到类似报错,最后显示如下:

panic: EOF


goroutine 5683 [running]:
log.Panicln({0xc000a81a10, 0x3, 0xc000840380})
        D:/program_app/go/src/log/log.go:368 +0x65
main/graph/net/http.refreshAccessToken({0xc00013abc0, 0x31}, 0x3, 0xa, {0xc0002aa1d2, 0x5}, 0x3c, {0x0, 0x0}, {0x0, ...})
        D:/program_data/go/LightUploader/graph/net/http/OAuth2.go:214 +0x1e5
main/graph/net/http.GetMyIDAndBearer({0xc00013abc0, 0x31}, 0x3, 0xa, {0xc0002aa1d2, 0x5}, 0x3c, {0x0, 0x0}, {0x0, ...})
        D:/program_data/go/LightUploader/graph/net/http/OAuth2.go:102 +0x25c
main.restore.func1({0xc00001cd20, 0x44}, {0xc000308308, {0x9f6ccc, 0x0}})
        D:/program_data/go/LightUploader/main.go:140 +0x4c5
created by main.restore
        D:/program_data/go/LightUploader/main.go:121 +0x7e5```

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants