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

Windows无法配置考试信息 #5

Open
LimonHans opened this issue Feb 12, 2021 · 1 comment
Open

Windows无法配置考试信息 #5

LimonHans opened this issue Feb 12, 2021 · 1 comment

Comments

@LimonHans
Copy link

无法配置考试信息,创建考试时和创建后通过set都无法配置。

@dixiatielu
Copy link

报错如下:(添加Label)

PS D:\qwquvier> .\qwquiver.exe exam config set Test2_Exam --Label "TST"
panic: runtime error: index out of range [1] with length 1

goroutine 1 [running]:
github.com/qwqcode/qwquiver/cli/cmd.examConfSetRun(0x167b7c0, 0xc0000a2270, 0x1, 0x3)
        /Users/qwqaq/go/src/github.com/qwqcode/qwquiver/cli/cmd/exam.go:126 +0x92e
github.com/spf13/cobra.(*Command).execute(0x167b7c0, 0xc0000a2210, 0x3, 0x3, 0x167b7c0, 0xc0000a2210)
        /Users/qwqaq/go/pkg/mod/github.com/spf13/cobra@v1.1.1/command.go:854 +0x2c2
github.com/spf13/cobra.(*Command).ExecuteC(0x167bd00, 0xe397b8, 0x157d020, 0xc000030000)
        /Users/qwqaq/go/pkg/mod/github.com/spf13/cobra@v1.1.1/command.go:958 +0x375
github.com/spf13/cobra.(*Command).Execute(...)
        /Users/qwqaq/go/pkg/mod/github.com/spf13/cobra@v1.1.1/command.go:895
github.com/qwqcode/qwquiver/cli/cmd.Execute()
        /Users/qwqaq/go/src/github.com/qwqcode/qwquiver/cli/cmd/root.go:44 +0x38
main.main()
        /Users/qwqaq/go/src/github.com/qwqcode/qwquiver/cli/main.go:12 +0x27

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