-
-
Notifications
You must be signed in to change notification settings - Fork 80.7k
[Bug]:路径错误 #39461
Copy link
Copy link
Open
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:linked-pr-openClawSweeper found an open linked pull request for this issue.ClawSweeper found an open linked pull request for this issue.clawsweeper:needs-product-decisionClawSweeper marked this issue as needing a product or behavior decision.ClawSweeper marked this issue as needing a product or behavior decision.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:source-reproClawSweeper found a high-confidence source-level issue reproduction.ClawSweeper found a high-confidence source-level issue reproduction.impact:ux-frictionUser-facing flow adds avoidable confusion or support burden without fully blocking progress.User-facing flow adds avoidable confusion or support burden without fully blocking progress.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.
Description
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:linked-pr-openClawSweeper found an open linked pull request for this issue.ClawSweeper found an open linked pull request for this issue.clawsweeper:needs-product-decisionClawSweeper marked this issue as needing a product or behavior decision.ClawSweeper marked this issue as needing a product or behavior decision.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:source-reproClawSweeper found a high-confidence source-level issue reproduction.ClawSweeper found a high-confidence source-level issue reproduction.impact:ux-frictionUser-facing flow adds avoidable confusion or support burden without fully blocking progress.User-facing flow adds avoidable confusion or support burden without fully blocking progress.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
Priority
None yet
Bug type
Behavior bug (incorrect output/state without crash)
Summary
Bug: QQBot 插件未读取 QQBOT_DATA_DIR 环境变量
问题描述
设置
QQBOT_DATA_DIR环境变量后,QQBot 插件仍使用中文路径C:\Users\张家豪\.openclaw\qqbot,导致警告提示。环境
复现步骤
QQBOT_DATA_DIR=D:\qqbot数据目录: C:\Users\张家豪\.openclaw\qqbot预期行为
应该读取
QQBOT_DATA_DIR环境变量,使用设置的路径作为数据目录。根因
文件
extensions/qqbot/src/utils/platform.ts中的getQQBotDataDir函数未读取QQBOT_DATA_DIR环境变量:建议修复
在
getQQBotDataDir函数中添加对QQBOT_DATA_DIR环境变量的支持。Steps to reproduce
0
Expected behavior
0
Actual behavior
0
OpenClaw version
2026.3.2
Operating system
Windows11
Install method
No response
Logs, screenshots, and evidence
Impact and severity
No response
Additional information
No response