Hi! Running into some issues with Scratch and Troubleshooting crashing after I updated the software and firmware for our GoBox mission. Tried reinstalling the software from the VNC using the Software Update but not luck. The GoPiGo works fine (as far as I can tell). I can ping through Terminal on my Mac and on the LXTerminal on the VNC.
But for some reason when I open Scratch, the window opens and immediately closes. Same with Testing & Troubleshooting on VNC.
Sorry you’re having this issue. It happens if the Software Update didn’t go through properly. Here’s a way to get it back on its feet.
You have to open a terminal window (look at the top menu bar, there’s an icon that looks like a black screen - that’s the icon for the terminal)
Once it’s opened type in ./update_backup.sh
the leading ./ are necessary
Once you’ve done that, you can attempt the DI Update again.
Thanks for the fast reply. I’m just getting back to this now. I tried typing the command into terminal and it says “No such file or directory”…is there a chance that I’m reading it wrong? I typed it in a couple of different ways:
./update_backup.sh (return) the leading ./ are necessary
./update_backup.sh the leading ./ are necessary
I know that terminal commands have to be precise, so can you tell me how I am not implementing the command properly? Thanks! Gary
Whoops. Strike that last post. I mistakenly went into Terminal on my Mac and not the VNC.
I typed in the command and then reinstalled the update but I am still having the same issue. I can connect wirelessly with the GPG and the terminal commands and software installs seem to work fine. But Scratch crashes on startup.
There was one note in the window while I was working on the terminal that said “xlib extension “RANDR” missing on display “;1.0”,” Could that be the issue? Or do you think that the SD card might be corrupted?
Ok, thank you for your patience. I’m now in front of a real screen instead of a cell phone.
Could you do the following and tell me what you get
Start a terminal window (on the Pi )
type in the following: cd Desktop/GoBox/Scratch_GUI
Type in ls *.py
Type in python Scratch_Start.py
You will either get the Scratch for Robots window, or an error message. If you could get a screenshot of the error message (even if it’s a photo taken with a cell phone), it will help me a lot.
I’m sorry, I think you lost me on that one. I guess I’m not sure I understand how to run the command as is… I typed in the commands and after I entered them, I got the error message and nothing else happened. Is there something I need to do to over ride it?
My apologies.
I was referring to the suggested command in the screenshot you sent here.
sudo dpkg --configure -a
It will allow the Pi to figure out on its own what went wrong and how to fix it.
Once you run that command, you will be able to retry the two commands from before
The second one is fine. We’re trying to remove python-wxgtk3.0 and it says it can’t find it. So that’s fine.
However the first one is supposed to find it.
The uploaded screenshot is pretty small and I have bad eyes, being over 50. I’ve got to squint but it seems you missed a dash in wx2.8-i18n sudo apt-get install python-wxgtk2.8 python-wxtools wx2.8-i18n --force-yes -y
And I’m sorry you’re experiencing this issue. It’s kinda challenging as the commands to be entered have to be very precise with no margin for errors. Worse than Shakespeare.