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

UnboundLocalError: local variable 'hooked_open' referenced before assignment #15

Open
a2505 opened this issue Apr 23, 2023 · 3 comments

Comments

@a2505
Copy link

a2505 commented Apr 23, 2023

Auto-GPT 正在启动...
Traceback (most recent call last):
File "D:\Software\anaconda3\envs\gpt\lib\runpy.py", line 196, in _run_module_as_main
return _run_code(code, main_globals, None,
File "D:\Software\anaconda3\envs\gpt\lib\runpy.py", line 86, in run_code
exec(code, run_globals)
File "E:\Project\Auto-GPT-ZH\autogpt_main
.py", line 7, in
autogpt.localization.hook_open()
File "E:\Project\Auto-GPT-ZH\autogpt\localization.py", line 148, in hook_open
if not hooked_open:
UnboundLocalError: local variable 'hooked_open' referenced before assignment

@yanzhao77
Copy link

同样的问题

@ghost
Copy link

ghost commented Apr 23, 2023

#16 对不起对不起(

@ghost
Copy link

ghost commented Apr 23, 2023

昨晚搞的 dirty 提交
早上起来没机器但是重新清理一下代码
结果把它忘了(

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