Hacktoberfest 2026: những issue maintainer đã đánh dấu cho tháng Mười, đang mở và phù hợp người mới. Xem issue Hacktoberfest

Hamilton VSCode extension 0.1.2 fails to detect installed LSP in Positron; dataflow graph never appears

Đang mở
#1,677 0 bình luận 0 reaction 0 người được giao Xem trên GitHub

Maintainer thường phản hồi trong vòng 2 ngày

Chưa có ai nhận issue này.

Đánh giá

Độ khó
4/5
Thời gian dự kiến
3-5 ngày
Mức phù hợp với người mới
52/100
Loại issue
Lỗi
Độ rõ ràng
Khá rõ ràng
Mức độ hoạt động
Ít trao đổi
Công nghệ
python, vscode
Lĩnh vực
devtools

Hướng nghiên cứu

Tái hiện lỗi trong Positron trên Windows với .venv của dự án và sf-hamilton-lsp 0.2.0 đã được cài đặt, sau đó kiểm tra các nhật ký kích hoạt của Hamilton VSCode extension xung quanh TypeError được báo cáo trong out/extension.js. Xác nhận rằng extension phát hiện hamilton-lsp.exe và kết xuất biểu đồ luồng dữ liệu mà không xuất hiện các thông báo cài đặt lặp lại.

Do mô hình lập chỉ mục viết ra từ nội dung của issue.

Mô tả

bug lsp vscode

Expected behavior

The Hamilton extension should detect the installed language server and render the Hamilton dataflow graph.

Actual

A notification popup repeatedly reports that the language server needs to be installed.

The Hamilton dataflow graph never appears.

The extension activates, but the graph view remains unavailable.

Library & System Information

OS: Windows 11
IDE: Positron
Extension: DAGWorks.hamilton-vsc 0.1.2
Python: CPython 3.14.3
Environment manager: uv
Project path contains spaces:
C:\Users<user>\OneDrive - Camden\workspace\PyDev v01...

LSP:
sf-hamilton-lsp 0.2.0
apache-hamilton-lsp (installed as dependency)

Installed the extension via VSIX/Marketplace.

Additional context

Confirmed Positron is using the intended .venv interpreter.

uv run python -c "import hamilton_lsp; print(hamilton_lsp.__file__)"

returns:

C:\...\site-packages\hamilton_lsp\__init__.py

also

uv pip show sf-hamilton-lsp

returns:

Name: sf-hamilton-lsp
Version: 0.2.0
Location: <project>\.venv\Lib\site-packages

and

Get-ChildItem .\.venv\Scripts\*hamilton*

shows:

hamilton-lsp.exe

Found in the log:

TypeError: Cannot read properties of undefined (reading 'forEach')

at Object.PR (...\dagworks.hamilton-vsc-0.1.2\out\extension.js)

The extension appears to activate, but the graph never renders.

ExtensionService#_doActivateExtension DAGWorks.hamilton-vsc,
activationEvent: 'onView:hamilton.dataflowWebview'

The issue occurs despite:

  • hamilton_lsp being importable
  • hamilton-lsp.exe existing in .venv\Scripts
  • Positron using the same interpreter where the LSP is installed
Ngôn ngữ chính
Jupyter Notebook
Star
2.6k
Fork
218
Merge trung bình
2 ngày 1 phút
Pull request đã merge (30 ngày)
17

Chuẩn bị môi trường

Bắt đầu từ đâu

  1. Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
  2. Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
  3. Fork repository và làm thay đổi trên một nhánh.
  4. Mở pull request có tham chiếu số hiệu của issue.

Issue khác của apache/hamilton

Tất cả issue của apache/hamilton

Issue tương tự

Thêm issue về DevTools

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.