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

不支持python3.8 #1

Open
3356153957 opened this issue Jun 20, 2024 · 2 comments
Open

不支持python3.8 #1

3356153957 opened this issue Jun 20, 2024 · 2 comments
Labels
bug Something isn't working good first issue Good for newcomers

Comments

@3356153957
Copy link

[MCDR] [02:20:38] [TaskExecutor/INFO]: 正在重载插件 hooks@2.1.2
[MCDR] [02:20:38] [TaskExecutor/INFO]: 插件 hooks@2.1.2 已卸载
[MCDR] [02:20:38] [TaskExecutor/INFO]: 插件 hooks@2.1.2 已重载
[MCDR] [02:20:38] [TaskExecutor/ERROR]: Fail to load the entry point of hooks@2.1.2
Traceback (most recent call last):
File "/root/.pyenv/versions/3.8.10/lib/python3.8/site-packages/mcdreforged/plugin/type/multi_file_plugin.py", line 88, in _on_ready
self._load_entry_instance()
File "/root/.pyenv/versions/3.8.10/lib/python3.8/site-packages/mcdreforged/plugin/type/regular_plugin.py", line 66, in _load_entry_instance
self.entry_module_instance = self._import_entrypoint_module()
File "/root/.pyenv/versions/3.8.10/lib/python3.8/site-packages/mcdreforged/plugin/type/multi_file_plugin.py", line 56, in _import_entrypoint_module
mod = importlib.import_module(self.get_metadata().entrypoint)
File "/root/.pyenv/versions/3.8.10/lib/python3.8/importlib/init.py", line 127, in import_module
return _bootstrap._gcd_import(name[level:], package, level)
File "", line 1014, in _gcd_import
File "", line 991, in _find_and_load
File "", line 975, in _find_and_load_unlocked
File "", line 655, in _load_unlocked
File "", line 618, in _load_backward_compatible
File "", line 259, in load_module
File "plugins/hooks-v2.1.2.mcdr/hooks/init.py", line 9, in
import hooks.config as cfg
File "", line 991, in _find_and_load
File "", line 975, in _find_and_load_unlocked
File "", line 655, in _load_unlocked
File "", line 618, in _load_backward_compatible
File "", line 259, in load_module
File "plugins/hooks-v2.1.2.mcdr/hooks/config.py", line 15, in
class TempConfig:
File "plugins/hooks-v2.1.2.mcdr/hooks/config.py", line 40, in TempConfig
hooks: dict[str, List[str]]
TypeError: 'type' object is not subscriptable

@OptiJava OptiJava added bug Something isn't working good first issue Good for newcomers labels Jun 21, 2024
@OptiJava
Copy link
Owner

中考完了之后修(

@OptiJava
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 good first issue Good for newcomers
Projects
None yet
Development

No branches or pull requests

2 participants