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

panic: runtime error: index out of range [0] with length 0 #325

Open
aiweed opened this issue Jul 25, 2023 · 0 comments
Open

panic: runtime error: index out of range [0] with length 0 #325

aiweed opened this issue Jul 25, 2023 · 0 comments

Comments

@aiweed
Copy link

aiweed commented Jul 25, 2023

ull,"localFolderPath":"/home/jason/work","panFolderPath":"/work/work","statusUpdateTime":"","driveId":"15195090","useInternalUrl":false,"downloadRange":null,"downloadBlockSize":262144,"uploadRange":null,"uploadEntity":{"parent_file_id":"64c081f47c4da04a069b466cb48a2b2a2c42a451","part_info_list":null,"upload_id":"rapid-d5c5f02d-61fa-49ae-bfc1-59495bf5e7aa","rapid_upload":true,"type":"file","file_id":"64c22dbb6252f92097b94d7ca8c901f9cdc027f9","domain_id":"bj29","drive_id":"15195090","file_name":"issue22198.go","encrypt_mode":"none","location":"cn-beijing"},"uploadPartSeq":0,"uploadBlockSize":1048576}
panic: runtime error: index out of range [0] with length 0

goroutine 25 [running]:
github.com/tickstep/aliyunpan/internal/syncdrive.(*FileActionTask).uploadFile(0xc001ed8000, 0xf20678, 0xc0003d1180, 0x0, 0x0)
/Users/tickstep/Documents/Workspace/go/projects/aliyunpan/internal/syncdrive/file_action_task.go:540 +0x2505
github.com/tickstep/aliyunpan/internal/syncdrive.(*FileActionTask).DoAction(0xc001ed8000, 0xf20678, 0xc0003d1180, 0x0, 0x0)
/Users/tickstep/Documents/Workspace/go/projects/aliyunpan/internal/syncdrive/file_action_task.go:70 +0x1cf0
github.com/tickstep/aliyunpan/internal/syncdrive.(*FileActionTaskManager).fileActionTaskExecutor.func1(0xc001ed8000, 0xf20678, 0xc0003d1180, 0xc0001301c0, 0xc0002a9170)
/Users/tickstep/Documents/Workspace/go/projects/aliyunpan/internal/syncdrive/file_action_task_mgr.go:819 +0x45
created by github.com/tickstep/aliyunpan/internal/syncdrive.(*FileActionTaskManager).fileActionTaskExecutor
/Users/tickstep/Documents/Workspace/go/projects/aliyunpan/internal/syncdrive/file_action_task_mgr.go:818 +0x30d

@aiweed aiweed changed the title 这个能用吗,一堆bug,要不么崩溃,要么不上传 panic: runtime error: index out of range [0] with length 0 Jul 27, 2023
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

1 participant