UnboundLocalError: local variable 'hooked_open' referenced before assignment
a2505 opened this issue · 3 comments
a2505 commented
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 commented
同样的问题
ookiineko commented
昨晚搞的 dirty 提交
早上起来没机器但是重新清理一下代码
结果把它忘了(