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

    ES Scraper Error: Failed to save resize image

    Scheduled Pinned Locked Moved Help and Support
    emulationstatioscraper
    23 Posts 6 Posters 24.1k 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.
    • J
      jdoolin
      last edited by

      Perhaps bad timing then. I just tried it, 6 hours after your reply, and it's doing the same thing for me. It's definitely not a full disk as I have well over 11GB to spare on this SD card. I just wish the error log was more verbose.....

      ... wait, hold on. It just worked for a few things, just not for either of the PSX games. Perhaps that's all it is.

      Thanks for the heads up. I think I might just be good to go now.

      1 Reply Last reply Reply Quote 0
      • J
        jdoolin
        last edited by

        Okay, the problem persists, but it is only for PSX games. Everything else seems to work perfectly and rather quickly at the moment.

        1 Reply Last reply Reply Quote 0
        • J
          jdoolin
          last edited by

          Update.

          I just ran tcpdump on RetroPie while I attempted to save the results of scraping. I got the usual "ERROR SAVING RESIZED IMAGE. OUT OF MEMORY? DISK FULL?" error. I opened the packet capture in Wireshark. I was able to extract the JPEG data from it just fine. I also know this isn't happening for other systems, only PSX that I know of.

          I'll keep tinkering to see if I can find a reason for it.

          1 Reply Last reply Reply Quote 0
          • J
            jdoolin
            last edited by

            Found it!

            It was a permissions error in ~/.emulationstation/downloaded_images/psx

            It and several other directories were owned by root instead of the retropie user. After a quick chown everything works perfectly.

            C 1 Reply Last reply Reply Quote 0
            • C
              Carlos_Javier_S_ @jdoolin
              last edited by

              @jdoolin excuse me how do you do that? I have the same problem with mame4all, it scrape 240 of my 285 games and then stops and recibe the same error message.

              Disk is ok, i have 11 gigas left.

              Please explain i am a noob in raspberry , dont understand allmost anything.

              1 Reply Last reply Reply Quote 0
              • J
                jdoolin
                last edited by

                You'll need to get to a command prompt, either by exiting EmulationStation or SSH. Then run the following command:

                cd ~/.emulationstation/downloaded_images/
                ls -l

                Then see which user and group owns the directories. They should all be "retropie". If any are "root", then they need to have permissions changed. Run the following command to do so:

                sudo chown -R retropie:retropie systemName

                Replace 'emulatorName' with any system whose permissions you need to change.

                C 1 Reply Last reply Reply Quote 0
                • C
                  Carlos_Javier_S_ @jdoolin
                  last edited by

                  @jdoolin thank you for your time.

                  i type the first command and i recibe this message, i dont know what i do grong

                  alt text

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

                    What is the error in my photo? anyone? thanks guys :) i am really a noob in this.

                    1 Reply Last reply Reply Quote 0
                    • J
                      jdoolin
                      last edited by

                      Those are two separate commands, not one. So first, do:

                      cd ~/.emulationstation/downloaded_images/

                      There is a space between the 'cd' and the '~'. Then press Enter.

                      Then type:

                      ls -l

                      Again, there is a space between 'ls' and '-l'

                      C 1 Reply Last reply Reply Quote 0
                      • C
                        Carlos_Javier_S_ @jdoolin
                        last edited by

                        @jdoolin thanks i did that and work :)

                        then i got this message, dont know why

                        alt text

                        1 Reply Last reply Reply Quote 0
                        • W
                          winlinuxmatt
                          last edited by

                          I was able to solve the same error by looking into my folder and I noticed a .dat file that wansn't suppose to be in there. However, save files and other files related to the ROM needs to stay in there. As soon as I removed the file and retried the scrapper the error message went away and the Scrapping in Progress completed. Also, if the username is pi on the Retropie system. The only user available is pi not retropie, so be use to only have that ownership belong to [ sudo chown -R pi:pi {THE DIRECTORY YOU WANT TO CHANGE} ]

                          C 1 Reply Last reply Reply Quote 0
                          • C
                            Carlos_Javier_S_ @winlinuxmatt
                            last edited by

                            @winlinuxmatt in what directory? What .dat file?

                            And another question in witch directory i should be if i run this command

                            [ sudo chown -R pi:pi {THE DIRECTORY YOU WANT TO CHANGE} ]

                            W 2 Replies Last reply Reply Quote 0
                            • W
                              winlinuxmatt @Carlos_Javier_S_
                              last edited by

                              @Carlos_Javier_S_
                              Sorry for the delayed response. The directory should be in ~/.emulationstation/downloaded_images/ in your instance you referrenced above. retropie:retropie will not work because that user doesnt exist on that version of retopie and you should use pi:pi instead.

                              So run:

                              ls -alh

                              This will list the owner:group like pi:pi on each file and it not important to run, it is just for you to see who has ownership of the directory and the files within, now run:

                              sudo chown -R pi:pi mame-mame4all

                              This will make sure you are setting the correct user and ownership of that directory in your instance that you are having the same error for the scrapper

                              Don't go looking for a .dat file, I was only referring to my issue. If you see a file that is not suppose to be in there. Remove it and run the scrapper again. Keep in mind that mame roms have dependent files related to each ROM you have. I don't know what that is. I hope this will help you out

                              C 1 Reply Last reply Reply Quote 0
                              • W
                                winlinuxmatt @Carlos_Javier_S_
                                last edited by

                                @Carlos_Javier_S_
                                Check the ~/RetroPie/roms/$CONSOLE folder, in your case mame folder. Look for files not suppose to be in there and rm fileyouwanttoremove

                                cd ~/RetroPie/roms/mame-mame4all

                                or

                                cd /home/pi/RetroPie/roms/mame-mame4all

                                this is where you will look to fix the scrapping issue, look through the files and remove any weird files not suppose to be there.

                                1 Reply Last reply Reply Quote 0
                                • screechS
                                  screech
                                  last edited by

                                  If you have a windows PC on the lan, you can try this : https://retropie.org.uk/forum/topic/5291/soft-universal-xml-scraper-v2-easy-scrape-with-high-quality-picture ;) it's really easy to use, and don't have a lot's of path to configure (only one ^^ and if you have a default installation, he is already configured ;) )

                                  C 1 Reply Last reply Reply Quote 0
                                  • C
                                    Carlos_Javier_S_ @winlinuxmatt
                                    last edited by

                                    @winlinuxmatt thank you :) i did this and scraper download info and picture of my games and then again que same error

                                    I got 25 more games to go jajaja i chek the directory that you say and i only see the .zip of my roms and some directories artwork samples, no .dat file

                                    What should o do? Thanks for your time and the other friends that help, i really apreciated.

                                    C 1 Reply Last reply Reply Quote 0
                                    • C
                                      Carlos_Javier_S_ @screech
                                      last edited by

                                      @screech

                                      Thanks, how do i conect the raspberry to the pc? Directly With a internet cable (rj45) ?

                                      1 Reply Last reply Reply Quote 0
                                      • C
                                        Carlos_Javier_S_ @Carlos_Javier_S_
                                        last edited by

                                        @Carlos_Javier_S_ 20 games download the picture and info is what i meant, still 25 to go

                                        1 Reply Last reply Reply Quote 0
                                        • A
                                          arieljt237
                                          last edited by arieljt237

                                          I know this is an old topic but I could not find any more recent ones discussing this issue. I had the same issue with the Scraper failing to save resized image. The fix was to chown the /downloaded_images/ and /gamelists/ since some folders were root and not pi user.

                                          1 Reply Last reply Reply Quote 0
                                          • mituM mitu locked this topic on
                                          • 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.