Skip to content
New issue

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

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

Already on GitHub? # to your account

When there are exceptions, fail to close the applets #143

Closed
gaocegege opened this issue Jul 6, 2017 · 7 comments
Closed

When there are exceptions, fail to close the applets #143

gaocegege opened this issue Jul 6, 2017 · 7 comments

Comments

@gaocegege
Copy link
Member

gaocegege commented Jul 6, 2017

Python mode has the same bug

ref https://vimeo.com/224415544

image

@jdf

@jdf
Copy link

jdf commented Jul 6, 2017

Does not reproduce for me. When I run that sketch, the single letter r, I get that same error, but no sketch window appears (as expected).

@jeremydouglass
Copy link
Member

This doesn't reproduce for me with the test r sketch using the latest master of Processing.R and running on PDE 3.3.5 / macOS 10.12.5.

Instead I get the following console error:

object 'r' not found
at rprocessing.exception.RSketchError.toSketchException(Unknown Source)
at rprocessing.RLangPApplet.setup(Unknown Source)
at processing.core.PApplet.handleDraw(PApplet.java:2412)
at rprocessing.RLangPApplet.handleDraw(Unknown Source)
at processing.awt.PSurfaceAWT$12.callDraw(PSurfaceAWT.java:1547)
at processing.core.PSurfaceNone$AnimationThread.run(PSurfaceNone.java:316)

@gaocegege
Copy link
Member Author

The first time I run the code, everything works well, but it fails at the second time.

@jeremydouglass
Copy link
Member

Strange. No matter how many times I press "run" it always generates the same error message -- no floating window left behind, even if I click "run" as fast as I can.

Might be a Linux-specific issue (I'm testing on Mac) -- or a race condition?

Some possibly related types of issues in Processing:

@gaocegege
Copy link
Member Author

gaocegege commented Jul 23, 2017

Yeah, I think it is a linux-specific issue.

@jeremydouglass
Copy link
Member

@gaocegege -- does this issue still exist on Linux in the current release?

If not let's close (can't-reproduce), and re-open if we get a confirming report. If it does, add to Someday.

@gaocegege
Copy link
Member Author

No, I could not reproduce it. I will close it.

@gaocegege gaocegege modified the milestone: v1.0.6 Sep 1, 2017
# for free to join this conversation on GitHub. Already have an account? # to comment
Projects
None yet
Development

No branches or pull requests

3 participants