processing / processing/processing4
Python sketches that are not in Examples fail to load in the IDE
还没有人认领这个 Issue。
- 主要语言
- Java
- 星标
- 494
- 派生
- 183
- 平均合并
- 4 小时 39 分钟
- 30 天内合并 PR
- 3
描述
In GitLab by @Zishan-Rahman on Oct 8, 2023, 15:34
Description
Whenever I try to load a Processing sketch in Python, other than an example sketch via the "Examples" selection dialog, the IDE crashes and closes by itself. I tried opening the sketch via "Open Recent", "Open" and even the "Sketchbook" selection dialog, but still the sketch fails to load. Java mode does not have this issue.
Expected Behavior
The Python sketch should load without further issues, just as a Java sketch would (and does).
Current Behavior
When I try to load the sketch, I get this error:
Steps to Reproduce
- Install Python Mode for Processing 4 via Contribution Manager (version 4001)
- Load a sketch via the aforementioned methods (any method other than the "Examples" dialog). I usually load an example sketch, save it in a different folder (using "Save As", of course), then close the IDE and try to open the same sketch from its new location.
- Wait for the error message to show up.
Your Environment
- Processing version: 4.3
- Operating System and OS version: Linux Mint 21.2
- Other information: Python Mode for Processing 4 version 4001
Possible Causes / Solutions
Hopefully it's just a fixable bug in file handling somewhere. I don't know for sure yet, though.
贡献指南
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
调研方向
首先,在 Linux Mint 21.2 上使用 Python Mode 4001 复现 Processing 4.3 中的崩溃,并将通过 Open、Open Recent 和 Sketchbook 加载与通过 Examples 对话框加载进行比较。完成标准是:保存在 Examples 位置之外的 Python sketch 能够成功加载,且 IDE 不会关闭。
由索引模型根据 Issue 内容生成。
评估
- 技术栈
- java, python
- 领域
- desktop-dev, tooling
- Issue 类型
- 缺陷
- 难度
- 4/5
- 预计耗时
- 3-5 天
- 活跃度
- 停滞
- 描述清晰度
- 基本清楚
- 新手友好度
- 35/100