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

不使用插件时初始化失败 #64

Closed
NateScarlet opened this issue Jun 17, 2021 · 2 comments
Closed

不使用插件时初始化失败 #64

NateScarlet opened this issue Jun 17, 2021 · 2 comments
Labels
bug Something isn't working

Comments

@NateScarlet
Copy link
Owner

pull了之后出现新的错误

DEBUG [2021-06-18 01:01:57]:auto_derby.plugin:43: loaded: example_custom_context, example_custom_race_score, example_custom_training_score, hello_world
ERROR [2021-06-18 01:01:57]:__main__:107: unexpected exception
Traceback (most recent call last):
  File "E:\auto-derby\auto_derby\__main__.py", line 103, in <module>
    main()
  File "E:\auto-derby\auto_derby\__main__.py", line 46, in main
    plugin.install(i)
  File "E:\auto-derby\auto_derby\plugin.py", line 47, in install
    g.plugins[name].install()
KeyError: ''

貌似是因为没有选择plugins?plugins文件夹里的文件里能否加上//说明#说明指导下怎么调用?

Originally posted by @fatinghenji in #63 (comment)

@NateScarlet
Copy link
Owner Author

@fatinghenji

什么说明 我代码用了严格类型检查 光看函数参数命名就应该能懂

你想干啥 我只能多写几个 example

@NateScarlet
Copy link
Owner Author

图片
难道你没用IDE的吗 用 vscode 官方 python 插件有完整的代码提示

@NateScarlet NateScarlet added the bug Something isn't working label Jun 17, 2021
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

1 participant