Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Editor crashes when there is any error #2301

Closed
dmccreary opened this issue Jul 15, 2023 · 5 comments
Closed

Editor crashes when there is any error #2301

dmccreary opened this issue Jul 15, 2023 · 5 comments
Labels

Comments

@dmccreary
Copy link

p5.js version

No response

What is your operating system?

Mac OS

Web browser and version

Goole Chrome

Actual Behavior

Screen turns white whenever there is an errorl

Expected Behavior

Error printed on the log file.

Steps to reproduce

Steps:

Put any program with an error.

Snippet:

function setup() {
  createCanvas(400, 400);
  crashTest();
}

function draw() {
  background(220);
}
@dmccreary dmccreary added the Bug label Jul 15, 2023
@welcome
Copy link

welcome bot commented Jul 15, 2023

Welcome! 👋 Thanks for opening your first issue here! And to ensure the community is able to respond to your issue, be sure to follow the issue template if you haven't already.

@wong-justin
Copy link
Contributor

See also #2298 , #2296

@jht9629-nyu
Copy link

jht9629-nyu commented Jul 16, 2023

This is very serious bug. The editor is not usable for writing new code or change old code. Any script error and any edits are lost. Please fix ASAP or roll back to prior release. I have p5 summer course starting July 24 and will not be able to use the editor with this bug. Help!

Bug introduced in v2.7.0 yesterday 07/14.

@raclim
Copy link
Collaborator

raclim commented Jul 16, 2023

Thank you so much for reporting this, I'm really sorry that this issue happened due to an oversight in upgrading the console-feed package 😭 (further details about the issue and its fix in #2298)

I just deployed a new release which seems to resolve this issue for now, but please reopen this issue if it persists!

@raclim raclim closed this as completed Jul 16, 2023
@dmccreary
Copy link
Author

@raclim Thank You!!! It is working perfectly now!! You are awesome!

I am teaching a class that uses ChatGPT to generate simulations:

http://www.coderdojotc.org/chatgpt-for-teachers/demos/p5/

We have about a dozen teachers that are not using p5.js to generate simulations!

http://www.coderdojotc.org/chatgpt-for-teachers/demos/p5/motor.html

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

4 participants