-
Notifications
You must be signed in to change notification settings - Fork 3.7k
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
Generators in the advanced playground do not work #6597
Comments
More context in this thread: https://groups.google.com/g/blockly/c/hV-nDzyMU74 |
I believe both of the issues in that group are caused by the same root issue, and each user has tried a different work around that has led to further issues. Here are the steps to reproduce what I believe is the core issue:
Issue 1The codelab says:
This generated two expected results:
Issue 2No toolbox is displayed. Continue steps to reproduce for more troubleshooting steps.
Issue 3Browser displays empty lavender background. I suspect that the var Work around: |
Hey @Hamilton-dfp thanks for sharing your issues with the codelab. The codelab issue is actually separate from the issue Beka is reporting here. You can follow long on the codelab-specific issue here: google/blockly-samples#1376 You can also see my forum post here with another workaround suggestion. https://groups.google.com/g/blockly/c/NfZ4rW7Liyk |
As for the original issue, it happens currently in both compressed and uncompressed mode of the advanced playground. I didn't do a full bisect, but it was happening before the change to remove compiled build products from the repository. I also tried force installing So I don't think this has worked in uncompressed mode for quite a while, and in compressed mode it broke when we changed the generator imports. I'm not sure how to fix this because this is such a non-standard way of loading the code, and the webpacked plugin code is expecting Blockly in a different form than we're giving it. @cpcallen any ideas? |
OK, I've looked into this. Generator loading was broken in compressed mode for all the other playgrounds; that's fixed in #6703. Fixing it for the advanced playground appears to involve figuring out how to untangle the mess that's caused by dev-tools pulling in (and using!) the |
https://blockly-demo.appspot.com/static/tests/playgrounds/advanced_playground.html I hope the php generator will be fixed |
Describe the bug
The generators in the advanced playground are not generating code.
To Reproduce
Steps to reproduce the behavior:
Expected behavior
Generators generate code.
Additional context
N/A
The text was updated successfully, but these errors were encountered: