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

fix blockly version to avoid deprecation #588

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

Syuparn
Copy link

@Syuparn Syuparn commented Mar 2, 2025

This PR fixes the blockly version to fix errors that occur when moving blocks.

Currently, when using containers built by Dockerfile, blocks cannot be selected and an error below is raised.

 Uncaught Error: sCASP generator does not know how to generate code for block type "unattributed_fact".
     at Object.blockToCode (generator.ts:259:13)
     at Object.workspaceToCode (generator.ts:159:23)
     at liveCode (blawx2scasp.js:3:20)
     at WorkspaceSvg$$module$build$src$core$workspace_svg.fireChangeListener (workspace.ts:704:7)
     at fireNow$$module$build$src$core$events$utils (utils.ts:131:49)

This is because installed blockly version is too new to run the block generator functions used in Blawx.

This PR fixes the installed blockly version to use the same version as the current tag of the official Docker image lexpedite/blawx:latest.

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

Successfully merging this pull request may close these issues.

1 participant