-
-
Notifications
You must be signed in to change notification settings - Fork 79.1k
[Bug]: qqbot media directory ignores OPENCLAW_HOME, hardcodes ~/.openclaw/media/ #83562
Copy link
Copy link
Closed
Labels
P2Normal backlog priority with limited blast radius.Normal backlog priority with limited blast radius.bugSomething isn't workingSomething isn't workingbug:behaviorIncorrect behavior without a crashIncorrect behavior without a crashclawsweeper:fix-shape-clearClawSweeper found a clear likely implementation shape for this issue.ClawSweeper found a clear likely implementation shape for this issue.clawsweeper:linked-pr-openClawSweeper found an open linked pull request for this issue.ClawSweeper found an open linked pull request for this issue.clawsweeper:no-new-fix-prClawSweeper does not recommend queueing a new automated fix PR for this issue.ClawSweeper does not recommend queueing a new automated fix PR for this issue.clawsweeper:queueable-fixClawSweeper marked this issue as an existing queue_fix_pr work candidate.ClawSweeper marked this issue as an existing queue_fix_pr work candidate.clawsweeper:source-reproClawSweeper found a high-confidence source-level issue reproduction.ClawSweeper found a high-confidence source-level issue reproduction.impact:message-lossChannel message delivery can be lost, duplicated, or misrouted.Channel message delivery can be lost, duplicated, or misrouted.issue-rating: 🦞 diamond lobsterVery strong issue quality with high-confidence source-level or clear reproduction.Very strong issue quality with high-confidence source-level or clear reproduction.
Metadata
Metadata
Assignees
Labels
P2Normal backlog priority with limited blast radius.Normal backlog priority with limited blast radius.bugSomething isn't workingSomething isn't workingbug:behaviorIncorrect behavior without a crashIncorrect behavior without a crashclawsweeper:fix-shape-clearClawSweeper found a clear likely implementation shape for this issue.ClawSweeper found a clear likely implementation shape for this issue.clawsweeper:linked-pr-openClawSweeper found an open linked pull request for this issue.ClawSweeper found an open linked pull request for this issue.clawsweeper:no-new-fix-prClawSweeper does not recommend queueing a new automated fix PR for this issue.ClawSweeper does not recommend queueing a new automated fix PR for this issue.clawsweeper:queueable-fixClawSweeper marked this issue as an existing queue_fix_pr work candidate.ClawSweeper marked this issue as an existing queue_fix_pr work candidate.clawsweeper:source-reproClawSweeper found a high-confidence source-level issue reproduction.ClawSweeper found a high-confidence source-level issue reproduction.impact:message-lossChannel message delivery can be lost, duplicated, or misrouted.Channel message delivery can be lost, duplicated, or misrouted.issue-rating: 🦞 diamond lobsterVery strong issue quality with high-confidence source-level or clear reproduction.Very strong issue quality with high-confidence source-level or clear reproduction.
Type
Fields
Give feedbackNo fields configured for issues without a type.
Bug type
Behavior bug (incorrect output/state without crash)
Beta release blocker
No
Summary
When OPENCLAW_HOME is set to a custom path, the qqbot media directory still resolves to ~/.openclaw/media/qqbot/ instead of $OPENCLAW_HOME/.openclaw/media/qqbot/, causing image sends to silently fail.
Steps to reproduce
Expected behavior
qqbot media directory should resolve relative to OPENCLAW_HOME, not HOME. Files written to $OPENCLAW_HOME/.openclaw/media/qqbot/ should be readable and deliverable by the qqbot plugin.
Actual behavior
qqbot plugin resolves media directory as ~/.openclaw/media/qqbot/ (e.g., /home/node/.openclaw/media/qqbot/), ignoring OPENCLAW_HOME. Files written to the OPENCLAW_HOME-based path are never found, resulting in silent send failures.
OpenClaw version
2026.5.12
Operating system
Linux 6.8.0-110-generic (x64), running in Docker
Install method
docker
Model
Qwen3.6-27B (llamacpp)
Provider / routing chain
Direct gateway → qqbot channel plugin
Additional provider/model setup details
No response
Logs, screenshots, and evidence
Impact and severity
Additional information
The qqbot-media SKILL.md explicitly states files should be in ~/.openclaw/media/qqbot/, but ~ expands to HOME, not OPENCLAW_HOME. The plugin should use OPENCLAW_HOME as the base path for all media operations.