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

Can't edit parameters (sometimes, undertermined) #468

Open
edugimeno opened this issue Apr 8, 2021 · 18 comments
Open

Can't edit parameters (sometimes, undertermined) #468

edugimeno opened this issue Apr 8, 2021 · 18 comments

Comments

@edugimeno
Copy link

Im using the online server.
Quite often, I can't tell when, suddenly the box parameters can't be edited. Like if I drag a "Rotate right" box to the screen with a parameter of "90" (degrees), quite often I will no longer be able to open and edit these 90 degrees box. When it happens, none of the parameters (forward X, backward X, left X...) would be editable again

Sometime, a full page refresh (F5) has helped, but some other times nothing has helped.

At times it happens randomly, letting you working for 20 minutes, and then suddenly it stops working.

Everything else work, like I can still drag blocks, add new ones, run or save my project, but parameter editing is stuck.,

This is happening on Chrome, I tried on IE but the initial startup screen would never finish loading...

Thanks

@edugimeno edugimeno changed the title Can't edit marameters (sometimes, undertermined) Can't edit parameters (sometimes, undertermined) Apr 8, 2021
@walterbender
Copy link
Member

TurtleBlocksJS is a bit behind in its updates. Can you reproduce the same problem in Music Blocks?

@edugimeno
Copy link
Author

TurtleBlocksJS is a bit behind in its updates. Can you reproduce the same problem in Music Blocks?

Thanks, I realized after my comment that the Issues is completly outdated since like 2 years ago. I have been using this tool for my IT classes with mi kids so they learn some basic programming (and "sort-of" graphical programing) while they use a Scratch-like interface. This issue didn't happen last years but it suddenly started to happen last week when we got to this section

I have just tried music blocks myself, which I had never used before, and I see that it contains most of the turtle and workflow commands from the turtle plus the music statements, but I can't see how to share a project, so my pupils can send their work to me to be checked, as with Turtles JS I told them to use the Share Project (using download pulls a .html file that I can't find how to open to see the commands, just show the result)

I will keep trying, thanks for your reply!

@walterbender
Copy link
Member

The Turtle code should be embedded in the HTML.
And sharing on the Planet should be working.

@edugimeno
Copy link
Author

How do I access the code in the HTML? When I open an HTML page generated by "Save Project as HTML", all I get is like a preview of the generated shape and some fixed text, I can't see how to take a look at the code that generated that shape, what am I missing?

LINK OF TEST HTML RESULT

Thanks in advance!

@walterbender
Copy link
Member

What happens when you click on the show button?

Screenshot from 2021-04-12 11-26-25

@walterbender
Copy link
Member

You should be able to copy/paste that code right into Music Blocks.

@walterbender
Copy link
Member

or just drag and drop the HTML file into Music Blocks as well.

@edugimeno
Copy link
Author

edugimeno commented Apr 12, 2021

Upps ...wow... Well never expected this behaviour. Ok, if I drag the html code into a blank turtles screen, I do get the commands. I didn't know that this worked like this.

This should suffice to me for now formy students to properly turn their homework in

However if I copy the code under "show" (eg: [[0,["start",{"id":1618172972157,"collapsed":false,..........) into a blank turtles page, I get what looks like the correct blocks for the first time, but if I remove the blocks and paste them again, I get an "Could not parse JSON input". I don't really mind, first option (html dragging onto screen) works great for me.

But I still experience the inability to edit parameters from time to time. This does not happen at home but does happen quite often to my students while at school, I guess that going thru a firewalled and slow network connection could be related too.

Thanks a lot for your time!

@walterbender
Copy link
Member

But I still experience the inability to edit parameters from time to time.

Probably a bug. What browser are they using?

@edugimeno
Copy link
Author

Chrome. I also tried with IE but the initial colour changing turtle (splash screeen) never finished so we're stuck with Chrome

@walterbender
Copy link
Member

IE was never supported but Edge should work (although I don't have any windows machines so it is not well tested.) But Chrome should work reasonably well. Next time it happens, it would great if you could ask the student to go to the console (Ctrl-Shift-J) and copy the log.

@edugimeno
Copy link
Author

Ok I didn't know about that logging console functionality but I will keep it in mind tomorrow when I have class with them,
We don't have Edge as these computers are all using W7
I talked to the IT guy today and he said all the computers have Windows, Chrome and Java updates automatically pushed by policies so it should all be up to date
He explicitly added sugarlabs.org to the whitelist in the firewall so will see tomorrow.

I will keep you posted, many thanks again

@walterbender
Copy link
Member

W7 suggests that the version of Chrome is prob. pretty old... and that version of IE is definitely not going to work :(

@edugimeno
Copy link
Author

Yes I see, the weird thing is that these issues appear and dissapear out of the blue, for 80% of the student it all works fine 100% of the time. Some of them suddenly experience this, then they hit F5 que 50% of the times it helps, 50% it does not. Sometimes they reboot and it gets fixed, sometimes it doesn't. Sometimes they just leave it sitting for a while and starts working again....
Hopefully it happens again tomorrow and I can bring the console and see what's failing

@edugimeno
Copy link
Author

Ok, I tried yesterday and today in our class. Not very good. Log console did work on my computer, but for some reason, it's not working on the students computers, just not doing anything when I press Ctrl-Shift-J. Maybe related to different user role in Windows?
Also I wanted to see if it makes any difference under "incognito- private browsing" under Chrome but for unknow reasons this option was not in these Chrome browsers, again maybe windows role related (regular user?)
ALso like last time, turtle blocks were randomly stopping responding to parameter editting attemps, and sometimes randomly getting back to doing it right again. We tried Music Blocks but same issue was experienced on this App too

@walterbender
Copy link
Member

Thanks for trying. Sounds like you'd need the IT team to help with the Windows/Chrome issues. But maybe if the problem occurs on your computer you could grab the log for me? (and maybe a screenshot?)

@edugimeno
Copy link
Author

Yes I can try, it did happen on my "teacher" computer once, when I was projecting my screen to my students as an introductory class for this section, but I didn't know about the logging funcion at that time. It didn't happen again on mine.
About screeenshot I can take it but it won't help as you will only see a normal screen with my cursor no the parameter block. I can take a short video, basically the effect is that when for example you drag a "right 90" block to the screen, and then click into the 90 so you can change it to 180, you should get a pop-up window where you can either edit the value, or use the up/down controls to modify it. In this issue no matter how many times I click/double click on the "90", nothing changes and there's no way to edit this value. Same with other editable numeric/variables boxes from that moment on.

@walterbender
Copy link
Member

I will try to reproduce the error locally.

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