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

文叔叔上传失败 #15

Closed
fbigun opened this issue Sep 1, 2020 · 1 comment
Closed

文叔叔上传失败 #15

fbigun opened this issue Sep 1, 2020 · 1 comment
Labels
bug Something isn't working

Comments

@fbigun
Copy link

fbigun commented Sep 1, 2020

root@localhost:~# ./transfer wss transfer
Local: /root/transfer
getSendConfig(single mode) returns error: post https://www.wenshushu.cn/ap/task/addsend returns error: unexpected end of JSON input
panic: runtime error: invalid memory address or nil pointer dereference
[signal SIGSEGV: segmentation violation code=0x1 addr=0x0 pc=0x78c4c8]

goroutine 1 [running]:
transfer/apis/public/wenshushu.(*wssTransfer).initUpload(0xc00011c9c0, 0x7ca000, 0x1)
        /github/workspace/apis/public/wenshushu/upload.go:45 +0x138
transfer/apis/public/wenshushu.(*wssTransfer).PreUpload(0xc00011c9c0, 0x7ffc0ce2c63e, 0x8, 0x7ca000, 0x0, 0x0)
        /github/workspace/apis/public/wenshushu/upload.go:50 +0x59
transfer/apis.upload(0x7ffc0ce2c63e, 0x8, 0x7ca000, 0x912b60, 0xc00011c9c0, 0x1, 0x1, 0x16, 0x0)
        /github/workspace/apis/upload.go:94 +0x198
transfer/apis.Upload(0xc00010b4c0, 0x1, 0x1, 0x912b60, 0xc00011c9c0)
        /github/workspace/apis/upload.go:67 +0x332
transfer/cmd.runner.func1(0xc00012ab00, 0xc00010b4b0, 0x1, 0x1)
        /github/workspace/cmd/controller.go:64 +0x90
github.com/spf13/cobra.(*Command).execute(0xc00012ab00, 0xc00010b470, 0x1, 0x1, 0xc00012ab00, 0xc00010b470)
        /go/pkg/mod/github.com/spf13/[email protected]/command.go:842 +0x29d
github.com/spf13/cobra.(*Command).ExecuteC(0xbc5900, 0x1, 0x1, 0xbc60e0)
        /go/pkg/mod/github.com/spf13/[email protected]/command.go:943 +0x317
github.com/spf13/cobra.(*Command).Execute(...)
        /go/pkg/mod/github.com/spf13/[email protected]/command.go:883
transfer/cmd.Execute()
        /github/workspace/cmd/root.go:83 +0x53
main.main()
        /github/workspace/main.go:6 +0x20
@Mikubill Mikubill added the bug Something isn't working label Sep 1, 2020
Mikubill added a commit that referenced this issue Oct 14, 2021
@Mikubill
Copy link
Owner

该问题已修复,请使用新版程序上传。

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants