Hacktoberfest 2026:维护者为十月标记出来的 issue,仍然开放、适合新手。 浏览 Hacktoberfest issue

Serial monitor extension shows blank pane

未关闭
#550 2 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看

还没有人认领这个 Issue。

评估

难度
4/5
预计耗时
3-5 天
新手友好度
30/100
Issue 类型
缺陷
描述清晰度
基本清楚
活跃度
停滞
技术栈
linux, vscode

调研方向

在 VS Code 中复现空白的 Serial Monitor 窗格,然后使用 Developer: Show Logs... 并打开 Serial Monitor Logging 输出。调查 Flathub 软件包中报告的初始化失败 spawn udevadm ENOENT。完成标准是扩展完成初始化并显示正常的监视器窗格,而不是一直空白。

由索引模型根据 Issue 内容生成。

描述

Using this version of VScode, the Serial Monitor extension (ms-vscode.vscode-serial-monitor) shows a blank pane as seen below. Normally it should look like the animation shown on the marketplace.

image

I found these logs by Ctrl+Shift+P then "Developer: Show Logs..." then "Serial Monitor Logging".

2024-10-18T15:39:40.465Z [info] [vscode-serial-monitor] Activating extension
2024-10-18T15:39:43.440Z [debug] [vscode-serial-monitor.monitor] VsCodeHostAdapter [webview -> host]: {"service":"monitorHost","type":"initialize","kind":"request","messageId":0}
2024-10-18T15:39:43.450Z [debug] [vscode-serial-monitor.monitor] VsCodeHostAdapter [webview <- host]: {"service":"monitorHost","type":"initialize","kind":"exception","messageId":0,"payload":{"message":"spawn udevadm ENOENT","stack":"Error: spawn udevadm ENOENT\n\tat ChildProcess._handle.onexit (node:internal/child_process:286:19)\n\tat onErrorNT (node:internal/child_process:484:16)\n\tat process.processTicksAndRejections (node:internal/process/task_queues:82:21)","errno":-2,"code":"ENOENT","syscall":"spawn udevadm","path":"udevadm","spawnargs":["info","-e"]}}
2024-10-18T15:39:43.451Z [error] [vscode-serial-monitor.monitor] Failed to initialize serial monitor view {"message":"spawn udevadm ENOENT","stack":"Error: spawn udevadm ENOENT\n\tat ChildProcess._handle.onexit (node:internal/child_process:286:19)\n\tat onErrorNT (node:internal/child_process:484:16)\n\tat process.processTicksAndRejections (node:internal/process/task_queues:82:21)","errno":-2,"code":"ENOENT","syscall":"spawn udevadm","path":"udevadm","spawnargs":["info","-e"]}
主要语言
Shell
星标
216
派生
82
平均合并
1 天 7 小时
30 天内合并 PR
1

环境准备

我们还没有检查这个项目的环境配置文件。先看它的 README,通用步骤见我们的新手贡献指南。

从这里开始

  1. 先读完整个 Issue,再读项目的贡献指南。
  2. 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
  3. Fork 仓库,在一个分支上完成修改。
  4. 提交 Pull Request,并在描述里引用这个 Issue 编号。

flathub/com.visualstudio.code 的其他 Issue

查看 flathub/com.visualstudio.code 的全部 Issue

相似的 Issue

更多 Shell/Bash Issue

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。