OneDragon-Anything / OneDragon-Anything/OneDragon-ScriptChainer
悬空 Qt 对象访问
Open
Nobody has claimed this yet.
- Dominant language
- Python
- Stars
- 217
- Forks
- 14
- PR merge metrics
- No merged PRs in 30d
Description
运行launcher.py后,对已有脚本配置编辑后,存在如下错误
Traceback (most recent call last):
File "C:\Users\WinSa\Documents\OneDragon-ScriptChainer\src\one_dragon_qt\widgets\setting_card\expand_setting_card_group.py", line 80, in _update_separators
if card.isVisible():
^^^^^^^^^^^^^^^^
RuntimeError: Internal C++ object (MultiValueDisplayComboBoxSettingCard) already deleted.
commit: b7b55f957e7f29964c549bb25472f3d6c3ceecb4
复现方式:
uv run python src\script_chainer\win_exe\launcher.py- 点击编辑
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Reproduce the failure with src/script_chainer/win_exe/launcher.py by editing an existing script and clicking Cancel. Start in src/one_dragon_qt/widgets/setting_card/expand_setting_card_group.py at _update_separators and trace the lifecycle of MultiValueDisplayComboBoxSettingCard objects; done means cancelling no longer makes _update_separators access a deleted Qt object.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- python
- Domain
- desktop
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Quiet
- Clarity
- Mostly clear
- Newbie friendliness
- 68/100