kaqijiang / Auto-GPT-ZH

Auto-GPT中文版本及爱好者组织 同步更新原项目 AI领域创业 自媒体组织 用AI工作学习创作变现
MIT License
2.4k stars 404 forks source link

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

Open a2505 opened 1 year ago

a2505 commented 1 year ago

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 1 year ago

同样的问题

ghost commented 1 year ago

16 对不起对不起(

ghost commented 1 year ago

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