processing / processing/processing4
Python sketches that are not in Examples fail to load in the IDE
Chưa có ai nhận issue này.
- Ngôn ngữ chính
- Java
- Star
- 494
- Fork
- 183
- Merge trung bình
- 4 giờ 39 phút
- Pull request đã merge (30 ngày)
- 3
Mô tả
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.
Hướng dẫn đóng góp
Bắt đầu từ đâu
- Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
- 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.
- Fork repository và làm thay đổi trên một nhánh.
- Mở pull request có tham chiếu số hiệu của issue.
Hướng nghiên cứu
Bắt đầu bằng cách tái hiện lỗi crash trong Processing 4.3 với Python Mode 4001 trên Linux Mint 21.2, so sánh việc tải bằng Open, Open Recent và Sketchbook với việc tải qua hộp thoại Examples. Hoàn thành khi một sketch Python được lưu bên ngoài vị trí Examples tải thành công mà IDE không bị đóng.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Đánh giá
- Công nghệ
- java, python
- Lĩnh vực
- desktop-dev, tooling
- Loại issue
- Lỗi
- Độ khó
- 4/5
- Thời gian dự kiến
- 3-5 ngày
- Mức độ hoạt động
- Đình trệ
- Độ rõ ràng
- Khá rõ ràng
- Mức phù hợp với người mới
- 35/100