processing / processing/processing4
Python sketches that are not in Examples fail to load in the IDE
Dieses Issue hat noch niemand übernommen.
- Vorherrschende Sprache
- Java
- Sterne
- 494
- Forks
- 183
- Ø Merge
- 4 Std. 39 Min.
- Gemergte PRs (30 T.)
- 3
Beschreibung
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.
Beitragsleitfaden
Erste Schritte
- Lies das ganze Issue und danach den Beitragsleitfaden des Projekts.
- Schreib ins Issue, dass du es übernimmst — das erspart doppelte Arbeit.
- Forke das Repository und arbeite in einem Branch.
- Öffne einen Pull Request, der die Issue-Nummer nennt.
Rechercherichtung
Beginne damit, den Absturz in Processing 4.3 mit Python Mode 4001 unter Linux Mint 21.2 zu reproduzieren, und vergleiche das Laden über Open, Open Recent und Sketchbook mit dem Examples-Dialog. Erledigt ist die Aufgabe, wenn eine außerhalb des Examples-Speicherorts gespeicherte Python-Skizze erfolgreich geladen wird, ohne dass sich die IDE schließt.
Vom Indexierungsmodell aus dem Issue-Text verfasst.
Bewertung
- Tech-Stack
- java, python
- Bereich
- desktop-dev, tooling
- Issue-Typ
- Bug
- Schwierigkeit
- 4/5
- Geschätzter Aufwand
- 3-5 Tage
- Aktivitätsstatus
- Veraltet
- Klarheit
- Größtenteils klar
- Anfängerfreundlichkeit
- 35/100