p5.js-editor icon indicating copy to clipboard operation
p5.js-editor copied to clipboard

Run (play button) loads wrong project.

Open nextest opened this issue 9 years ago • 11 comments

I press the play button for a project (called "Second", index file title:"NotTitled"), but it loads an old project(called "new") usually without the old project running. Have yet to figure out the exact conditions when this happens. Clicking the Index file i've saved on my harddrive will load the correct project. Here is a screen shot, I've pressed the play button for "Second, but the browser that popped us is "new". screen shot 2015-07-27 at 15 32 22

nextest avatar Jul 27 '15 19:07 nextest

Thanks - I thought we had fixed this issue. Just to make sure - are you running the most recent version of the editor?

antiboredom avatar Jul 27 '15 19:07 antiboredom

It seems like i'm running the 0.3.2 version of the editor. I also downloaded all the "complete library".

thanks. ap

On Mon, Jul 27, 2015 at 3:47 PM, Sam Lavigne [email protected] wrote:

Thanks - I thought we had fixed this issue. Just to make sure - are you running the most recent version of the editor?

— Reply to this email directly or view it on GitHub https://github.com/processing/p5.js-editor/issues/112#issuecomment-125323798 .

Liberté, Egalité, Fraternité ap

nextest avatar Jul 28 '15 13:07 nextest

Thanks I'll take a look!

antiboredom avatar Jul 28 '15 16:07 antiboredom

Still having some issues with this on 0.5.0. I think it has to do with when there's errors in the code, hitting play runs the last functional sketch, sometimes after removing or fixing the errors, hitting play will still run the old version. Temp solution I've found is to save your updated sketch, and restart the editor.

alex-carlson avatar Sep 01 '15 21:09 alex-carlson

@acarlson237 thanks - I was having trouble duplicating the issue.

antiboredom avatar Sep 01 '15 23:09 antiboredom

@acarlson237 actually I'm still unable to duplicate. There was a previous issue where sketches weren't loading properly after first saving them (or after "saving as"), and I'm wondering if this might be related. Have you by any chance noticed the problem after saving projects for the first time?

antiboredom avatar Sep 01 '15 23:09 antiboredom

I"m having the issue right now. have closed and opened the ediotor several times. I'm still getting an error at line 17. I"m in a new document with only 7 lines.[image: Inline image 1]

On Tue, Sep 1, 2015 at 7:56 PM, Sam Lavigne [email protected] wrote:

@acarlson237 https://github.com/acarlson237 actually I'm still unable to duplicate. There was a previous issue where sketches weren't loading properly after first saving them (or after "saving as"), and I'm wondering if this might be related. Have you by any chance noticed the problem after saving projects for the first time?

— Reply to this email directly or view it on GitHub https://github.com/processing/p5.js-editor/issues/112#issuecomment-136895780 .

Liberté, Egalité, Fraternité ap

nextest avatar Sep 09 '15 17:09 nextest

@nextest can you resend that screenshot? It's not coming through for me.

antiboredom avatar Sep 09 '15 17:09 antiboredom

I'm having the same issue. Newest version of the software.

studiojmg avatar Sep 19 '15 17:09 studiojmg

It does have something to do with errors but I think also renaming files. Le 19 sept. 2015 13:02, "Jasotasticon" [email protected] a écrit :

I'm having the same issue. Newest version of the software.

— Reply to this email directly or view it on GitHub https://github.com/processing/p5.js-editor/issues/112#issuecomment-141687979 .

nextest avatar Sep 19 '15 18:09 nextest

Hi @antiboredom!

I am having the same issue. Running p5 Version 0.6.2 (0.6.2). Here is a screenshot: I am working on 02_Walker_Acceleration.

When I click on the play buttonimage. A new browser window opens.

Originally it opened an old project, in this case Session 2 Drag Force. image When I use the "reload this page", a new blank browser is seen, with session 1 on the tab: image

Since hitting the reload, now when I click on the play button, from within any project, I get the blank browser screen, at image

The only way I can open and see a project is directly from the project folder: image Seems to work when running directly from my file, but does not work when trying to access from local host.

Let me know how I can give you better data. Is there a way to print some kind of log?

Cheers,

Juan Carlos

juancarlucci avatar Dec 14 '16 21:12 juancarlucci