Has anyone encountered an error where the students’ code will run perfectly in TEXT mode, but when switched to BLOCK mode, code will not run?
Here is what I have done or instructed the kids to do in order to troubleshoot:
Refresh page (sometimes works)
** Peer review for debugging (2 or more reviews)*
** Examining it myself with solution code/examining problem proposed*
** Copy/paste code in to a blank project page just to see if it responds the same.*
I’m sure each case is unique, but I wanted to know if anyone experienced this same issue and if it’s merely a refresh rate issue with the appLab. Thanks! =)
I have not experienced that, but it sounds like something that needs a “bug request”. You can submit those in the top right hand corner. Does that happen a lot to you?
APCSP AppLab Create Task, Unit 8.
Was this ever resolved? I have a student with a similar problem. Student’s code works in text mode, but when try to switch to block mode it won’t saying there is an error, although there are no red boxes or any indication of where the error is. I copied her code into my AppLab and it converted to block mode fine. She has
-refreshed
-cleared cache
-restarted her computer
still same problem
The original reply said needs a “bug request”. You can submit those in the top right hand corner.
There is no bug request option in my code.org workspace where this code is - is that because I have 'Remix’d the student’s code? thanks in advance for your help!
When I try to switch to blocks it tells me “You need to correct an error in your program before it can be shown as blocks.” That usually means something that was typed cannot be parsed by the blocks parser.
I am not saying anything is mistyped. I am saying it cannot be parsed by the blocks software. When I cut and paste it still tells me it cannot be changed to blocks.
Oh, those crazy Apple guys! Always the practical jokers.
It looks like at some point you opened it up with an editor that didn’t understand proper etiquette relative to line terminators. I used VIM to fix that.
Unfortunately, I went through it and formatted it a bit differently before I figured out it was the line terminators. Anyway, start here and continue.
I believe they said there were extraneous characters at the end of one or more lines (like carriage return characters) possibly from the student copying/pasting from somewhere else. They were able delete them.