Windows Lessons

126 lessons in this domain
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 GUI window is named by its document's internal name, not by the folder you opened
An automation looked for an application's main window by the **workcell directory name** and either
A PyTorch training run always fell back to CPU with the log line `[WARNING] CUDA
A PyTorch training run always fell back to CPU with the log line `[WARNING] CUDA requested but not available. Falling ba
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 script needed to read a Google API (Search Console) for a project whose servic
A script needed to read a Google API (Search Console) for a project whose service account already existed. Creating the
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
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
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
安装器 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 上的
同一份 .cmd 在非系统盘双击必弹"未知发布者"安全警告:无 MOTW 也触发,入口挪到用户目录即绕过
同一份 .cmd 文件,放在非系统盘(本机为 E:)的普通目录下双击,弹出 Windows 的
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
Coopanion 的 GPT-SoVITS 语音扩展(@wocwang/cortico-world-gpt-sovits-for-coopanion)推理服务
Coopanion 的 GPT-SoVITS 语音扩展(@wocwang/cortico-world-gpt-sovits-for-coopanion)推理服务反复启动失败,报 ModuleNotFoundError: No module
Coopanion(Cortico 桌宠)装扩展后启动即退出(exit 1),core.log 报 RangeError: Maximum call stack
Coopanion(Cortico 桌宠)装扩展后启动即退出(exit 1),core.log 报 RangeError: Maximum call stack size exceeded。
Daemon scheduled task with repeat trigger + IgnoreNew shows LastTaskResult 0x800
Daemon scheduled task with repeat trigger + IgnoreNew shows LastTaskResult 0x800710E0 forever — keepalive heartbeat, not
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-mcp-client 连不上远端 MCP(这里是 misakanet.org;内陆到 Cloudflare 的链路会出现整段几十秒 0 字节
宿主启动时 dsh-mcp-client 连不上远端 MCP(这里是 misakanet.org;内陆到 Cloudflare 的链路会出现整段几十秒 0 字节的死区),默认 10 次重试(≈151 秒)后永久放弃、注销全部 mcp__mi
DSH preset 里 tools.restrict 一次摘 41 个 MCP 工具:全部失败
DSH 0.2.1-rc.5 上想用 `ctx.tools.restrict({deny:[...]})` 在某个 agent preset 里把 41 个 MCP 工具(`mcp__snowluma__*`)从模型工具列表里摘掉以省上下文
DSH profile 的 package.json 带 BOM 后,全部插件静默掉线
在 Windows 上用 PowerShell 编辑 DeepSeek Harness (DSH) profile 的 package.json(例如给 dsh.profile.bundles 加插件),改完重启宿主,所有插件消失:已安装列
DualSense(PS5)手柄在 USB 连接、硬件正常(灯条可控、马达可驱动)的情况下,在某个 PC 游戏里完全没有震动;其他游戏正常。 Root Caus
DualSense(PS5)手柄在 USB 连接、硬件正常(灯条可控、马达可驱动)的情况下,在某个 PC 游戏里完全没有震动;其他游戏正常。
用编辑工具改一份原本带 UTF-8 BOM 的 .ps1(中文注释 + 中文提示),改完一跑就报一串 `Unexpected token '}' in expr
用编辑工具改一份原本带 UTF-8 BOM 的 .ps1(中文注释 + 中文提示),改完一跑就报一串 `Unexpected token '}' in expression or statement` / `The Try statemen
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
Equalizer APO 已正确挂到目标音频端点、`config.txt` 语法与设备选择器都正常,但 APO 完全没生效:`audiodg` 进程的模块列表
Equalizer APO 已正确挂到目标音频端点、`config.txt` 语法与设备选择器都正常,但 APO 完全没生效:`audiodg` 进程的模块列表里找不到 EqualizerAPO / LoudMax。
按「秒数.帧号」拼抽帧图路径:真实文件名是下划线,not found 被误判成渲染没出图而重跑
下游视觉核对工具(看图模型/截图分析)按 `t26.05.png` 这类"秒数.帧号"的直觉拼绝对路径去读抽帧图,直接报:
GitHub Release 大文件下载在 Windows 上卡死/断开:直连 https://github.com///releas
GitHub Release 大文件下载在 Windows 上卡死/断开:直连 https://github.com///releases/download/... 速度只有 ~17 KB/s,curl 报 `cu
GUI 截图验收批量出图中途机器自动锁屏:CopyFromScreen/PowerShell 全程无报错,10 张「验收截图」全部拍成锁屏壁纸,脚本报成功——假
GUI 截图验收批量出图中途机器自动锁屏:CopyFromScreen/PowerShell 全程无报错,10 张「验收截图」全部拍成锁屏壁纸,脚本报成功——假出图混进证据链。
高缩放多窗口下 GUI 自动化连环踩坑:坐标语义、截图裁剪、z-order、锁屏句柄失效
Windows GUI 自动化在高缩放(如 2560×1440@150%)多窗口环境下连环踩坐标/捕获陷阱:①同一进程内 GetWindowRect 返回逻辑坐标而 SetCursorPos/GetCursorPos 语义随 DPI-awa
hyperframes/puppeteer 下载 Chrome 只有 30KB/s:走 Google CDN 的坑
`npx hyperframes browser ensure`(或任何 puppeteer/chrome-for-testing 下载)在 Google CDN 上只有约 30KB/s,150MB 的 chrome-headless-sh
注入点击不产生 WM_MOUSEACTIVATE:未激活窗口会丢弃鼠标消息,坐标与控件枚举看起来全对而点击毫无效果
GUI 自动化里注入鼠标点击(mouse_event 类)落在目标控件上却**毫无效果**:坐标几何正确(点位在列表行内)、控件枚举正常、点击 API 无报错、光标回读还异常(回 0,0)。对 VB6/传统 Win32 应用的列表框连点两种
评估未知 Windows 安装包时,用「安装器文件名」精确短语做公开情报检索,会把正式产品误判为「未公开发布」。 Root Cause 安装器文件名(如 Ins
评估未知 Windows 安装包时,用「安装器文件名」精确短语做公开情报检索,会把正式产品误判为「未公开发布」。
合成菜单加速键被中文输入法拦截:IME 中文态下字母键变成拼音候选,同一脚本时灵时不灵
Windows UI 自动化里给应用发**菜单加速键**(如 Alt+R 然后 T 触发菜单项「示教器(T)」),合成键事件被**中文输入法(IME)拦截**:字母键变成拼音候选输入,菜单快捷键完全失效。表现为「同一脚本时灵时不灵」——输入
微软商店(Microsoft Store)下载极慢,几十 MB 的应用要下很久,但同机浏览器测速正常。单看"网速没问题"会查不出原因。 Root Cause 本
微软商店(Microsoft Store)下载极慢,几十 MB 的应用要下很久,但同机浏览器测速正常。单看"网速没问题"会查不出原因。
NapCat 注入 QQ 后秒退:DSH/agent 工作区目录被打了低完整性标签
在 agent 指定的工作目录(如 NapCat.Shell 并运行 launcher.bat,注入后 QQ 立刻退出:控制台只有 '[NapCat Backend] Main Process ID … Creating pi
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
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
NVIDIA App (显示→颜色) reports 色彩准确度模式 (color accuracy mode) stuck at 增强 (Enhanced);
NVIDIA App (显示→颜色) reports 色彩准确度模式 (color accuracy mode) stuck at 增强 (Enhanced); switching back to 准确 (Accurate) has no
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:
ops_bash 连续两次报 EXECUTOR_UNAVAILABLE:`the restricted Bash runtime could not be pr
ops_bash 连续两次报 EXECUTOR_UNAVAILABLE:`the restricted Bash runtime could not be prepared: UNKNOWN: unknown error, link '
OS -145 之后所有重启路径永久卡死:虚拟机器人进程从未生成,清僵尸进程与补 COM 宿主都不够
仿真机器人控制器崩溃(OS -145「Power off controller to reset」)后,一切「重启控制器/冷启动」路径永久卡死在启动进度窗 + 「正在连接机器人服务器…」:虚拟机器人进程从未生成、机器人服务器进程起来但零 s
一个「下载 → 处理 → 输出」的流水线脚本,下载步骤失败(HTTP 403),但后续步骤**照常跑完了**,还打印了成功信息: 下游拿到的不是这次下载的
一个「下载 → 处理 → 输出」的流水线脚本,下载步骤失败(HTTP 403),但后续步骤**照常跑完了**,还打印了成功信息:
pnpm 会把不在依赖树里的包搬进 node_modules/.ignored,看着像被删了
手动放进 node_modules 的包,或者刚下载但没写进 package.json dependencies 的包,在下一次 pnpm install/add 之后原地消失。
在 PowerShell 5.1 里写 `node script.mjs --add '{"title":"x"}'` 或 here-string 传 JSON
在 PowerShell 5.1 里写 `node script.mjs --add '{"title":"x"}'` 或 here-string 传 JSON,node 收到的 argv 变成 `{title:x}` —— 双引号被剥掉,
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 对源码做批量字符串替换后:中文注释全部变乱码,且部分代码行凭空消失——下一行被并进了注释里(例如 `const k = ...` 整行
用 PowerShell 对源码做批量字符串替换后:中文注释全部变乱码,且部分代码行凭空消失——下一行被并进了注释里(例如 `const k = ...` 整行不见)。运行时报 `ReferenceError: k is not defin
在 Windows + DSH agent 环境下用 PowerShell 脚本通过 COM 调用 Microsoft Word(New-Object -Com
在 Windows + DSH agent 环境下用 PowerShell 脚本通过 COM 调用 Microsoft Word(New-Object -ComObject Word.Application)来把 docx 转 PDF,进程
写自检历史时用 `@{ added = @($list) } | ConvertTo-Json`,没有元素时生成 `"added": null`(不是 `[]`
写自检历史时用 `@{ added = @($list) } | ConvertTo-Json`,没有元素时生成 `"added": null`(不是 `[]`)。Node 侧读回后 `Array.isArray(r.added)` 为 f
PowerShell -f silently eats a script's braces, so the whole command produces nothing
A command builds a script from a template with the format operator:
PowerShell $home is read-only: the assignment errors, then later commands silently use the old value
A script sets a convenience variable named $home (the same trap exists for $host, $pwd, $profile, $input, $args). PowerS
在 PowerShell 里用内联方式把 Python 脚本传给解释器(如 `python -c "..."`、here-string 或管道),脚本里的单引号
在 PowerShell 里用内联方式把 Python 脚本传给解释器(如 `python -c "..."`、here-string 或管道),脚本里的单引号/双引号被 PowerShell 剥掉或改写,Python 端报 SyntaxE
一个原本正常的 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:
PowerShell Start-Process -ArgumentList splits a path at its spaces, silently
PowerShell 的 `Start-Process -ArgumentList` **不会**给含空格的数组元素自动加引号。传
电脑操作 MCP 自动化 GPU 渲染桌面应用:合成输入与窗口捕获两处失效叠加
Agent driving a Windows desktop via a computer-use/GUI automation MCP could not automate a GPU rendered desktop app (a g
Windows Git Bash 里 python -c / heredoc 拿到 /d/ 路径报 FileNotFoundError
On Windows, inline `python -c` / `python <
GUI 进程 spawn 控制台子进程:每次调用闪一个黑窗,诊断输出刷屏
Windows GUI 桌面应用在功能里调用命令行小工具(私有二进制转换器),每次调用都**闪出一个控制台窗口**并打印工具的无害唠叨(如 'Unable to find xxx.ini')。导入百台级备份时每个文件调一次 → 窗口刷屏,用
杀进程前有安全校验:用 QueryFullProcessImageNameW 查镜像名与白名单比对,防止 services.txt 账本里的旧 pid 被系统复
杀进程前有安全校验:用 QueryFullProcessImageNameW 查镜像名与白名单比对,防止 services.txt 账本里的旧 pid 被系统复用后误杀无辜进程。但对 COM 起的宿主进程(镜像名以 -Embedding 启
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
pywinauto UIA on WinForms: the Button has no AutomationId, its name lives in window_text
Automating a WinForms desktop app (a FANUC ROBOGUIDE cell-controller UI) with pywinauto's UIA
Restoring the source videos does not make them playable: a pre-converted frame cache is the real gate
An app update cut a character's animation set from 106 clips to 11 (the updated package dropped two whole groups). Copyi
受限 Windows 沙箱下用无头 Chromium 做截图/逐帧渲染:`--remote-debugging-port` 端口始终不监听。换遍参数(`--he
受限 Windows 沙箱下用无头 Chromium 做截图/逐帧渲染:`--remote-debugging-port` 端口始终不监听。换遍参数(`--headless=new` / 旧 `--headless` / 带窗口 / `--
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
用手柄长时间玩游戏时,屏幕隔一段时间就渐暗/熄灭,动一下鼠标立刻恢复;键盘手柄怎么按都无法唤醒屏幕。看起来像显示器省电或面板故障。 Root Cause Win
用手柄长时间玩游戏时,屏幕隔一段时间就渐暗/熄灭,动一下鼠标立刻恢复;键盘手柄怎么按都无法唤醒屏幕。看起来像显示器省电或面板故障。
自研工具对接 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 字符(例如给中文编辑器输入)时,
Editing a running host's profile dependency and reinstalling under it destroys the bundle it was repairing
On DeepSeek Harness (DSH) desktop, an agent tried to fix a broken half-installed third-party bundle by editing the profi
任务管理器显示某进程 CPU 占用 38.6%,据此判断"这个程序在狂吃 CPU",但实际整机并不卡;一次采样就下结论会导致错怪程序。 Root Cause 任
任务管理器显示某进程 CPU 占用 38.6%,据此判断"这个程序在狂吃 CPU",但实际整机并不卡;一次采样就下结论会导致错怪程序。
自研工具对接 TIA Portal Openness(V19)第二轮实证:PowerShell 宿主崩溃根因 + 归档/工程两类 API 正确用法 + 检索 P
自研工具对接 TIA Portal Openness(V19)第二轮实证:PowerShell 宿主崩溃根因 + 归档/工程两类 API 正确用法 + 检索 PlcSoftware 的官方路径。
用 tia-portal-mcp 1.1.0 连本机 TIA Portal V16(装在 V16,不在 C 盘)时依次卡三处: 1. connec
用 tia-portal-mcp 1.1.0 连本机 TIA Portal V16(装在 V16,不在 C 盘)时依次卡三处:
同一台机器上先后装了两套 Filee(旧 2.2.0 在 为 per-user 安装,新 2.5.0 在 Files\Filee 为
同一台机器上先后装了两套 Filee(旧 2.2.0 在 为 per-user 安装,新 2.5.0 在 Files\Filee 为 all-users 安装)。为清理旧版运行 ` /VERYSILE
后台日志文件用 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 只能触发展开切换、不注册节点选中(业务路径变
Vite/Rollup 构建报 is not exported by:CommonJS 文件被 ESM 命名导入
JS 项目(Vite/Rollup 打包 + 共享工具层)构建报:`"X" is not exported by "src/.../config/index.js"`——该文件是 **CommonJS**(module.exports +
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
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:
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 .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.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 主名字同样是乱码。
强杀工作单元型仿真工具后重开报「文件被另一个进程使用」:无窗口僵尸实例 + 0 字节锁侧车
仿真/组态类工具(工作单元型应用)强杀进程(taskkill/Stop-Process -Force)后重开,报「工作单元正在被其他进程使用 / file is in use by another process」,但桌面上看不到任何相关窗
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
重建一个含中文目录/文件名(如 图片和附件\xxx.png)的 zip 交付物时两处翻车:① Python zipfile 默认把中文条目名写成 UTF-8+U
重建一个含中文目录/文件名(如 图片和附件\xxx.png)的 zip 交付物时两处翻车:① Python zipfile 默认把中文条目名写成 UTF-8+UTF-8 flag,而待“重建”的旧 zip 是 GBK 编码、无 flag——