Hacktoberfest 2026:維護者為十月標記出來的 issue,仍然開放、適合新手。 瀏覽 Hacktoberfest issue

Incorrect Visordash use in documentation

未關閉 適合新手
#174 0 則留言 0 個 reaction 已指派 1 人 在 GitHub 檢視

維護者通常 8 天內回覆

@ansBAkula 已經在處理了。

開始於 2026年10月16日。

評估

難度
1/5
預估耗時
1 小時以內
新手友好度
85/100
Issue 類型
文件
描述清晰度
描述清楚
活躍度
活躍
技術堆疊
python
領域
documentation

研究方向

錯誤示例位於使用者指南頁面 'Use the VISOR Dash component' 的 'Launching VISOR' 部分,它將 label 和 value 傳給了 Visordash。在文件原始碼中找到這段程式片段,並與錯誤訊息中列出的可接受參數進行比較:aspectRatio, basePath, darkMode, fireSnapshot, host, id, parts, pixelDensity, port。當範例只使用可接受的參數,且第 3 步中的 Dash 應用程式執行時不出現 TypeError,即為完成。

由索引模型根據 Issue 內容生成。

描述

🐞 Description of the bug

In the User Guide explaining how to use the VISOR Dash component, the arguments of Visordash lead to a bug.

The exemple is as follows :

td = Visordash(
    id="input",
    value="my-value",
    label="my-label",
    host="localhost",
    port=VISOR_PORT,
)

However, the list of accepted arguments according to the error message is :

aspectRatio
basePath
darkMode
fireSnaphot
host
id
parts
pixelDensity
port

label and value are not valid. The documentation requires an update to understand better what arguments won't lead to a fail at run time.

📝 Steps to reproduce
TypeError: The `visordash.Visordash` component (version 0.0.1) with the ID "input" received an unexpected keyword argument: `label`
Allowed arguments: aspectRatio, basePath, darkMode, fireSnapshot, host, id, parts, pixelDensity, port
📦 Installed packages and configuration

OS : Windows 11

VISOR 1.0.1

🚦 Defines the severity of the bug. In the case of class-3, specific information must be added.

Class 2 - Serious problem

📦 Support ticket ID

No response

🐞 Found in

No response

🩹 Fixed in

No response

Root cause

User Guide documentation leads to the issue.

Third Party
  • This bug is introduced by a third party
Released Bug
  • This bug is in a released product
主要語言
Python
星號
3
分支
1
平均合併
7 天 11 小時
30 天內合併 PR
16

環境準備

  • 沒有 Dockerfile 或 Docker Compose 檔案
  • 沒有 Pull Request 範本
  • 閱讀貢獻指南

從這裡開始

  1. 先讀完整個 Issue,再讀專案的貢獻指南。
  2. 在 Issue 下留言說明你要接手 —— 這能避免兩個人做同樣的事。
  3. Fork 儲存庫,在一個分支上完成修改。
  4. 送出 Pull Request,並在描述裡引用這個 Issue 編號。

ansys/Visual-Interactive-Simulation-Object-Renderer 的其他 Issue

查看 ansys/Visual-Interactive-Simulation-Object-Renderer 的全部 Issue

相似的 Issue

更多 Python Issue

把新 issue 寄到你的電子郵件信箱

精選適合新手參與的 GitHub issue 摘要。