-
Notifications
You must be signed in to change notification settings - Fork 45
Description
RUN @ ubuntu22 wsl on WIN11 .env exists and SLACK_* filled
SLACK_BOT_TOKEN=xoxb-9827047989921-98428652ss
SLACK_APP_TOKEN=xapp-1-A09QSG6QJ00-9817992069668-
(py3.12) hs@pc:/mnt/d/dev/sleepless-agent/sleepless-agent/src/sleepless_agent$ sle daemon --test
14:50:49 | ℹ INFO | storage.workspace | +000ms | Using git configuration from config.yaml
14:50:54 | âš WARN | monitoring.pro_plan_usage | +000ms | usage.command.nonzero_exit return_code=143
14:50:54 | âš WARN | monitoring.pro_plan_usage | +003ms | usage.parse_failed error="Could not parse usage percentage from 'Claude Code v2.0.30 Sonnet 4.5 API Usage Billing / /dd2017/sleepless-agent/sleepl...'"
14:50:54 | ℹ INFO | monitoring.pro_plan_usage | +5.6s | usage.fallback.default
14:50:56 | ℹ INFO | core.executor | +1.7s | executor.init workspace=/mnt/d/dev/sleepless-agent/sleepless-agent/src/sleepless_agent/workspace
14:50:56 | ✗ ERRO | storage.git | +000ms | Failed to initialize workspace git repo: error: pathspec 'main' did not match any file(s) known to git
14:50:56 | ✗ ERRO | storage.git | +212ms | Failed to initialize workspace git repo: error: pathspec 'main' did not match any file(s) known to git
14:50:57 | ℹ INFO | storage.git | +551ms | git.remote.updated remote=origin url=[email protected]:TimeLovercc/test5.git
Traceback (most recent call last):
File "/home/hs/miniconda3/envs/py3.12/lib/python3.12/site-packages/sleepless_agent/utils/config.py", line 45, in getattr
return self[name]
~~~~^^^^^^
KeyError: 'slack'
The above exception was the direct cause of the following exception:
Traceback (most recent call last):
File "/home/hs/miniconda3/envs/py3.12/bin/sle", line 7, in
sys.exit(main())
^^^^^^
File "/home/hs/miniconda3/envs/py3.12/lib/python3.12/site-packages/sleepless_agent/main.py", line 22, in main
return daemon_main()
^^^^^^^^^^^^^
File "/home/hs/miniconda3/envs/py3.12/lib/python3.12/site-packages/sleepless_agent/core/daemon.py", line 297, in main
agent = SleeplessAgent()
^^^^^^^^^^^^^^^^
File "/home/hs/miniconda3/envs/py3.12/lib/python3.12/site-packages/sleepless_agent/core/daemon.py", line 124, in init
bot_token=self.config.slack.bot_token,
^^^^^^^^^^^^^^^^^
File "/home/hs/miniconda3/envs/py3.12/lib/python3.12/site-packages/sleepless_agent/utils/config.py", line 47, in getattr
raise AttributeError(name) from exc
AttributeError: slack