|
在oracle的arm机上布署docker:ceramicwhite/auto-gpt. 小鸡是arm2c6G。docker compose up -d后,打开:localhost:3000
显示错误如下:
Traceback (most recent call last):
File "/usr/local/lib/python3.10/runpy.py", line 196, in _run_module_as_main
return _run_code(code, main_globals, None,
File "/usr/local/lib/python3.10/runpy.py", line 86, in _run_code
exec(code, run_globals)
File "/app/autogpt/__main__.py", line 5, in <module>
autogpt.cli.main()
File "/app/.local/lib/python3.10/site-packages/click/core.py", line 1130, in __call__
return self.main(*args, **kwargs)
File "/app/.local/lib/python3.10/site-packages/click/core.py", line 1055, in main
rv = self.invoke(ctx)
File "/app/.local/lib/python3.10/site-packages/click/core.py", line 1635, in invoke
rv = super().invoke(ctx)
File "/app/.local/lib/python3.10/site-packages/click/core.py", line 1404, in invoke
return ctx.invoke(self.callback, **ctx.params)
File "/app/.local/lib/python3.10/site-packages/click/core.py", line 760, in invoke
return __callback(*args, **kwargs)
File "/app/.local/lib/python3.10/site-packages/click/decorators.py", line 26, in new_func
return f(get_current_context(), *args, **kwargs)
File "/app/autogpt/cli.py", line 77, in main
from autogpt.agent.agent import Agent
File "/app/autogpt/agent/__init__.py", line 1, in <module>
from autogpt.agent.agent import Agent
File "/app/autogpt/agent/agent.py", line 3, in <module>
from autogpt.app import execute_command, get_command
File "/app/autogpt/app.py", line 5, in <module>
from autogpt.agent.agent_manager import AgentManager
File "/app/autogpt/agent/agent_manager.py", line 7, in <module>
from autogpt.llm_utils import create_chat_completion
File "/app/autogpt/llm_utils.py", line 11, in <module>
from autogpt.logs import logger
File "/app/autogpt/logs.py", line 202, in <module>
logger = Logger()
File "/app/autogpt/config/singleton.py", line 15, in __call__
cls._instances[cls] = super(Singleton, cls).__call__(*args, **kwargs)
File "/app/autogpt/logs.py", line 49, in __init__
self.file_handler = logging.FileHandler(
File "/usr/local/lib/python3.10/logging/__init__.py", line 1169, in __init__
StreamHandler.__init__(self, self._open())
File "/usr/local/lib/python3.10/logging/__init__.py", line 1201, in _open
return open_func(self.baseFilename, self.mode,
PermissionError: [Errno 13] Permission denied: '/app/logs/activity.log' |
|