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

Spike Prime: Bugs in program and configuration blocks #1535

Closed
RaghuvirShirodkar opened this issue Jul 20, 2023 · 1 comment
Closed

Spike Prime: Bugs in program and configuration blocks #1535

RaghuvirShirodkar opened this issue Jul 20, 2023 · 1 comment
Assignees
Labels
bug Something isn't working frontend

Comments

@RaghuvirShirodkar
Copy link
Member

Describe the bug
The Spike Prime plugin on lab.open-roberta.org has a couple of bugs:

  1. In the Configuration tab, the block gyroscope can be deleted, which should not be allowed, since it is an inbuilt sensor.
  2. In the Program tab, using the block show animation LED matrix leads to a UI error, since the program simply vanishes!

To Reproduce
Steps to reproduce the behavior:

  1. Go to lab.open-roberta.org.
  2. Select robot Spike Prime / Robot Inventor.
  • For bug 1 listed above:
    1. Go to the Configuration tab.
    2. Click on block gyroscope, then delete key, OR right click on block gyroscope, then Delete Block.
    3. The block is deleted.
  • For bug 2 listed above:
    1. Go to the Program tab.
    2. Click on category Action, then select block show image LED matrix and connect it to the start block.
    3. Click on the dropdown in the block and select animation.
    4. Add a variable of type List Image with name item.
    5. Click on category Variables, then select block item and connect it to the show animation LED matrix block.
    6. Click on Open/close the source code view..
    7. See the error.

Expected behavior

  • For bug 1 listed above:
    The block gyroscope should not be deleted, rather the option to delete it should be disabled, as is the case with other inbuilt components.
  • For bug 2 listed above:
    The usage of show animation LED matrix block should not lead to UI errors.

Screenshots

  • For bug 1 listed above:

    1. Option to delete gyroscope block
      Option to delete gyroscope block
    2. Deleted gyroscope block:
      Deleted gyroscope block
  • For bug 2 listed above:

    1. Program before showing source code:
      Program before showing source code
    2. Program after showing source code:
      Program after showing source code

Device information

  • Type: Desktop
  • OS: Ubuntu 20.04
  • Browser: Firefox v115.0

Additional context
Error log retrieved from logging (for bug 2 listed above):

[[ERR ]] 26 msec: show source code of program 'NEPOprog', then in function successFnWrapper EXCEPTION: Connection checks failed. in function successFnWrapper with stacktrace: wrap@https://lab.open-roberta.org/js/helper/wrap.js:47:27 rest@https://lab.open-roberta.org/js/helper/wrap.js:122:20 u@https://lab.open-roberta.org/js/libs/jquery/jquery-3.3.1.min.js:2:27457 fireWith@https://lab.open-roberta.org/js/libs/jquery/jquery-3.3.1.min.js:2:28202 k@https://lab.open-roberta.org/js/libs/jquery/jquery-3.3.1.min.js:2:77651 send/n/<@https://lab.open-roberta.org/js/libs/jquery/jquery-3.3.1.min.js:2:79907 
@RaghuvirShirodkar RaghuvirShirodkar added bug Something isn't working frontend labels Jul 20, 2023
@bjost2s bjost2s self-assigned this Mar 1, 2024
bjost2s pushed a commit to OpenRoberta/blockly that referenced this issue Mar 1, 2024
@bjost2s
Copy link
Contributor

bjost2s commented Mar 5, 2024

tested

@bjost2s bjost2s closed this as completed Mar 5, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working frontend
Projects
No open projects
Status: Done
Development

No branches or pull requests

2 participants