-
Notifications
You must be signed in to change notification settings - Fork 146
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
error with example #429
Comments
FireFox Version: 60.0.2 (64-bit) |
Runs fine in chromium 66. |
Here is the log. |
I think I see what is going on. It seems to be related to the auto launch of the status matrix. |
Yes the execution of the program begins with start block but somewhere in between the status matrix is launched which stops the running code in turtle blocks and shows the error "Cannot read property 'init' of null" in the console log when we run again. To correct this, I think we have to make the order of execution such that first the status block part of the code executes before the start block part of code. |
Could you please test again? I made sure that the widget is created before trying to initialize it. |
sometimes it runs fine, occasionally it is giving an error. I am not able to figure out exactly why. |
Can you please post the console.log file for when it doesn't work? |
[1] when the project is working |
What version of Turtle are you using? (I ask because the line numbers reported in the console output don't match any version I have and it seems that they are from a version that does not have my patch to fix this bug). |
|
I cannot reproduce this bug on Chromium (67.0.3396.79). What version of Chrome are you using? I assume you are using turtle.sugarlabs.org? |
Version 68.0.3440.106 (Official Build) (64-bit) |
The following example is running perfectly in firefox but it is not running in chrome
https://turtle.sugarlabs.org/index.html?id=1528262976123644&run=True
It is showing in the console log:-
The text was updated successfully, but these errors were encountered: