EmulationStation icon indicating copy to clipboard operation
EmulationStation copied to clipboard

Crash When Scraping Folders

Open mediamoshpit opened this issue 7 years ago • 8 comments

The built-in scraper is no longer able to scrape metadata and apply it to folders. The issue was first noticed here. As noted there, I confirmed this on a folder for the Apple II system on my 2.4.0 ES setup using the Carbon theme and was also met with a crash, yielding the error:

terminate called after throwing an instance of 'std::out_of_range'
what():  map::at
Aborted

mediamoshpit avatar Jul 20 '17 22:07 mediamoshpit

I have the same problem too. :(

emersonnovais avatar Nov 09 '17 22:11 emersonnovais

ok, we'll need a bit more information to crush this bug, can you please supply:

  1. The path + name of folder you are trying to scrape,
  2. the exact steps needed to reproduce this issue.
  3. are you scraping all metadata, or just an image ?
  4. does this happen for all folders?

zigurana avatar Nov 10 '17 09:11 zigurana

Zigurana, thanks for atention.

  1. For example, I have the game "One" of the PSX. My path is (Ubuntu):

~/Roms/Sony Playstation 1/One (USA)

  1. The step is: Hit the "select" button on folder's game in list menu, Options > Edit this game's data > Scrape > [Game selected in menu list] > Save When the "save" button is pressed, the game crashed. The terminal output error is:

retrocon-os@ubuntu:/usr/share/retrocon_os/emulationstation/emulationstation_retropie$ ./emulationstation --verbose terminate called after throwing an instance of 'std::out_of_range' what(): map::at Abortado (imagem do núcleo gravada)

[Note: in portuguese "Abortado (imagem do núcleo gravada)" means in english "Segmentation fault error (core dumped) aborted"]

  1. Yes! The scraping of folders what I made with the older version of the Aloshi works normally, but the display only do not shows the informations about "rating", "realesed", "developer", "publisher", "genre", "players", "last played" and "times played" is not recorded, except the description of the game and the image of cover. The scrapping of files of the EmulationStation Retropie works normally. I can do the scrap of folders only the older Aloshi version of package in Ubuntu repositories. Below is the print: https://i.imgur.com/SCRDmL6r.png

  2. Yes. Every folder give the same error message and don't record the metadata neither the image of the game's cover. The scrapping crashs again with other systems like Sega Saturn, ScummVM and Sega CD too.

emersonnovais avatar Nov 11 '17 00:11 emersonnovais

2018 I have this same issue, where emulationstation crashes when scraping a folder, as opposed to a file. Example path:

~/RetroPie/roms/psx/GameTitleGoesHere/

akhoury6 avatar Sep 18 '18 23:09 akhoury6

Hmm. I was under the impression that I had fixed something to this effect, or maybe it's a different issue with similar symptoms.

What version are you on, and could you test it on the Dev branch?

pjft avatar Sep 19 '18 07:09 pjft

Your fix hasn't been implemented in the main branch yet. Same goes for the 'Last Played' limit #383. I check for them every now and again.

mediamoshpit avatar Sep 19 '18 21:09 mediamoshpit

Oh. Team: any concerns with migrating any of these to the main branch? I use the Dev branch as my main one, and have done so for the past several months as far as I remember, and I noticed no real issues. At least the bug fix commits could perhaps be migrated?

Just a thought. Let me know if you need any help with that.

pjft avatar Sep 19 '18 21:09 pjft

Seems like you guys figured out the issue, but in case you still need it I'm on:

Version 2.7.6rp, built Jul 11 2018 - 17:35:52

akhoury6 avatar Sep 20 '18 17:09 akhoury6