<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title><![CDATA[win环境下执行xlings checker 会报错为：error: wait events in poller failed! 当编写 vscode的时候会显示无法写入使得崩溃]]></title><description><![CDATA[<p dir="auto">在win环境下执行xlings checker 00-auto 或者是xlings checker  会报错为：error: wait events in poller failed!<br />
error: execv(xmake xlings --project=. E:\Desktop\mcpp-standard checker 00-auto) failed(-1)</p>
<p dir="auto">并且当编写 vscode的时候会显示无法写入 我认为是程序占用了</p>
<p dir="auto"><img src="/assets/uploads/files/1752043721427-f434badb-6036-4cb7-8729-029dc21f8368-image.png" alt="f434badb-6036-4cb7-8729-029dc21f8368-image.png" class=" img-fluid img-markdown" /></p>
]]></description><link>http://forum.d2learn.org/topic/114/win环境下执行xlings-checker-会报错为-error-wait-events-in-poller-failed-当编写-vscode的时候会显示无法写入使得崩溃</link><generator>RSS for Node</generator><lastBuildDate>Thu, 13 Aug 2026 15:26:36 GMT</lastBuildDate><atom:link href="http://forum.d2learn.org/topic/114.rss" rel="self" type="application/rss+xml"/><pubDate>Wed, 09 Jul 2025 06:54:26 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to win环境下执行xlings checker 会报错为：error: wait events in poller failed! 当编写 vscode的时候会显示无法写入使得崩溃 on Sat, 31 Jan 2026 19:00:27 GMT]]></title><description><![CDATA[<p dir="auto"><a class="mention plugin-mentions-user plugin-mentions-a" href="http://forum.d2learn.org/uid/207">@Saaqq</a> 目前d2x工具使用c++重构了, 可以更新一下 应该不会有这个问题了</p>
<p dir="auto">先更新一下d2x工具</p>
<pre><code>xlings self update
xim --update index
xlings update d2x
</code></pre>
<p dir="auto">然后再到项目目录运行下面命令进入练习模式</p>
<pre><code>d2x checker
</code></pre>
<blockquote>
<p dir="auto">注: 最新版本的d2x也支持配置AI大模型做智能引导, 也可以玩一玩</p>
</blockquote>
<p dir="auto"><img src="/assets/uploads/files/1769885998503-33e4df78-8646-4b89-847f-41899668b251-image.png" alt="33e4df78-8646-4b89-847f-41899668b251-image.png" class=" img-fluid img-markdown" /></p>
<ul>
<li>移植后的d2x仓库: <a href="https://github.com/d2learn/d2x" rel="nofollow ugc">https://github.com/d2learn/d2x</a></li>
<li>交互式教程说明: <a href="https://d2learn.github.io/d2x-project-template/chapter_0.html" rel="nofollow ugc">https://d2learn.github.io/d2x-project-template/chapter_0.html</a></li>
</ul>
]]></description><link>http://forum.d2learn.org/post/711</link><guid isPermaLink="true">http://forum.d2learn.org/post/711</guid><dc:creator><![CDATA[sunrisepeak]]></dc:creator><pubDate>Sat, 31 Jan 2026 19:00:27 GMT</pubDate></item><item><title><![CDATA[Reply to win环境下执行xlings checker 会报错为：error: wait events in poller failed! 当编写 vscode的时候会显示无法写入使得崩溃 on Fri, 30 Jan 2026 14:31:37 GMT]]></title><description><![CDATA[<p dir="auto">我在windows下也异常的情况，不是稳定复现的，大概存在几个情况<br />
1、某些文件，从一开始使用Auto-Checker command:就会fail并且一直fail<br />
2、一开始Auto-Checker command 可以执行，但没法一直处于auto test的状态，等一会就是直接fail掉。<br />
3、一开始fail，但是突然就正常了。（中间并没有做过特殊操作，只进行了g++编译，或者切换几个试题进行编译但没找出明确的步骤）</p>
<p dir="auto">个人使用上的解决方案：手动进行编译，然后观察结果，不使用自动测试。<br />
例如：<br />
g++ -I.\dslings .\dslings\en\cpp11\00-auto-and-decltype-3.cpp -o test.exe<br />
.\test.exe</p>
<p dir="auto">可以直接查看打印出日志结果</p>
]]></description><link>http://forum.d2learn.org/post/710</link><guid isPermaLink="true">http://forum.d2learn.org/post/710</guid><dc:creator><![CDATA[Saaqq]]></dc:creator><pubDate>Fri, 30 Jan 2026 14:31:37 GMT</pubDate></item><item><title><![CDATA[Reply to win环境下执行xlings checker 会报错为：error: wait events in poller failed! 当编写 vscode的时候会显示无法写入使得崩溃 on Wed, 09 Jul 2025 11:28:42 GMT]]></title><description><![CDATA[<p dir="auto"><a class="mention plugin-mentions-user plugin-mentions-a" href="http://forum.d2learn.org/uid/106">@javis</a> 是一运行就报这个错误, 还是vscode一编辑文件就报错啊</p>
<p dir="auto">尝试把项目目录下的<code>config.xlings</code>下面这一行删除(即不自动用vscode打开代码文件)</p>
<p dir="auto"><img src="/assets/uploads/files/1752060312144-8f166822-5e51-4fb8-8e16-c03a2e36191b-image.png" alt="8f166822-5e51-4fb8-8e16-c03a2e36191b-image.png" class=" img-fluid img-markdown" /></p>
<p dir="auto">然后使用其他 手动 用其他编辑器(本地文本编辑器或其他非vscode) 打开对应的代码文件修改保存 会有这个问题吗</p>
<p dir="auto">看看是不是和vscode有关系问题</p>
]]></description><link>http://forum.d2learn.org/post/514</link><guid isPermaLink="true">http://forum.d2learn.org/post/514</guid><dc:creator><![CDATA[SPeak]]></dc:creator><pubDate>Wed, 09 Jul 2025 11:28:42 GMT</pubDate></item><item><title><![CDATA[Reply to win环境下执行xlings checker 会报错为：error: wait events in poller failed! 当编写 vscode的时候会显示无法写入使得崩溃 on Wed, 09 Jul 2025 11:20:28 GMT]]></title><description><![CDATA[<p dir="auto">windows版本<br />
版本	Windows 10 专业版<br />
版本号	22H2<br />
安装日期	‎2021/‎12/‎9<br />
操作系统内部版本	19045.5965<br />
序列号	PF1HUKNA<br />
体验	Windows Feature Experience Pack 1000.19061.1000.0</p>
<p dir="auto">powershell版本<br />
Name                           Value</p>
<hr />
<p dir="auto">PSVersion                      5.1.19041.5965<br />
PSEdition                      Desktop<br />
PSCompatibleVersions           {1.0, 2.0, 3.0, 4.0...}<br />
BuildVersion                   10.0.19041.5965<br />
CLRVersion                     4.0.30319.42000<br />
WSManStackVersion              3.0<br />
PSRemotingProtocolVersion      2.3<br />
SerializationVersion           1.1.0.1<br />
xmake 版本<br />
xmake v3.0.0+master.262293e90, A cross-platform build utility based on Lua<br />
Copyright (C) 2015-present Ruki Wang, <a href="http://tboox.org" rel="nofollow ugc">tboox.org</a>, <a href="http://xmake.io" rel="nofollow ugc">xmake.io</a></p>
<p dir="auto">vscode版本<br />
1.72.2<br />
d045a5eda657f4d7b676dedbfa7aab8207f8a075<br />
x64</p>
<p dir="auto">稳定复现 装了几次了</p>
]]></description><link>http://forum.d2learn.org/post/513</link><guid isPermaLink="true">http://forum.d2learn.org/post/513</guid><dc:creator><![CDATA[javis]]></dc:creator><pubDate>Wed, 09 Jul 2025 11:20:28 GMT</pubDate></item><item><title><![CDATA[Reply to win环境下执行xlings checker 会报错为：error: wait events in poller failed! 当编写 vscode的时候会显示无法写入使得崩溃 on Wed, 09 Jul 2025 09:30:20 GMT]]></title><description><![CDATA[<p dir="auto">如果这个问题, 有可以稳定的复现步骤, 欢迎提供一下环境信息, 我进行问题的排查和研究</p>
<ul>
<li>windows版本</li>
<li>powershell/cmd版本</li>
<li>xmake 版本  (运行<code>xmake --version</code>可以看到)</li>
<li>vscode版本 (运行<code>code --version</code>可以看到)</li>
</ul>
]]></description><link>http://forum.d2learn.org/post/512</link><guid isPermaLink="true">http://forum.d2learn.org/post/512</guid><dc:creator><![CDATA[SPeak]]></dc:creator><pubDate>Wed, 09 Jul 2025 09:30:20 GMT</pubDate></item><item><title><![CDATA[Reply to win环境下执行xlings checker 会报错为：error: wait events in poller failed! 当编写 vscode的时候会显示无法写入使得崩溃 on Wed, 09 Jul 2025 09:26:47 GMT]]></title><description><![CDATA[<p dir="auto">可以关闭当前窗口, 重新打开新窗口运行下面命令清理以下缓存后, 再(到项目目录)运行<code>xlings checker</code>看看问题能不能解决</p>
<h2>方法一</h2>
<p dir="auto"><strong>缓存清理命令</strong></p>
<blockquote>
<p dir="auto">可以用于修复一些因为缓存影响的问题</p>
</blockquote>
<pre><code class="language-bash">xlings self clean
</code></pre>
<hr />
<h2>方法二</h2>
<p dir="auto">如果还是有问题, 可以卸载重新安装试一试</p>
<p dir="auto"><strong>xlings卸载命令</strong></p>
<pre><code class="language-bash">xlings self uninstall
</code></pre>
<p dir="auto">更多工具本身相关的命令可以运行<code>xlings self</code>查看</p>
]]></description><link>http://forum.d2learn.org/post/511</link><guid isPermaLink="true">http://forum.d2learn.org/post/511</guid><dc:creator><![CDATA[SPeak]]></dc:creator><pubDate>Wed, 09 Jul 2025 09:26:47 GMT</pubDate></item></channel></rss>