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

    'mType == FOLDER' Error on boot

    Scheduled Pinned Locked Moved Help and Support
    mtype filedata
    10 Posts 3 Posters 1.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.
    • C
      Colossal
      last edited by

      Hi,

      Running a Pi3B+ Used a an external Skraper to obtain some Scummvm boxarts. Skraper failed midway and seemed to have caused my raspberry pi image to fail upon boot.

      After My Splashscreen I get this error

      emulationstation: /home/pi/RetroPie-Setup/tmp/build/emulationstation/es-app/src/FileData.cpp:216: void FileData:: addChild(Filedata) Assertion 'mType == FOLDER' failed.*

      My Image is 256gb in size
      I have 5.5G Free
      I have a proper power supply
      MEM is 256 in my config,txt
      I have removed and clean uninstalled Scummvm from the system
      I have updated RetroPi Scripts

      I have been stuck on this error now for a while now and cannot for the life of me debug this problem. The es_log file reads...

      lvl2: EmulationStation - v2.8.2rp, built Mar 4 2019 - 16:31:07
      lvl2: Parsing XML file "/opt/retropie/supplementary/emulationstation/resources/mamenames.xml"...
      lvl2: Parsing XML file "/opt/retropie/supplementary/emulationstation/resources/mamebioses.xml"...
      lvl2: Parsing XML file "/opt/retropie/supplementary/emulationstation/resources/mamedevices.xml"...
      lvl2: Creating surface...
      lvl2: Created window successfully.
      lvl2: Added known joystick Sony Computer Entertainment Wireless Controller (instance ID: 0, device index: 0)
      lvl2: Added known joystick Sony Computer Entertainment Wireless Controller Motion Sensors (instance ID: 1, device index: 1)
      lvl2: Checking available OpenGL extensions...
      lvl2: ARB_texture_non_power_of_two: MISSING
      lvl2: Loading system config file /home/pi/.emulationstation/es_systems.cfg...
      lvl2: Parsing XML file "/home/pi/RetroPie/retropiemenu/gamelist.xml"...

      Any help to rectify/understand this error and how to fix it will be appreciated... Thanks in advance..

      1 Reply Last reply Reply Quote 0
      • mituM
        mitu Global Moderator
        last edited by

        See this topic for a similar problem and a possible solution.

        1 Reply Last reply Reply Quote 0
        • C
          Colossal
          last edited by

          I have seen this topic and it doesn't help.

          I have wiped all data that has relevance with scummvm so it has nothing to do with any xml files.

          It bombs out just before emulation station starts. I am at a complete loss on how to fix it. More importantly I have months and months of work on this retropie image with no backup. So wiping card and refreshing a backup is not possible. I've even randomly moved 10 gameslist.xml out out their folders to see if it may be any other gameslist.xml cause the error but problem still occurs?

          I must try and figure it out, part of me thinks it has nothing to do with gameslist.xml file and maybe something to do with the missing file listed in es_log.txt.

          mituM 1 Reply Last reply Reply Quote 0
          • mituM
            mitu Global Moderator @Colossal
            last edited by

            @Colossal Start emulationstation manually from the command line with emulationstation --debug and see where it stops.

            I have seen this topic and it doesn't help.

            Have you renamed the .svm files from the scummvm system and it still crashes ?

            1 Reply Last reply Reply Quote 0
            • C
              Colossal
              last edited by

              I have deleted scumm entirely no scumm folders exist.

              Also I cannot see or find lr-scumm in the retropie experimental page to re install?

              1 Reply Last reply Reply Quote 0
              • C
                Colossal
                last edited by

                Seems I have fixed the issue,

                Seeing that the last line in the es_log.txt reads;
                lvl2: Parsing XML file "/home/pi/RetroPie/retropiemenu/gamelist.xml"...

                I renamed the file gamelist.xml, into something else so the boot up recognizes the file is not there.

                I am back into EmulationStation without errors. I have no idea why this happened or if my fix is really a proper fix, but it looks like the "Parsing" of the gameslist.xml in folder path /home/pi/RetroPie/retropiemenu/ was my issue.

                Hopefully this can help anyone else that experiences this weird problem.

                Al the best

                XyberDAWGX 1 Reply Last reply Reply Quote 0
                • C
                  Colossal
                  last edited by

                  Seeing I uninstalled lr-scummvm prior this I am unable to re install it from experimental packages? I do not see it? I am on 4.4.15 How do I install lrscummvm?

                  mituM 1 Reply Last reply Reply Quote 0
                  • mituM
                    mitu Global Moderator @Colossal
                    last edited by

                    @Colossal It's still in the experimental section, maybe you need to scroll down a bit ?

                    50f28e39-a42a-4a8a-8794-94323cda160e-image.png

                    1 Reply Last reply Reply Quote 0
                    • C
                      Colossal
                      last edited by

                      Nope I don't see it in 4.4.15? Anyway olive opened another thread as it doesn't refer to the subject.

                      1 Reply Last reply Reply Quote 0
                      • XyberDAWGX
                        XyberDAWG @Colossal
                        last edited by

                        @colossal I think I figured it out. My retropie menu had all the folders listed as a <game> entry. I changed those to <folder> entry and now it works without an issue.

                        1 Reply Last reply Reply Quote 0
                        • 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.