RetroPie forum home
    • Recent
    • Tags
    • Popular
    • Home
    • Docs
    • Register
    • Login
    Please do not post a support request without first reading and following the advice in https://retropie.org.uk/forum/topic/3/read-this-first

    RetroPie 3.7 + Child friendly EmulationStation wont start

    Scheduled Pinned Locked Moved Help and Support
    70 Posts 12 Posters 28.3k Views
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • RionR
      Rion
      last edited by

      I can't get Child friendly EmulationStation to start when i install it from the Experimental Packages.

      • Clean RetroPie 3.7 image

      • Update RetroPie Setup Script

      • Install Child friendly EmulationStation

      • Reboot and then this

      /opt/retropie/supplementary/emulationstation-kids/emulationstation.sh: 5 /opt/retropie/supplementary/emulationstation-kids/emulationstation.sh ./emulationstation: not found
      

      Do you know why this happens @zigurana ?

      FBNeo rom filtering
      Mame2003 Arcade Bezels
      Fba Arcade Bezels
      Fba NeoGeo Bezels

      1 Reply Last reply Reply Quote 0
      • Z
        Zigurana
        last edited by

        It seems like the correct way of doing it. Can you show the buildlog? (put it up at pastebin)

        If tetris has thought me anything, it's that errors pile up and that accomplishments dissappear.

        RionR 1 Reply Last reply Reply Quote 0
        • RionR
          Rion @Zigurana
          last edited by

          @Zigurana said in RetroPie 3.7 + Child friendly EmulationStation wont start:

          It seems like the correct way of doing it. Can you show the buildlog? (put it up at pastebin)

          I'm sorry but could you point me to where I might fint the buildlog? Cause once the installation finishes it goes back to the Retropie setup script.

          FBNeo rom filtering
          Mame2003 Arcade Bezels
          Fba Arcade Bezels
          Fba NeoGeo Bezels

          1 Reply Last reply Reply Quote 0
          • Z
            Zigurana
            last edited by Zigurana

            Yeah, I had to look them up as well :-)
            You will need to access your pi via SCP or something similar, at least to be able to easily transfer thefiles to another computer.

            You can find the logs at home/pi/RetroPie-Setup/logs
            They are named by date and will be gz files (e.g. rps_2016-04-13_204558.log.gz), which you can extract using 7Zip or somesuch.
            Then please upload them to http://pastebin.com/ and select bash as the syntax highlighter.

            If tetris has thought me anything, it's that errors pile up and that accomplishments dissappear.

            RionR 1 Reply Last reply Reply Quote 1
            • RionR
              Rion @Zigurana
              last edited by

              @Zigurana said in RetroPie 3.7 + Child friendly EmulationStation wont start:

              Yeah, I had to look them up as well :-)
              You will need to access your pi via SCP or something similar, at least to be able to easily transfer thefiles to another computer.

              You can find the logs at home/pi/RetroPie-Setup/logs
              They are named by date and will be gz files (e.g. rps_2016-04-13_204558.log.gz), which you can extract using 7Zip or somesuch.
              Then please upload them to http://pastebin.com/ and select bash as the syntax highlighter.

              Sorry about that @Zigurana , i did a format of my SD card and had to the the installation all over again.

              Here it is :)

              Child friendly EmulationStation buildlog 22.04.2016

              FBNeo rom filtering
              Mame2003 Arcade Bezels
              Fba Arcade Bezels
              Fba NeoGeo Bezels

              1 Reply Last reply Reply Quote 0
              • Z
                Zigurana
                last edited by

                Well, thats odd.
                The logging looks absolutely fine to me.
                Maybe one of the @administrators could have a glance?
                I am trying to replicate this on a fresh image as we speak, see if I can replicate your issue.

                If tetris has thought me anything, it's that errors pile up and that accomplishments dissappear.

                1 Reply Last reply Reply Quote 1
                • Z
                  Zigurana
                  last edited by

                  Ok, so it replicates all right.
                  The script being called is: /opt/retropie/supplementary/emulationstation-kids/emulationstation.sh
                  which complains: ./emulationstation: not found
                  But when I start that manually from that directory, it loads without issue!
                  This is the complete script:

                  #!/bin/sh
                  
                  while true; do
                      rm -f /tmp/es-restart /tmp/es-sysrestart /tmp/es-shutdown
                      ./emulationstation "$@"
                      [ -f /tmp/es-restart ] && continue
                      if [ -f /tmp/es-sysrestart ]; then
                          rm -f /tmp/es-sysrestart
                          sudo reboot
                          break
                      fi
                      if [ -f /tmp/es-shutdown ]; then
                          rm -f /tmp/es-shutdown
                          sudo poweroff
                          break
                      fi
                      break
                  done
                  

                  So that seems normal as well.
                  Somehow it cannot find the binary in opt/retropie/supplementary/emulationstation-kids/, while it clearly is there.

                  If tetris has thought me anything, it's that errors pile up and that accomplishments dissappear.

                  1 Reply Last reply Reply Quote 1
                  • RionR
                    Rion
                    last edited by

                    Here are a few more findings that i found out + a crash to command line..

                    In Console

                    
                    pi@retropie:~ $ emulationstation (enter)
                    /opt/retropie/supplementary/emulationstation-kids/emulationstation.sh: 5: /opt/retropie/supplementary/emulationstation-kids/emulationstation.sh: ./emulationstation: not found
                    pi@retropie:~ cd /opt/retropie/supplementary/emulationstation-kids
                    pi@retropie:/opt/retropie/supplementary/emulationstation-kids $ emulationstation (enter) 
                    

                    Well when i go there and start it, it starts.

                    Setting up all system to show and hide some games for every system and a couple for kid game and favorites.
                    Changed to Kid mode and also tried Kiosk mode. On the main screen it shows 1 Kid friendly game and 1 favorite and so on for every system. But when i select a system nothing shows up and when i try to go out to the main screen using B button it crashes to cmd line with this error message.

                    emulationstation: /home/pi/RetroPie-Setup/tmp/build/emulationstation-kids/es-core/src/components/IList.h:125: const UserData& IList<EntryData, UserData>::getSelected() const [with EntryData = TextListData; UserData = FileData*]: Assertion `size() > 0' failed.
                    Aborted
                    

                    Changed settings from Parse Gamelist On/Off , Save Metadata On/Off same crash every time.

                    FBNeo rom filtering
                    Mame2003 Arcade Bezels
                    Fba Arcade Bezels
                    Fba NeoGeo Bezels

                    B 1 Reply Last reply Reply Quote 0
                    • Z
                      Zigurana
                      last edited by

                      Is this with show favorites only on or off?

                      If tetris has thought me anything, it's that errors pile up and that accomplishments dissappear.

                      1 Reply Last reply Reply Quote 0
                      • Z
                        Zigurana
                        last edited by

                        and if you look at the gamelist.xml data directly, do you see the values set correctly? (true/false for kidgame and fav).

                        If tetris has thought me anything, it's that errors pile up and that accomplishments dissappear.

                        RionR 1 Reply Last reply Reply Quote 0
                        • RionR
                          Rion @Zigurana
                          last edited by Rion

                          @Zigurana

                          Yes everything seems in order here.
                          sudo nano /opt/retropie/configs/all/emulationstation/gamelists/ports/gamelist.xml

                          <?xml version="1.0"?>
                          <gameList>
                          	<game>
                          		<path>./Cave Story.sh</path>
                          		<name>Cave Story</name>
                          		<desc></desc>
                          		<image></image>
                          		<thumbnail></thumbnail>
                          		<rating>0</rating>
                          		<releasedate>not-a-date-time</releasedate>
                          		<developer>unknown</developer>
                          		<publisher>unknown</publisher>
                          		<genre>unknown</genre>
                          		<players>1</players>
                          		<favorite>false</favorite>
                          		<kidgame>true</kidgame>
                          		<hidden>false</hidden>
                          		<playcount>0</playcount>
                          		<lastplayed>0</lastplayed>
                          	</game>
                          	<game>
                          		<path>./Doom.sh</path>
                          		<name>Doom</name>
                          		<desc></desc>
                          		<image></image>
                          		<thumbnail></thumbnail>
                          		<rating>0</rating>
                          		<releasedate>not-a-date-time</releasedate>
                          		<developer>unknown</developer>
                          		<publisher>unknown</publisher>
                          		<genre>unknown</genre>
                          		<players>1</players>
                          		<favorite>false</favorite>
                          		<kidgame>false</kidgame>
                          		<hidden>true</hidden>
                          		<playcount>0</playcount>
                          		<lastplayed>0</lastplayed>
                          	</game>
                          	<game>
                          		<path>./Duke Nukem 3D.sh</path>
                          		<name>Duke Nukem 3D</name>
                          		<desc></desc>
                          		<image></image>
                          		<thumbnail></thumbnail>
                          		<rating>0.000000</rating>
                          		<releasedate>not-a-date-time</releasedate>
                          		<developer>unknown</developer>
                          		<publisher>unknown</publisher>
                          		<genre>unknown</genre>
                          		<players>1</players>
                          		<favorite>false</favorite>
                          		<kidgame>false</kidgame>
                          		<hidden>false</hidden>
                          		<playcount>0</playcount>
                          		<lastplayed>0</lastplayed>
                          	</game>
                          	<game>
                          		<path>./Quake.sh</path>
                          		<name>Quake</name>
                          		<desc></desc>
                          		<image></image>
                          		<thumbnail></thumbnail>
                          		<rating>0</rating>
                          		<releasedate>not-a-date-time</releasedate>
                          		<developer>unknown</developer>
                          		<publisher>unknown</publisher>
                          		<genre>unknown</genre>
                          		<players>1</players>
                          		<favorite>false</favorite>
                          		<kidgame>false</kidgame>
                          		<hidden>true</hidden>
                          		<playcount>0</playcount>
                          		<lastplayed>0</lastplayed>
                          	</game>
                          	<game>
                          		<path>./Quake III Arena.sh</path>
                          		<name>Quake III Arena</name>
                          		<desc></desc>
                          		<image></image>
                          		<thumbnail></thumbnail>
                          		<rating>0</rating>
                          		<releasedate>not-a-date-time</releasedate>
                          		<developer>unknown</developer>
                          		<publisher>unknown</publisher>
                          		<genre>unknown</genre>
                          		<players>1</players>
                          		<favorite>true</favorite>
                          		<kidgame>false</kidgame>
                          		<hidden>true</hidden>
                          		<playcount>0</playcount>
                          		<lastplayed>0</lastplayed>
                          	</game>
                          	<game>
                          		<path>./Super Mario War.sh</path>
                          		<name>Super Mario War</name>
                          		<desc></desc>
                          		<image></image>
                          		<thumbnail></thumbnail>
                          		<rating>0.000000</rating>
                          		<releasedate>not-a-date-time</releasedate>
                          		<developer>unknown</developer>
                          		<publisher>unknown</publisher>
                          		<genre>unknown</genre>
                          		<players>1</players>
                          		<favorite>false</favorite>
                          		<kidgame>false</kidgame>
                          		<hidden>false</hidden>
                          		<playcount>0</playcount>
                          		<lastplayed>0</lastplayed>
                          	</game>
                          </gameList>
                          

                          Edit:
                          @Zigurana said in RetroPie 3.7 + Child friendly EmulationStation wont start:

                          Is this with show favorites only on or off?

                          Yes i tried every combination known..

                          FBNeo rom filtering
                          Mame2003 Arcade Bezels
                          Fba Arcade Bezels
                          Fba NeoGeo Bezels

                          1 Reply Last reply Reply Quote 0
                          • Z
                            Zigurana
                            last edited by

                            Ok, I'll need some more time to figure this out. That will not be before the end of this weekend, sorry.
                            In the meantime could you tell me under which circumstances exactly you observe the crash? It's only when you back out of a certain game-list? Any game-list? In all UI modi, even Full?

                            If tetris has thought me anything, it's that errors pile up and that accomplishments dissappear.

                            RionR 1 Reply Last reply Reply Quote 1
                            • RionR
                              Rion @Zigurana
                              last edited by

                              @Zigurana said in RetroPie 3.7 + Child friendly EmulationStation wont start:

                              Ok, I'll need some more time to figure this out. That will not be before the end of this weekend, sorry.
                              In the meantime could you tell me under which circumstances exactly you observe the crash? It's only when you back out of a certain game-list? Any game-list? In all UI modi, even Full?

                              Only in Kid and Kiosk mode. When in Full mode this don't happen. And only when first entering a system and pressing the back (B) button.

                              No problem at all, i do know that family and friends go firsthand before everything else.

                              Have a great weekend! :)

                              FBNeo rom filtering
                              Mame2003 Arcade Bezels
                              Fba Arcade Bezels
                              Fba NeoGeo Bezels

                              1 Reply Last reply Reply Quote 0
                              • BuZzB
                                BuZz administrators
                                last edited by BuZz

                                https://github.com/RetroPie/EmulationStation/commit/23d96b6a5667c6db1c1876b99841161f8478729a

                                has this been included in your fork ? This will be needed. we no longer pushd to the ES folder before launching from /usr/bin/emulationstation script.

                                If updating retropie-setup script and doing a full binary install, and above changes are done in the ES fork, it will need to be reinstalled from experiemental menu.

                                To help us help you - please make sure you read the sticky topics before posting - https://retropie.org.uk/forum/topic/3/read-this-first

                                RionR 1 Reply Last reply Reply Quote 1
                                • RionR
                                  Rion @BuZz
                                  last edited by

                                  @BuZz said in RetroPie 3.7 + Child friendly EmulationStation wont start:

                                  https://github.com/RetroPie/EmulationStation/commit/23d96b6a5667c6db1c1876b99841161f8478729a

                                  has this been included in your fork ? This will be needed. we no longer pushd to the ES folder before launching from /usr/bin/emulationstation script.

                                  If updating retropie-setup script and doing a full binary install, and above changes are done in the ES fork, it will need to be reinstalled from experiemental menu.

                                  That should solve the startup problems but the crash to cmd is something different, or is it?

                                  FBNeo rom filtering
                                  Mame2003 Arcade Bezels
                                  Fba Arcade Bezels
                                  Fba NeoGeo Bezels

                                  1 Reply Last reply Reply Quote 0
                                  • Z
                                    Zigurana
                                    last edited by

                                    I'll try to update the fork tonight.

                                    The crash is likely due to something else yes, but I have an inkling what might have caused it. Just need some time to take a proper look at it.

                                    If tetris has thought me anything, it's that errors pile up and that accomplishments dissappear.

                                    1 Reply Last reply Reply Quote 1
                                    • Z
                                      Zigurana
                                      last edited by

                                      Ok, the starting should work now, the script has been updated.

                                      If tetris has thought me anything, it's that errors pile up and that accomplishments dissappear.

                                      RionR 1 Reply Last reply Reply Quote 1
                                      • RionR
                                        Rion @Zigurana
                                        last edited by

                                        @Zigurana said in RetroPie 3.7 + Child friendly EmulationStation wont start:

                                        Ok, the starting should work now, the script has been updated.

                                        Great!
                                        Any new insight on the crash bug?

                                        FBNeo rom filtering
                                        Mame2003 Arcade Bezels
                                        Fba Arcade Bezels
                                        Fba NeoGeo Bezels

                                        1 Reply Last reply Reply Quote 0
                                        • T
                                          Tarran
                                          last edited by

                                          I've tried a fresh install and I'm still getting the error when the script tries to start. Do I need to do anything other than updating the install script to make sure the install is pulling the latest version?

                                          1 Reply Last reply Reply Quote 0
                                          • Z
                                            Zigurana
                                            last edited by

                                            Ah & =%:€! I've pushed it to the wrong branch. Sorry.
                                            I'll take another look on sunday.
                                            In the meantime you can change the script manually, it's only 2 lines (see Buzz's link above).
                                            Fixing the crash needs priority in any case...

                                            If tetris has thought me anything, it's that errors pile up and that accomplishments dissappear.

                                            RionR T 2 Replies Last reply Reply Quote 1
                                            • First post
                                              Last post

                                            Contributions to the project are always appreciated, so if you would like to support us with a donation you can do so here.

                                            Hosting provided by Mythic-Beasts. See the Hosting Information page for more information.