processing / processing/processing4
Python sketches that are not in Examples fail to load in the IDE
Personne n'a encore pris cette issue.
- Langage dominant
- Java
- Étoiles
- 494
- Forks
- 183
- Merge moyen
- 4 h 39 min
- PR mergées (30 j)
- 3
Description
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.
Guide de contribution
Ouvrir le guide de contribution
Par où commencer
- Lisez l'issue en entier, puis le guide de contribution du projet.
- Signalez en commentaire que vous la prenez — cela évite que deux personnes fassent le même travail.
- Forkez le dépôt et travaillez sur une branche.
- Ouvrez une pull request qui référence le numéro de l'issue.
Piste de recherche
Commencez par reproduire le plantage dans Processing 4.3 avec Python Mode 4001 sous Linux Mint 21.2, en comparant le chargement via Open, Open Recent et Sketchbook avec la boîte de dialogue Examples. C'est terminé lorsqu'une esquisse Python enregistrée en dehors de l'emplacement Examples se charge correctement sans que l'IDE se ferme.
Rédigé par le modèle d'indexation à partir du texte de l'issue.
Évaluation
- Stack technique
- java, python
- Domaine
- desktop-dev, tooling
- Type d'issue
- Bug
- Difficulté
- 4/5
- Temps estimé
- 3-5 jours
- Activité
- À l'abandon
- Clarté
- Plutôt claire
- Accessibilité débutants
- 35/100