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

win10 ubuntu 18.04 查询直接报错 #148

Closed
Airyzf opened this issue Sep 5, 2022 · 2 comments
Closed

win10 ubuntu 18.04 查询直接报错 #148

Airyzf opened this issue Sep 5, 2022 · 2 comments

Comments

@Airyzf
Copy link

Airyzf commented Sep 5, 2022

image

runtime error: invalid memory address or nil pointer dereference
/opt/hostedtoolcache/go/1.16.3/x64/src/runtime/panic.go:212 (0x442d1a)
/opt/hostedtoolcache/go/1.16.3/x64/src/runtime/signal_unix.go:734 (0x45b5d2)
/opt/hostedtoolcache/go/1.16.3/x64/src/database/sql/sql.go:2842 (0x535830)
/home/runner/work/YYeTsBot/YYeTsBot/yyetsweb/server.go:93 (0x8f01b0)
/home/runner/work/YYeTsBot/YYeTsBot/yyetsweb/server.go:124 (0x8f09cf)
/home/runner/go/pkg/mod/github.com/gin-gonic/gin@v1.7.2/context.go:165 (0x8cc459)
/home/runner/go/pkg/mod/github.com/gin-gonic/gin@v1.7.2/recovery.go:99 (0x8cc440)
/home/runner/go/pkg/mod/github.com/gin-gonic/gin@v1.7.2/context.go:165 (0x8cb533)
/home/runner/go/pkg/mod/github.com/gin-gonic/gin@v1.7.2/logger.go:241 (0x8cb4f2)
/home/runner/go/pkg/mod/github.com/gin-gonic/gin@v1.7.2/context.go:165 (0x8c19e9)

@BennyThink
Copy link
Member

用 Python版本的吧。Go版本是为了一键安装包临时应急准备的。

@BennyThink
Copy link
Member

pip install -r requirements.txt
python server.py

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