English: Hello, how can I reset joy-pi username for the joy-pi learning software. And even better.... how can I skip having to log in to the learning software. Thanks for your time.
German: (google translate) Hallo, wie kann ich den Joy-Pi-Benutzernamen für die Joy-Pi-Lernsoftware zurücksetzen? Und noch besser: Wie kann ich mir die Anmeldung bei der Lernsoftware ersparen? Vielen Dank für Ihre Zeit.
Nach der Verwendung des dritten Befehls (./Joy ...) erhalte ich eine Meldung, die ich vorher bei der ersten Installation nicht erhalten habe:.Joy-Pi-install.sh: Zeile1: Syntaxfehler in der Nähe des unerwarteten Tokens „newline“.Joy-Pi-install.sh: line1: ''
Daher wird auch eine Neuinstallation zum Problem
Grüße Regards Pete_r61
Pete_r61
28.01.24 12:02
Hello Pete,
at the moment, there is no way to skip the login or reset your username. But of course you can always create a new account with the username you want. 🙂
Are you sure you typed the commands correctly? The commands do work fine and causes no problems on my test. There should be no need to reinstall your SD card. You might have to uninstall the Joy-Pi Software before updating (with the Add / Remove Software tool from the main menu of the Raspberry OS) but the script should still work without any problems.
Best regards, Jens
Jens
29.01.24 08:43
Hello Jens, Well, the problem is we bought 15 of these devices, and I tested 3 of them, all giving the same strange problem. So, there must be something systematically wrong. But I just can't figure out what it might be. I entered the 3 command lines correctly. The first two responded as expected, but only the third one (./Joy...) gave that strange error, which, by the way, didn't show up during the first installation. But now, I am going to try your suggestion to remove the software as you indicated. And try reinstall next. One step at a time. :-)
Regads
Pete
Pete_r61
29.01.24 18:04
Hello Pete,
that is very strange.
Could you maybe upload the Joy-Pi-install.sh file from your device showing that error (it should be located at /home/pi) and send it here?
I will take a look at it and maybe find out whats going wrong. 🙂
sudo touch $GTK2_CONFIG sudo chmod 777 $GTK2_CONFIG sudo cat <$GTK2_CONFIG # DO NOT EDIT! This file will be overwritten by LXAppearance. # Any customization should be done in ~/.gtkrc-2.0.mine instead.
#while true; do # read -p "Do you want to apply the custom Joy-IT theme? [Y/n]: " yn # case $yn in # [Yy]* ) installTheme; break;; # [Nn]* ) break;; # * ) echo "Please answer yes or no.";; # esac #done
while true; do echo "#######################################################" echo "" read -p "Do you want to apply the custom Joy-IT wallpaper? [Y/n]: " yn case $yn in [Yy]* ) installWallpaper; break;; [Nn]* ) break;; * ) echo "Please answer yes or no.";; esac done
while true; do echo "#######################################################" echo "" read -p "Do you want to create a desktop shortcut? [Y/n]: " yn case $yn in [Yy]* ) createDesktopShortcut; break;; [Nn]* ) break;; * ) echo "Please answer yes or no.";; esac done
if [ $SPIstate = 1 ]; then while true; do echo "#######################################################" echo "" read -p "SPI is required for your Joy-Pi but currently not enabled. Do you want to activate SPI? [Y/n]: " yn case $yn in [Yy]* ) sudo raspi-config nonint do_spi 0; break;; [Nn]* ) break;; * ) echo "Please answer yes or no.";; esac done fi
if [ $I2Cstate = 1 ]; then while true; do echo "#######################################################" echo "" read -p "I2C is required for your Joy-Pi but currently not enabled. Do you want to activate I2C? [Y/n]: " yn case $yn in [Yy]* ) sudo raspi-config nonint do_i2c 0; break;; [Nn]* ) break;; * ) echo "Please answer yes or no.";; esac done fi
while true; do echo "#######################################################" echo "" read -p "Software successfully installed. You should now restart your device. Do you want to restart? [Y/n]" yn case $yn in [Yy]* ) sudo reboot now; break;; [Nn]* ) break;; * ) echo "Please answer yes or no.";; esac done
echo "" echo "" sleep 1 echo "You can now start the Joy-Pi software."
sudo touch $GTK2_CONFIG sudo chmod 777 $GTK2_CONFIG sudo cat <$GTK2_CONFIG # DO NOT EDIT! This file will be overwritten by LXAppearance. # Any customization should be done in ~/.gtkrc-2.0.mine instead.
#while true; do # read -p "Do you want to apply the custom Joy-IT theme? [Y/n]: " yn # case $yn in # [Yy]* ) installTheme; break;; # [Nn]* ) break;; # * ) echo "Please answer yes or no.";; # esac #done
while true; do echo "#######################################################" echo "" read -p "Do you want to apply the custom Joy-IT wallpaper? [Y/n]: " yn case $yn in [Yy]* ) installWallpaper; break;; [Nn]* ) break;; * ) echo "Please answer yes or no.";; esac done
while true; do echo "#######################################################" echo "" read -p "Do you want to create a desktop shortcut? [Y/n]: " yn case $yn in [Yy]* ) createDesktopShortcut; break;; [Nn]* ) break;; * ) echo "Please answer yes or no.";; esac done
if [ $SPIstate = 1 ]; then while true; do echo "#######################################################" echo "" read -p "SPI is required for your Joy-Pi but currently not enabled. Do you want to activate SPI? [Y/n]: " yn case $yn in [Yy]* ) sudo raspi-config nonint do_spi 0; break;; [Nn]* ) break;; * ) echo "Please answer yes or no.";; esac done fi
if [ $I2Cstate = 1 ]; then while true; do echo "#######################################################" echo "" read -p "I2C is required for your Joy-Pi but currently not enabled. Do you want to activate I2C? [Y/n]: " yn case $yn in [Yy]* ) sudo raspi-config nonint do_i2c 0; break;; [Nn]* ) break;; * ) echo "Please answer yes or no.";; esac done fi
while true; do echo "#######################################################" echo "" read -p "Software successfully installed. You should now restart your device. Do you want to restart? [Y/n]" yn case $yn in [Yy]* ) sudo reboot now; break;; [Nn]* ) break;; * ) echo "Please answer yes or no.";; esac done
echo "" echo "" sleep 1 echo "You can now start the Joy-Pi software."
This is the code from Joy-Pi-install.sh after re-install (after first having removed the software). This works now
Next message I will send the same named file that generated the error.
Pete_r61
31.01.24 01:06
An Error Occurred: Not Found
Oops! An Error Occurred
The server returned a "404 Not Found".
Something is broken. Please let us know what you were doing when this error occurred. We will fix it as soon as possible. Sorry for any inconvenience caused.
An Error Occurred: Not Found
Oops! An Error Occurred
The server returned a "404 Not Found".
Something is broken. Please let us know what you were doing when this error occurred. We will fix it as soon as possible. Sorry for any inconvenience caused.
=================================================
.... and this is the one that caused some error (?)
Anyway I have now a process to get learning software going again.
Grüße Regards Pete_r61
Pete_r61
31.01.24 01:13
An Error Occurred: Not Found
Oops! An Error Occurred
The server returned a "404 Not Found".
Something is broken. Please let us know what you were doing when this error occurred. We will fix it as soon as possible. Sorry for any inconvenience caused.
An Error Occurred: Not Found
Oops! An Error Occurred
The server returned a "404 Not Found".
Something is broken. Please let us know what you were doing when this error occurred. We will fix it as soon as possible. Sorry for any inconvenience caused.
Pete_r61
28.01.24 11:32
Pete_r61
28.01.24 12:02
Jens
29.01.24 08:43
Pete_r61
29.01.24 18:04
Jens
30.01.24 08:45
Pete_r61
31.01.24 01:06
Pete_r61
31.01.24 01:13
Pete_r61
31.01.24 01:15
Jens
31.01.24 08:36