We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
当我搭建好环境,运行时报错,请问怎么解决或者指点下哪里出问题了。如下: 2020-03-02T23:13:38.470-0800 INFO storage/mysql_manager.go:21 MySQLManagerIns {"mysql": {"Mapper":{}}} 2020-03-02T23:13:38.471-0800 INFO storage/redis_manager.go:24 Redis {"ping": "PONG"} 2020-03-02T23:13:38.471-0800 INFO env_tools/load_pre_conf.go:16 Merging into MySQL from: {"SQLiteFilePath": ""} 2020-03-02T23:13:38.474-0800 INFO env_tools/load_pre_conf.go:53 truncate {"truncate mission": {"Locker":{}}} 2020-03-02T23:13:38.475-0800 INFO env_tools/load_pre_conf.go:61 loadSql query error {"err": "no such table: mission"} 2020-03-02T23:13:38.475-0800 INFO runtime/panic.go:967 load mission success panic: runtime error: invalid memory address or nil pointer dereference [signal SIGSEGV: segmentation violation code=0x1 addr=0x0 pc=0xac4e2a]
The text was updated successfully, but these errors were encountered:
已经解决,原来configs中的preconfigured数据库文件名和conf.go中的文件名不一样导致的。把文件名修改一致就解决了
Sorry, something went wrong.
No branches or pull requests
当我搭建好环境,运行时报错,请问怎么解决或者指点下哪里出问题了。如下:
2020-03-02T23:13:38.470-0800 INFO storage/mysql_manager.go:21 MySQLManagerIns {"mysql": {"Mapper":{}}}
2020-03-02T23:13:38.471-0800 INFO storage/redis_manager.go:24 Redis {"ping": "PONG"}
2020-03-02T23:13:38.471-0800 INFO env_tools/load_pre_conf.go:16 Merging into MySQL from: {"SQLiteFilePath": ""}
2020-03-02T23:13:38.474-0800 INFO env_tools/load_pre_conf.go:53 truncate {"truncate mission": {"Locker":{}}}
2020-03-02T23:13:38.475-0800 INFO env_tools/load_pre_conf.go:61 loadSql query error {"err": "no such table: mission"}
2020-03-02T23:13:38.475-0800 INFO runtime/panic.go:967 load mission success
panic: runtime error: invalid memory address or nil pointer dereference
[signal SIGSEGV: segmentation violation code=0x1 addr=0x0 pc=0xac4e2a]
The text was updated successfully, but these errors were encountered: