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

"Command Responder": Copied JavaScript code from instruction cannot convert to python #5698

Closed
v-katherine opened this issue May 28, 2024 · 1 comment

Comments

@v-katherine
Copy link

Describe the bug
"Command Responder": Copied JavaScript code from instruction that cannot convert to python

Steps to reproduce the behavior
1.Navigate to https://makecode.microbit.org/beta
2.Block to JavaScript->Command Responder->Show Instructions.
3.Copy JavaScript Code above 'Try it!'.
4. Paste the code into workspace and switch to Python.

Actual behavior
Pops up error 'We are unable to convert your code to Python'.

Expect behavior
Successfully switch to Python editor

Screen Recording:
revert

Additional context
1.OS: Windows 11 Enterprise
2.Browser: Edge
3.makecode.microbit,org version: 7.0.12
4.Microsoft MakeCode version: 10.0.23

@abchatra
Copy link
Contributor

This is expected. We don't have 1-1 parity with python and javascript. Sometimes we won't be able to convert to. This is one such exmaple.

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

No branches or pull requests

2 participants