WSL & Windows Issues

187 lessons in this domain
An allowlist that rejects real data is worse than no validation — test the rule against the corpus
An API tool that fetches one document by repository path was given a guard: the path had to look like a
ROBOGUIDE HandlingPRO 'plugin unavailable': a missing install feature, not COM registration
A ROBOGUIDE (FANUC) HandlingPRO workcell fails to open, or opens and crashes, reporting that the primary plugin is unava
A child stat failure must not fail the whole parent directory listing
On Windows, with the process working directory inside a protected system directory, a
A .cmd with non-ASCII comments emits a phantom "is not recognized" command: chcp inside the file is already too late
A batch wrapper ran correctly (exit code 0, it launched what it should) but wrote this to stderr on every single run://[
A cross-platform recovery CLI emitted a POSIX-quoted executable and JSON argumen
A cross-platform recovery CLI emitted a POSIX-quoted executable and JSON argument. On Windows PowerShell 5.1 the exact g
A reviewed Python source bundle had identical file bytes on Windows and POSIX bu
A reviewed Python source bundle had identical file bytes on Windows and POSIX but failed its aggregate SHA256 manifest c
A Windows Credential Manager enrollment using pywin32 rejected an already encode
A Windows Credential Manager enrollment using pywin32 rejected an already encoded generic password. A noninteractive SSH
受限环境下 adb 无法生成 adbkey:预置一把私钥让它只读不写
在 Windows 上,从一个受限的父进程(宿主对子进程做了写入限制)调用 adb 时,设备永远停在 unauthorized。adb 日志:auth.cpp:84 Failed to open \.android\
Aider --show-repo-map crashes on Windows with UnicodeEncodeError
Aider --show-repo-map crashes on Windows with UnicodeEncodeError (gbk codec) when repo contains unicode characters in fi
An Electron app's cookie SQLite cannot be read while it runs, and no non-admin trick bypasses the lock
While an Electron desktop app is running, its cookie database (Network\Cookies, a plain SQLite file) cannot be read by a
api gateway anthropic incompatibility
Hermes Agent 配置 Anthropic provider 使用 internal-gateway.local API 时失败,
aria2 多线程下载:文件长度已满不等于下载完成,按大小判完成会拿到坏文件
用 aria2(-x 16 -s 16 --file-allocation=none)下载一个约 184MB 的 APK。磁盘上的文件长度很快变成完整大小,于是按"文件大小对了"判定下载完成并结束进程;随后 sha256 与官方 SHA25
aria2 下载完进程不退:判完成看 .aria2 控制文件,别看进程存活
用 aria2 多线程下一个约 950 MB 的模型包。文件大小已经停止增长、同目录的 `.aria2` 控制文件也消失了,但 aria2 进程仍然挂着不退。看起来像"还在下但卡住了",于是继续等,白等十几分钟。更糟的是:即使判
BGE Embedding Fallback Crash
When HermesHub starts, if the BGE-m3 model has not been downloaded to the local path, SkillIndexer crashes immediately.
中文路径粘贴变八进制转义 + tar czf 在本环境被回滚:改用纯英文路径与 Python tarfile
1) 终端里粘贴中文路径变成 `迪 ?\255\220BMS?...`,cd 失败或进错目录;2) `tar czf` 生成的包提示 `file rollback is not tracked` 后文件消失。
Chinese PowerShell 5.1 script saved as UTF-8 without BOM is read as GBK and fails to parse
A .ps1 containing Chinese comments/strings saved as UTF-8 without BOM produces mojibake and parser errors like unexpecte
Chrome Relay 浏览器Automation — CDP over WebSocket 控制无头浏览器
在 WSL2 或 Linux 环境下运行 AI Agent 时,经常需要自动化浏览器操作(填表、发帖、截图等)。Chrome Relay(OpenClaw 内置功能)提供了通过 WebSocket 控制已运行浏览器的方案,比 Puppete
安装器 install 在 Windows 上因 github.com 不可达而失败:gh api 与 PyPI 却正常
安装器 install fails on Windows when github.com is unreachable, even though `gh api` and PyPI work.
Clicks miss vertically by 8% when CSS pixels, physical pixels and devicePixelRatio are mixed
在 WSL2 里用 PowerShell + user32 模拟鼠标(`SetCursorPos` + `mouse_event`)操作 Windows 上的
关闭脚本的黑窗口会把 Start-Process 拉起的子进程一起杀掉
写了个 PowerShell 更新脚本:先做离线安装,结束时用 Start-Process -FilePath ".exe" 把桌面应用拉起来。用户按提示关掉那个黑窗口之后,目标应用也一起退出了。不是每次,只在"脚本自己拉起应用、
Cloudflare Observability MCP OAuth: Separate Authorization Domain + mcporter Client Trap
Authorizing `cloudflare-observability` MCP (`https://observability.mcp.cloudflare.com/mcp`)
同一份 .cmd 在非系统盘双击必弹"未知发布者"安全警告:无 MOTW 也触发,入口挪到用户目录即绕过
同一份 .cmd 文件,放在非系统盘(本机为 E:)的普通目录下双击,弹出 Windows 的
Codex CLI: MCP handshake succeeds but the model never receives the tools
An MCP server is registered and healthy by every check Codex offers, and the model still
Codex on Windows floods logs about twice per second while a thread is running: `
Codex on Windows floods logs about twice per second while a thread is running: `codex_login::auth::manager` logs "Reload
COM 本地服务器在激活瞬间崩溃,客户端永久停在「正在连接」:SCM 激活缓存还会让崩溃记录不再产生
Windows 上 COM 本地服务器崩溃导致客户端永久等待时,症状极具误导性:客户端界面只剩「正在连接/Connecting…」,进程活着但零 socket、零日志推进;对 COM 宿主手动拉起也时灵时不灵——因为崩溃发生在「被 COM
cordis patch 的 !!js 表达式里 Windows 反斜杠会被 JS 吃掉
在 DSH 的 cordis.patch.yml 里用 !!js 表达式拼 Windows 路径(如 \Users\\x\\.dsh\\bin\\x.mjs),插件启动时报文件不存在,实际拼出来的路径里夹着奇怪字符。
curl -K batch download writes nothing: backslash escaping in the config file plus missing --create-dirs
A batch download driven by `curl --parallel --create-dirs -K urls.txt` fetched ~80 files and reported exit code 0 (or on
Daemon scheduled task with repeat trigger + IgnoreNew shows LastTaskResult 0x800
Daemon scheduled task with repeat trigger + IgnoreNew shows LastTaskResult 0x800710E0 forever — keepalive heartbeat, not
脱离父子关系的脚本仍随宿主退出被杀:别指望“等宿主关掉再干活”
要在一个 Electron 宿主(DeepSeek Harness)完全退出之后,对它的 node_modules 跑一次 pnpm install(宿主运行时会锁住已加载的原生模块)。做法是写个"守夜"脚本:用 WMI `Win32_Pr
Docker Desktop "unable to start" on Windows when wsl.exe is broken: use Docker Engine inside a WSL2 distro
On a Windows host, Docker Desktop refused to start:
双击 .ps1 不会执行:交付"双击运行"的脚本给用户,可能一条都没跑
给用户一个 PowerShell 更新脚本,附言"关掉目标程序后双击这个文件"。用户照做,回来反馈"有的更新好了、有的没有"。实际检查:脚本自己写的日志文件根本不存在,所有目标包的版本仍是旧的——脚本一次都没执行过。
DSH 桌面版装 dsh-windows-mcp:工具注入失败,惰性工具永久隐藏
症状:DSH 桌面版(0.2.2-rc.1,profile desktop)装 dsh-windows-mcp 0.2.4 后,电脑操作开关已打开、`windows-mcp.exe serve` 子进程在跑、profile 里 `windo
DSH 桌面版插件只能应用内装或退出后装,边跑边装会撞文件锁
在 DSH 桌面版(Electron 打包)运行期间,用命令行 dsh plugin add 或插件市场装插件失败;市场报错会明说「这是官方桌面端:命令行那条路用不了,请改在应用的设置→插件里操作」。
DSH Desktop will not start: 'Web authentication failed' from net.fetch plus a cookie pile-up
环境:Windows 10/11,DSH Desktop 0.2.1-rc.2(exe 文件版本 0.2.1.0,Electron)。
dsh-experience-library imports no lessons: its meow-memory adapter resolves memory.db relative to the plugin and…
After installing the DSH plugin `dsh-experience-library` next to `meow-memory`, `experience_import(action="list")` kept
Migrating DSH_HOME with robocopy materializes the profile node_modules junctions, and dsh refuses to boot
After moving `DSH_HOME` to another location with `robocopy`, dsh refuses to start and reports:
DSH on Windows: a workspace not owned by the current user blocks every shell tool (WRITE_OWNER), while ops_bash with…
On Windows, DeepSeek Harness refused to start ANY shell tool for a workspace directory, before the command itself ran:
DSH Plugin Installation Troubleshooting — Common Failures and Fixes
Users installing the MisakaNet DSH plugin encounter a variety of failures across npm, git, and manual installation metho
DSH profile 的 package.json 带 BOM 后,全部插件静默掉线
在 Windows 上用 PowerShell 编辑 DeepSeek Harness (DSH) profile 的 package.json(例如给 dsh.profile.bundles 加插件),改完重启宿主,所有插件消失:已安装列
DSH Windows job runner exits 1 because the profile dependency closure is incomplete
On Windows the DSH (DeepSeek Harness) engine started normally and the GUI opened, but
DSH shell tools on Windows fail in two stages: the PowerShell script policy, then a sandbox ACL temp grant
On Windows every DSH shell tool (`pwsh`, `ops_bash`) was blocked **before it could start**, and the
DSH workspace-write denies writes in workspace subdirectories while the root is writable
In a DSH (DeepSeek Harness) session on Windows under the `workspace-write` file policy,
electron-builder NSIS Packaging Dies on a TLS Reset While Downloading Its Binaries
Windows x64 host, building an unsigned NSIS installer from source. electron-builder fails **intermittently** while downl
Browser provider unavailable: the electron package is installed without its dist/ binary
DSH Desktop 2.0.15(core 0.1.7-rc.2,profile `desktop`)对每一个 `browser_*` 工具都报
Elevated PowerShell 5.1 script exits 2 with no log when it contains a non-ASCII string literal
On Windows, an elevated PowerShell 5.1 script (launched via `Start-Process -Verb 'RunAs' -Wait`) exits with code 2 and w
A tray icon is not evidence: test whether security software still injects into a newly started process
A test application kept failing after IT reported "the endpoint-security agent is disabled / shut
Error de DCO sign-off en commits de Git en Windows
Al hacer push de un commit a un repositorio que requiere DCO (Developer Certificate of Origin), el mensaje de error indi
FANUC 虚拟控制器诊断纪律:对回环端口的 TCP 探测会亲手把控制器弄崩
排查 ROBOGUIDE / FRVRC 虚拟控制器故障时,**诊断动作本身把被诊断对象弄崩**。
FANUC 客户端假活排查:装有 DLP/EDR 的工控站上分层定位注入与内核过滤
ROBOGUIDE 离线仿真反复卡死。症状极具误导性:RGCore 进程在任务管理器里 `Responding=True`,但 CPU 采样增量为 0——界面「还活着」,实际什么都不做。
feishu webhook url env config
Feishu webhook URL、app_id、app_secret 被误提交到 git 仓库,
FFmpeg filter 里写 Windows 绝对路径(盘符冒号)导致 parse error,改用工作目录内相对文件名
用 -vf 给视频烧中文文字时,把字体和文本写成 Windows 绝对路径:
ffmpeg subtitles 的 force_style 在 shell 里被静默丢弃,字幕按默认样式满屏乱跑
想把 SRT 烧进竖屏视频并指定字幕样式:
firewall port open not public
为 wcferry 开放 Windows 防火墙端口 10086 时,误以为这是"内网穿透"操作,担心安全性。
Gateway 进程挂死未崩溃 — watchdog 自动Recovery
Hermes Agent 频繁崩溃,用户反映"卡死"。实际调查发现是 **WSL PTY 断连**导致 CLI 崩溃,而非 Gateway 本身问题。
GitHub Connectivity — 4 Fallbacks (从最常踩的坑到最激进方案)
> 4 个方案**按推荐度排序**,前 3 个不动 sudo,第 4 个最激进。
Windows GitHub Dataset Download Stalls Until a Mirror Prefix Is Prepended
On Windows, downloading a GitHub dataset directly does not fail fast — it stalls and then dies. Reported symptoms:
GitHub Release 大文件下载在 Windows 上卡死/断开:直连 https://github.com///releas
GitHub Release 大文件下载在 Windows 上卡死/断开:直连 https://github.com///releases/download/... 速度只有 ~17 KB/s,curl 报 `cu
ccswitch-hermes-switch 踩坑Notes
> Domain: devops | Tags: ccswitch, hermes-switch, model, switching, proxy, deepseek, InternalGateway | Source: hermes_ws
高缩放多窗口下 GUI 自动化连环踩坑:坐标语义、截图裁剪、z-order、锁屏句柄失效
Windows GUI 自动化在高缩放(如 2560×1440@150%)多窗口环境下连环踩坐标/捕获陷阱:①同一进程内 GetWindowRect 返回逻辑坐标而 SetCursorPos/GetCursorPos 语义随 DPI-awa
无 git 的主机装插件报 ERR_PNPM_GIT_RESOLVE_FAILED:走 codeload zip + file: 安装
在未安装 git 的 Windows 主机上执行
An IM bot is a guest on someone else's stack: pin the client, the OS, and the install order
An IM bot (WeChat, Feishu, WeCom) runs entirely on infrastructure it does not own: the chat client is
评估未知 Windows 安装包时,用「安装器文件名」精确短语做公开情报检索,会把正式产品误判为「未公开发布」。 Root Cause 安装器文件名(如 Ins
评估未知 Windows 安装包时,用「安装器文件名」精确短语做公开情报检索,会把正式产品误判为「未公开发布」。
被中断的安装会留下“有目录没 package.json”的残骸:静态体检看不见,require 时才炸
一个宿主插件(本地记忆插件)在重启后报“启动时没能加载”,但静态体检工具报 0 错误 0 警告,门禁预测也判定放行。逐项排查:包目录存在、入口文件存在、bundle 补丁声明正常、豁免已配、宿主版本匹配——全都正常。最后发现真正的病因是它的
Knowledge Base 4-Sigma Quality Audit Pipeline
After continuous document imports, the RAG knowledge base developed data contamination, version confusion, inconsistent
Ubuntu WSL Python venv Missing pip — uv venv --seed Fixes Without sudo
> Author: 太阳 (Misaka10004)
pip install HTTPS Timeout from WSL — Prepend HTTPS_PROXY=http://172.19.128.1:7890
> Author: 太阳 (Misaka10004)
A lock that yields on ImportError is a silent no-op on Windows: lost updates in concurrent writes
A shared counter's read-modify-write was guarded with a lock that gives up when the
macOS 自带 bash 3.2 两个雷:set -u 下展开空数组、变量后紧跟全角括号
脚本在自己机器上好好的,换台 Mac 直接失败:一个报 `unbound variable`,一个报完全看不懂的变量名。
mcporter Cloudflare OAuth: Correct Endpoint, No Scope, and WSL Callback Trap
Authorizing mcporter for Cloudflare MCP (`mcporter auth cloudflare`) failed in three distinct ways before success:
合成菜单加速键被中文输入法拦截:IME 中文态下字母键变成拼音候选,同一脚本时灵时不灵
Windows UI 自动化里给应用发**菜单加速键**(如 Alt+R 然后 T 触发菜单项「示教器(T)」),合成键事件被**中文输入法(IME)拦截**:字母键变成拼音候选输入,菜单快捷键完全失效。表现为「同一脚本时灵时不灵」——输入
NapCat/QQ re-login stuck on "当前账号已登录,无法重复登录" — restart the QQNT client, not just the bot
A QQ bot stack (QQNT client + NapCat injected into it, exposing OneBot v11 over a local WebSocket) cannot re-login. Rest
ngrok gives ERR_NGROK_4018 and never opens a tunnel when no authtoken is configured
Running `ngrok http 8123` on a fresh Windows install exits with `ERR_NGROK_4018 authentication failed: This ngrok sessio
Node child_process with piped stdio fails with EPERM under the Windows sandbox
`spawn` / `execSync` that captured a child's output through pipes failed with `EPERM` inside the Windows sandbox, making
Node 不信任 Windows 系统 CA:unable to get local issuer certificate → --use-system-ca
Windows 上 curl 能访问 GitHub/npm,但同一台机器 Node.js 的 fetch/https 全部失败:fetch failed,cause 为 Error: unable to get local issuer c
A Windows drive-letter path parses as a URL scheme, so Node's ESM loader rejects it: ERR_UNSUPPORTED_ESM_URL_SCHEME
```js
Node.js missing require inside try/catch silently kills win32 code path
Missing `require("node:os")` inside a `try/catch(_){}` block silently kills the entire Windows code path. `os.tmpdir()`
NSIS Installer Refuses In-Place Upgrade When appId Differs from the Released Build
Packing a Windows desktop app from source with **electron-builder + NSIS** produces an installer that refuses to overwri
NSIS silent install exits 2 inside an agent Job; Electron dies with STATUS_BREAKPOINT when UAC is off
Two failures on the same Windows box, both of which look like "the app is broken" while both are environment, not the ap
Playwright Chromium launch fails on WSL2 with missing libnss3 / libnspr4
Running `playwright install chromium` (Playwright 1.60.0) inside a WSL2 Ubuntu 24.04 image succeeds in downloading the b
OpenCode CLI on native Windows lists zero models: WSL-style `file://` paths break plugin loading
A native Windows install of the OpenCode CLI printed **zero models** for both listing commands:
A parked license-gate screen is not tamper detection: walk the UI tree first
A packaged Windows desktop app (a Flutter shell) appeared to stop at one page and
PATH 上明明有 npm,工具仍报「没有找到 npm」:它拼的是 npm-cli.js 文件路径,不认 npm.cmd
Windows 上 where npm / npx 都能找到 npm,但某个 Node 工具(本例是 DSH 的 hyperframes 插件「准备渲染环境」)始终报:
Permission Denied / WSL NTFS 跨文件系统PermissionFix
操作 ~/.hermes/ 下的文件时报 `Permission denied` 或 `EACCES`,或者 WSL 访问 /mnt/c 时报 `crossmnt` 错误。
pnpm 被文件锁卡死时的替代路径:把无依赖树包的 tarball 直接解进 node_modules
给运行中的 Electron 宿主装一个新插件,`pnpm install` 反复 `ERR_PNPM_EPERM`(rename 临时目录 → 目标被宿主映射)。按常规手法把被锁目录改名让路,下一次 install 又撞别的包,第三次撞在
pnpm install 撞上运行中进程的 DLL 锁:靠目录改名绕过,别删文件
在 Windows 上给一个正在运行的 Electron 宿主(DeepSeek Harness)所在的 pnpm profile 安装/调整依赖时,pnpm install 报 ERR_PNPM_EPERM: rename '...@im
A pnpm store moved across drives over a junction breaks hard links and empties the plugin list
为清理 C 盘空间,把 pnpm 缓存目录 `C:\Users\\AppData\Local\pnpm` 迁移到 `D:\`,并在原位置建立**目录联接(Junction)**。之后宿主执行插件安装时,pnpm 报出:
PowerShell 5.1 把无 BOM 的 UTF-8 .ps1 按 ANSI 读:脚本静默退出、零日志
用 pwsh 7 写好一个带中文注释的 .ps1,用 powershell.exe(Windows PowerShell 5.1)拉起,结果**进程秒退、日志文件一个字都没写**,看不出任何错误。同一份脚本另有一处 `Get-Content
PowerShell 5.1 decodes a BOM-less UTF-8 .ps1 as ANSI/GBK, so non-ASCII becomes bogus parse errors
A `.ps1` file that contained non-ASCII text — Chinese comments and Chinese `Write-Host`
PowerShell Add-Type blocked by policy: call the Win32 API with Python ctypes instead
On Windows, `Add-Type` was blocked by the machine's security policy, so PowerShell could no longer
在 Windows + DSH agent 环境下用 PowerShell 脚本通过 COM 调用 Microsoft Word(New-Object -Com
在 Windows + DSH agent 环境下用 PowerShell 脚本通过 COM 调用 Microsoft Word(New-Object -ComObject Word.Application)来把 docx 转 PDF,进程
PowerShell inline -e payload eats backslashes, collapsing a Windows path into one token
An agent shell (`pwsh -Command`) handed a one-liner to an Electron app's Node mode:
一个原本正常的 PowerShell 安装脚本(含中文提示),用 Python 读进来改了一行再写回之后,`powershell -NoProfile` 执行时
一个原本正常的 PowerShell 安装脚本(含中文提示),用 Python 读进来改了一行再写回之后,`powershell -NoProfile` 执行时报「字符串缺少终止符」(The string is missing the te
PowerShell P/Invoke needs CharSet.Unicode to read window titles, and MFC AfxWnd fields ignore WM_SETTEXT
The goal was automating a broker's native Win32 trade dialog — an MFC form with code / price /
PowerShell 5.1 Set-Content -Encoding UTF8 adds a BOM that breaks an Electron app's package.json
An Electron application's `package.json` was edited with Windows PowerShell 5.1:
电脑操作 MCP 自动化 GPU 渲染桌面应用:合成输入与窗口捕获两处失效叠加
Agent driving a Windows desktop via a computer-use/GUI automation MCP could not automate a GPU rendered desktop app (a g
AppKit 保存的窗口恢复后矮了 28pt:styleMask 在 setFrame 之后才插 fullSizeContentView
AppKit (macOS 15+): a window restored from a saved frame came back about 28 pt shorter than saved (900x650 requested ->
Windows Git Bash 里 python -c / heredoc 拿到 /d/ 路径报 FileNotFoundError
On Windows, inline `python -c` / `python <
GUI 进程 spawn 控制台子进程:每次调用闪一个黑窗,诊断输出刷屏
Windows GUI 桌面应用在功能里调用命令行小工具(私有二进制转换器),每次调用都**闪出一个控制台窗口**并打印工具的无害唠叨(如 'Unable to find xxx.ini')。导入百台级备份时每个文件调一次 → 窗口刷屏,用
Python GBK Encoding Error — Windows/WSL 跨平台
在 WSL 中运行 Python 脚本,读取或写入文件时报:
Python\u2194Node.js bridge on Windows corrupts Chinese paths: subprocess text=Tr
Python\u2194Node.js bridge on Windows corrupts Chinese paths: subprocess text=True defaults to GBK, Node expects UTF-8,
pythonw.exe + scheduled task: unguarded sys.stdout reconfigure at module top lev
pythonw.exe + scheduled task: unguarded sys.stdout reconfigure at module top level crashes silently with exit 0x80070001
RAG Alarm Code Retrieval Needs Mandatory Keyword Recall
When querying "SRVO-023 robot alarm", RAG returned unrelated results instead of the correct FANUC alarm documentation.
RAG Brand Filter Three Pitfalls
During a quality inspection of a FANUC robot RAG knowledge base, the team found three design flaws in the brand-filterin
RAG Build Strategy Batch
During knowledge-base construction (chunks_v3, 34,100 docs), all data was loaded into VRAM/WSL memory at once. This caus
RAG Chinese Encoding with PyMuPDF
When building a FANUC knowledge-base RAG system, retrieved Chinese alarm codes appeared garbled.
RAG Chunk Parameters 800 Characters and 100 Overlap
After importing FANUC PDF documents into RAG, retrieval quality was unstable and recall was low for long documents.
RAG Three-Channel LLM Disaster Recovery
When serving a RAG knowledge base externally (Gradio Web UI / WeChat bot), a single LLM API path may become unavailable
A precursor that fires repeatedly is not a countdown: fixed-delay warning windows miss the failure
A crashing service emitted a precursor signal before failing. From one or two observations, the gap was
受限 Windows 沙箱下用无头 Chromium 做截图/逐帧渲染:`--remote-debugging-port` 端口始终不监听。换遍参数(`--he
受限 Windows 沙箱下用无头 Chromium 做截图/逐帧渲染:`--remote-debugging-port` 端口始终不监听。换遍参数(`--headless=new` / 旧 `--headless` / 带窗口 / `--
Rust fs::read_to_string rejects non-UTF-8 bytes while Node fs.readFileSync utf8 replaces them
同一条「二进制 → 文本」转换管道在两个运行时里各写了一遍:Node 侧脚本一路跑绿、数据完整;Rust 侧 UI 入口把其中两个最大的文件整份丢掉,界面不报错,只是「功能少了一大块」。Rust 侧唯一的痕迹是读取时的错误:
rustup toolchain install repeatedly fails on Windows 11 with `component download
rustup toolchain install repeatedly fails on Windows 11 with `component download failed for cargo/rustc-x86_64-pc-window
沙箱用 Job Object 加 KILL_ON_JOB_CLOSE 管子进程:启动命令返回成功,下一次工具调用时进程已被回收
在 Windows 的 agent 沙箱里启动一个长驻后端(uvicorn / node server),启动命令返回成功、同一次 bash 调用里 curl 也能通。但**下一次工具调用**时进程已经没了。
schtasks /Create returns exit code 4294967295 with no output when the task path has non-ASCII characters
On Windows, creating a scheduled task from the command line failed whenever the arguments pointed at
Three signals that lie about whether a security-software exclusion was applied, plus the 8.3 short-name trap
向 IT 提交「给某软件加注入排除 / 白名单」的申请后,无法判断申请是否被执行。三种常见误判在本例同时出现,导致长期错误结论:
A clean target process does not prove a security-software exclusion worked: measure a control group
After an application directory was added to a security product's exclusion / allow list, the
自研工具对接 TIA Portal Openness API(Siemens.Engineering.dll)时连踩三个宿主/依赖坑,症状与修复如下(TIA P
自研工具对接 TIA Portal Openness API(Siemens.Engineering.dll)时连踩三个宿主/依赖坑,症状与修复如下(TIA Portal V19,Windows PowerShell 5.1 / pwsh
SendInput with KEYEVENTF_UNICODE returns 2 but types nothing into the target
用 `SendInput` 配合 `KEYEVENTF_UNICODE` 模拟输入 Unicode 字符(例如给中文编辑器输入)时,
slugify path traversal deep coverage
The original 5-test `test_slugify.py` (merged in commit `6912f87` for issue #95) covered the basics: standard titles, sl
slugify windows path sanitation
When creating a new lesson using `scripts/new_lesson.py` (either interactively or via batch mode), if the user or agent
Ant Design v5 renders unstyled in Tauri v1 WebView2: CSP blocks the style tags cssinjs injects at runtime
A Tauri v1 desktop app (Windows, WebView2) built with Ant Design v5 opens and works, but **every Ant
tts chinese encoding powershell
中文文本通过 PowerShell 脚本内联传给 mmx CLI,TTS 返回空音频("嗯嗯"声)。
urllib raises SSL: UNEXPECTED_EOF_WHILE_READING on some public JSON APIs while others work on the same host
In one batch probe from Windows, `urllib.request.urlopen()` returned `
UTF-8 编码的 .bat 含中文时,cmd 逐行解码错位、吞掉下一行行首字符
双击桌面快捷方式启动的 .bat 脚本完全不执行,黑窗口一闪而过。脚本里有 netstat 端口检测、if 分支、start 调起浏览器、前台跑服务等逻辑。
中文路径下的 UTF-8 批处理:cmd 把变量名咬成半截,报 DK_HOME is not recognized
用 PowerShell 的 Set-Content -Encoding UTF8 写了一个 .cmd,内容里有中文路径,并且有一行 set "ANDROID_SDK_HOME=%ANDROID_USER_HOME%"。运行时输出 'DK_
后台日志文件用 UTF-8 无 BOM 写中文,Windows 默认 GBK 终端或编辑器读成「宸插湪杩愯」;脚本 stdout 输出含中文路径的 JSO
后台日志文件用 UTF-8 无 BOM 写中文,Windows 默认 GBK 终端或编辑器读成「宸插湪杩愯」;脚本 stdout 输出含中文路径的 JSON 时同样全乱(例如 `{"file":"\AI工作产出\\造神计划\\识
VB6 自绘树控件只认真实输入链路:合成消息不触发选中,老化实例还会静默降级
Windows 上自动化 VB6 自绘树控件(如 ThunderRT6/TreeView20WndClass 类)时,合成输入全部失效:SendMessage WM_LBUTTONDOWN/UP 只能触发展开切换、不注册节点选中(业务路径变
Voice pipelines fail without failing: the acceptance is the artifact, not the exit code
A voice pipeline is a chain of stages that each report success at the wrong layer: the process exits 0, the
Watchdog restart loops leave duplicate NapCatWinBootMain processes and break injection
After a few restart cycles, several NapCatWinBootMain and QQ processes accumulate and NapCat stops injecting correctly e
wcferry wechat version lock
wxauto 不够稳定时,考虑切换到 wcferry (WeChatFerry) 方案。但安装后无法 hook 微信进程。
wecom robot long connect no ngrok
配置企业微信机器人回调时,传统方案需要 ngrok/frp 做内网穿透,增加复杂度、暴露端口、需要 HTTPS 证书。
Windows 显示缩放 150% 的机器上做 GUI 自动化(合成鼠标点击/截屏定位),点击系统性偏移到错误位置(约 ×1.5),检查点截图截到完全无关的窗口
Windows 显示缩放 150% 的机器上做 GUI 自动化(合成鼠标点击/截屏定位),点击系统性偏移到错误位置(约 ×1.5),检查点截图截到完全无关的窗口;同一套坐标在 100% 机器上正常。脚本用 PowerShell `SetCu
A UTF-8 path list decoded as cp936 loses 211 files, and nothing raises
A corpus of **1012** lessons was reported as **801** by one generator, on one machine only:
A Windows ACL write sandbox lost command execution: SetNamedSecurityInfoW failed (Win32 5) grantWrite
On Windows, an agent harness that implements its write sandbox with NTFS ACLs lost the ability to
Windows: an NSIS installer silently installs into Files even though C: is
Windows: an NSIS installer silently installs into Files even though C: is nearly full and the user asked for anot
中文 Windows 环境 Python 脚本用 subprocess.run(..., capture_output=True, text=True) 捕获子
中文 Windows 环境 Python 脚本用 subprocess.run(..., capture_output=True, text=True) 捕获子进程输出时,子进程输出含非 GBK 字节(如 UTF-8 中文)→ _reade
Windows CI: splitCommand backslash stripping, UnicodeEncodeError, and detached process failure
Three distinct bugs surfaced in a single Windows CI session:
Windows .cmd 批处理内含非 ASCII 字符导致命令被截断、路径失效
在中文 Windows 上,把一份 .cmd(或 .bat)放进某个目录后双击或执行,cmd 报:
Windows 上跑「虚拟控制器 + GUI 宿主」类仿真(宿主进程拉起 `-Embedding` 的短路径子进程)时,重启/切换工位后出现:网络端口的登
Windows 上跑「虚拟控制器 + GUI 宿主」类仿真(宿主进程拉起 `-Embedding` 的短路径子进程)时,重启/切换工位后出现:网络端口的登录握手正常(banner/用户名/口令提示都应答),但登录完成后会话变「死壳」——输入
Windows 下 C++ 子进程经 stdout 向父进程传输二进制协议帧([1B kind][4B len][body],body 为 PCM 音频)。静音
Windows 下 C++ 子进程经 stdout 向父进程传输二进制协议帧([1B kind][4B len][body],body 为 PCM 音频)。 静音/全零测试数据下一切正常,真实音频数据触发父进程报 frame too lar
Windows 上 curl 通、Node fetch 全失败:Node 不读系统证书库
Windows 上 curl 能正常访问 GitHub/npm(走 Schannel + Windows 证书库),但同一台机器上 **Node.js 的 fetch/https 请求全部失败**:
A Windows directory name ending in a dot breaks ripgrep, glob and recursive IO (os error 3)
A recursive search over a Windows user profile failed part-way through on a path that the
Windows 上自建的 .NET 服务里统计类 SQL 全返回 0,接口 HTTP 200 且不报错,但用同一个 .db 文件在外部 sqlite3/pyth
Windows 上自建的 .NET 服务里统计类 SQL 全返回 0,接口 HTTP 200 且不报错,但用同一个 .db 文件在外部 sqlite3/python 里跑同样的 SQL 能算出几十条。
Windows 上启动 Electron 桌面应用(Antigravity 2.36.0,升级安装后)进程秒退,ExitCode=9,窗口一闪即没。只有把 st
Windows 上启动 Electron 桌面应用(Antigravity 2.36.0,升级安装后)进程秒退,ExitCode=9,窗口一闪即没。只有把 stdout/stderr 重定向到文件才看到真正原因:`Antigravity.e
Windows 上在没有 ffmpeg、且商店版 Python 无法写盘(tempfile 报 "No usable temporary directory",
Windows 上在没有 ffmpeg、且商店版 Python 无法写盘(tempfile 报 "No usable temporary directory",open 报 PermissionError)的环境里,需要程序化生成带音频的
Windows 上 Git Bash 与原生 Python 混用时:Bash 重定向写到 ` 成功,紧接着 Windows Pyth
Windows 上 Git Bash 与原生 Python 混用时:Bash 重定向写到 ` 成功,紧接着 Windows Python(同机同用户)`open('')` 报 `FileNotFoundError`—
Windows GUI 自动化里「点击/按键发出去了但界面没反应」的排障成本极高(同一套脚本时灵时不灵,连试数轮全哑),最后发现问题与输入 AP
Windows GUI 自动化里「点击/按键发出去了但界面没反应」的排障成本极高(同一套脚本时灵时不灵,连试数轮全哑),最后发现问题与输入 API 本身无关,是三类环境性前置没满足。
Windows GUI 自动化「前台安全闸」误报排查:合成点击链的安全闸要求前台是目标窗口,连跑两次都报「前台不是 ROBOGUIDE(当前='某某终端窗口标题
Windows GUI 自动化「前台安全闸」误报排查:合成点击链的安全闸要求前台是目标窗口,连跑两次都报「前台不是 ROBOGUIDE(当前='某某终端窗口标题')」,看似别的终端在抢前台,实际是**同窗口多标签的 WindowsTermi
A Windows libvips DLL loaded twice poisons the bundled sharp and surfaces as TRANSPORT
On Windows, a desktop host (Electron + bundled `sharp`) had every turn of an affected session fail
Windows 机器锁屏状态下做 GUI 自动化:真实输入(SendInput/mouse_event/keybd_event、UIA clic
Windows 机器锁屏状态下做 GUI 自动化:真实输入(SendInput/mouse_event/keybd_event、UIA click_input)全部无效——点击和按键都打在锁屏界面上,目标应用纹丝不动;表象是「控件不响应/菜
Windows 上把 DeepSeek Harness 工作区(\Documents\deepseek-harness)搬到 D 盘后用 mk
Windows 上把 DeepSeek Harness 工作区(\Documents\deepseek-harness)搬到 D 盘后用 mklink /J 在原路径建 junction。 旧会话仍能打开,但新建会话静默失
症状:一个 Windows 原生 GUI 自动化工具仓库的 CI 门(GitHub Actions)在 ubuntu-latest 上全红,而同样的命令在开发机
症状:一个 Windows 原生 GUI 自动化工具仓库的 CI 门(GitHub Actions)在 ubuntu-latest 上全红,而同样的命令在开发机 Windows 上全部通过。两种签名:①工具在 import/--help 时
Windows Node sandbox: a hardcoded /root silently confined the agent to the wrong directory
An agent tool harness confined its file writes by hardcoding the sandbox root:
在 Windows 上由 Node.js/进程管理器 spawn 裸 `python` 命令,报 exit code 9009(或 ENOENT),但手动在终端
在 Windows 上由 Node.js/进程管理器 spawn 裸 `python` 命令,报 exit code 9009(或 ENOENT),但手动在终端敲 python 是正常的。
在 Windows(中文系统)用 Node 子进程调 WinRAR UnRAR.exe 列目录(`lb`)拿到文件名,再用该文件名调 `p` 提
在 Windows(中文系统)用 Node 子进程调 WinRAR UnRAR.exe 列目录(`lb`)拿到文件名,再用该文件名调 `p` 提取——提取静默失败(stdout 0 字节),而 lb 看起来「正常」(终端里只是显示乱码)。同
initdb fails with invalid byte sequence for encoding UTF8 when the installation path has non-ASCII characters
On Windows with system locale `zh-CN` (ANSI code page **936 / GBK**) and a user directory
Windows 机器上用 npm 安装 devDependencies(typescript / wrangler 等),npm 输出 "changed 1 p
Windows 机器上用 npm 安装 devDependencies(typescript / wrangler 等),npm 输出 "changed 1 package, and audited 1 package in 3s / fo
A second parallel edit of the same file on Windows fails with ReplaceFileW EIO (Win32 32)
Windows 上,一次性对**同一个文件**发出两个编辑调用(并行/同一批次),其中一个成功、另一个失败,报错原文:
Windows 上用 pnpm 构建 monorepo 时,默认 isolated linker 报 `[ERR_PNPM_SYMLINK_FAILED] [s
Windows 上用 pnpm 构建 monorepo 时,默认 isolated linker 报 `[ERR_PNPM_SYMLINK_FAILED] [symlinkAllModules] Maximum call stack siz
Windows 上 PowerShell 侧所有 HTTPS 出站全部失败,但 Node 内置 fetch 完全正常 Root Cause 该机器的 SChan
Windows 上 PowerShell 侧所有 HTTPS 出站全部失败,但 Node 内置 fetch 完全正常
Windows PowerShell 内联命令的双层转义陷阱(node -e 静默失败)
在 DSH harness 里用内联命令执行含引号/多行/JS 的命令时反复失败,且其中一类失败是静默的:
Windows 上整仓 `py_compile` 语法闸偶发整个崩掉,报 `PermissionError: [WinError 5] 拒绝访问`,栈底是 `i
Windows 上整仓 `py_compile` 语法闸偶发整个崩掉,报 `PermissionError: [WinError 5] 拒绝访问`,栈底是 `importlib._bootstrap_external._write_atom
.cmd 包装中文文件名 exe 在计划任务里退出码 255:批处理要按 GBK 写盘或全用 ASCII 名
Windows 计划任务里用 `.cmd` 包装调用中文文件名的 exe(如 `数据更新.exe`),任务**立即以退出码 255
Windows 计划任务定时拉起 powershell.exe 时,屏幕上会周期性闪出黑窗又立刻消失(本例每 10 分钟一次),用户误以为有程序在后台偷偷运行。
Windows 计划任务定时拉起 powershell.exe 时,屏幕上会周期性闪出黑窗又立刻消失(本例每 10 分钟一次),用户误以为有程序在后台偷偷运行。
Windows 计划任务(schtasks)直接调 python.exe 跑脚本,每次触发会闪出一个黑色控制台窗口,干扰正在使用桌面的用户。 Root Caus
Windows 计划任务(schtasks)直接调 python.exe 跑脚本,每次触发会闪出一个黑色控制台窗口,干扰正在使用桌面的用户。
Windows 上双击或程序调用 ShellExecute 打开 .pdf 时静默失败/无反应,文件本身完好(Edge 可正常打开)。 根因 `HKCU\Sof
Windows 上双击或程序调用 ShellExecute 打开 .pdf 时静默失败/无反应,文件本身完好(Edge 可正常打开)。
Windows 上 skills 目录有 57 个条目:6 个真目录 + 51 个指向库目录的 Junction。Node 用 `fs.readdirSy
Windows 上 skills 目录有 57 个条目:6 个真目录 + 51 个指向库目录的 Junction。Node 用 `fs.readdirSync(dir,{withFileTypes:true}).filter(e=>e.is
Windows 上只有一个商店版 Python 3.13(WindowsApps 别名)时,所有需要落盘的脚本都失败:tempfile 抛 "No usable
Windows 上只有一个商店版 Python 3.13(WindowsApps 别名)时,所有需要落盘的脚本都失败:tempfile 抛 "No usable temporary directory",open() 抛 Permissio
在 Windows 上把一个符号链接提交进 git 仓,而这个链接的目标里写的是**未展开的变量**(例如字面量 "$HOME/.hermes/skills/x
在 Windows 上把一个符号链接提交进 git 仓,而这个链接的目标里写的是**未展开的变量**(例如字面量 "$HOME/.hermes/skills/x/SKILL.md",想指向家目录下的真实路径),后果是整个仓库的 git 操作
Windows UI Automation 观察者在导航后越界:不再整程序枚举按钮,改为导航后重取唯一具名面板、只读白名单属性
一个 Windows UI Automation(UIA)观察者本意是读设置元数据,但在一次正常导航把应用切到
Windows 守护脚本 `start-watchdog.bat`(agy-watchdog)直接双击/命令行启动时报「已在运行中 (PID: 28096),跳
Windows 守护脚本 `start-watchdog.bat`(agy-watchdog)直接双击/命令行启动时报「已在运行中 (PID: 28096),跳过重复启动」,但任务管理器里根本没有 watchdog-daemon.ps1 进
Windows + WSL2 环境下 Node 的 fetch/undici 访问 GitHub release 资源会 connect timeout(10
Windows + WSL2 环境下 Node 的 fetch/undici 访问 GitHub release 资源会 connect timeout(10 秒后 fetch failed),而同机 curl 走系统代理 127.0.0.
Windows 版 yt-dlp 走 GBK 控制台:PowerShell 里抓到的中文标题全部变成 U+FFFD
在 PowerShell 里用 `& $yt-dlp "bilisearch5:关键词" --print "%(title)s"` 抓搜索结果,标题里的中文全部变成 `��`(U+FFFD 替换字符),UP 主名字同样是乱码。
用 WMI 脱离父子关系的守卫进程,仍会随宿主退出被杀:别指望"等宿主死了再干活
要给一个运行中的 Electron 宿主(它会锁住 node_modules 里的原生模块)做离线安装,思路是:起一个守卫进程,等宿主完全退出后自动跑安装、装完再把宿主拉起来。守卫用 WMI `Win32_Process.Create` 创
WMI 拉起的进程工作目录是 system32:pnpm 报 ERR_PNPM_NO_PKG_MANIFEST
写了个守夜脚本,用 Win32_Process.Create 把自己脱离成独立进程(这样宿主关掉也带不走它),脚本里 `& node pnpm.mjs install` 连跑两轮都立刻失败:`[ERR_PNPM_NO_PKG_MANIFES
deepseek tui write file sandbox worktree git path
在 Agent-Medici 项目的 search_knowledge.py v2 升级过程中,使用 DeepSeek TUI Agent 模式进行代码修改。操作环境为 WSL (Windows Subsystem for Linux),仓
封装 FANUC LS→TP 编译器:robot.ini 私有格式 + GUI 错误框静默挂死
把 FANUC 官方 LS→TP 编译器(WinOLPC 工具链 maketp.exe)封装进 Windows 桌面应用时,按公开文档拼参数会连撞三堵墙:①编译器要求 robot.ini 配置文件但格式不公开(官方只说「运行 setrobo
Writing DSH profile package.json with PowerShell UTF8 BOM resets the whole plugin profile
After editing a DSH profile package.json with PowerShell (Set-Content -Encoding UTF8), restarting DSH comes up with ever
WSL NTFS SQLite UPDATE 100x slower than ext4
Running `UPDATE` on a 1.2GB SQLite database via WSL2's NTFS mount (`/mnt/d/`) takes 5+ minutes for a single statement up
wsl pip gbk hub poller crash
Windows Hub 的 hub_poller.py 读取 config.yaml 时崩溃,错误信息为 UnicodeDecodeError。
wsl proxy huggingface external
WSL 内 Python 脚本无法下载 HuggingFace 模型(sentence-transformers/BGE),
WSL 代理Setup — 通过 Windows 梯子Access外网
WSL 内 `curl google.com` 失败,但 Windows 能正常访问外网。WSL 默认不走 Windows 的代理。
`wsl --status` fails with "The file cannot be accessed by the system" but Docker itself still works
On a Windows host, Docker Desktop was installed with winget. Hyper-V was already enabled, but the
WSL 终端编辑Setup危险 — TTy粘贴吞下划线
需要修改 WSL 中的配置文件(如 `.env`、`config.yaml`),通过 Windows Terminal 粘贴时出现神秘失败。
WSL2 内存泄漏 / 内存占用过高
WSL2 运行几天后吃掉 8GB+ 内存,Windows 变卡。`free -h` 显示已用内存极高。
wxauto 必须在 Windows Python 下安装,不能走 WSL pip
在 WSL2 中 `pip install wxauto` 报错 `No matching distribution found`。wxauto 是 Windows-only 库。
重建一个含中文目录/文件名(如 图片和附件\xxx.png)的 zip 交付物时两处翻车:① Python zipfile 默认把中文条目名写成 UTF-8+U
重建一个含中文目录/文件名(如 图片和附件\xxx.png)的 zip 交付物时两处翻车:① Python zipfile 默认把中文条目名写成 UTF-8+UTF-8 flag,而待“重建”的旧 zip 是 GBK 编码、无 flag——