Skyscraper segmentation fault
-
Hi Everyone,
I have a PiBoy DMG and I'm trying to get Skyscraper working. I've added my login to the config.ini file but when I go to add thegames, I'm getting a segmentation fault in line 244 @sudo -u "$user" stbuf -o0 "$md_inst/Skyscraper" "$params[@]"
Has anyone else run into this?
Thanks!
Rob -
@uofmrob This is not a common issue so we need a lot more info. You mention you add your login, but you don't mention to what source or how you enter it. Please provide a code block with this included (strike your password of course if any).
It would also be necessary to know what platform you are trying to scrape, what scraping source you are trying to scrape with and what settings you have enabled disabled assuming you run it from the RetroPie menu. What version of Skyscraper do you have installed?
Also please tell us what Raspberry Pi you are using in the PiBoy and which version of RetroPie you are using and whether you have changed anything meaningful from the default RetroPie configurations. Do you have any special mounts on it?
A segfault means something is crashing. It might be Skyscraper or some helper software in the RetroPie menu, I am unsure of that. But my best guess, with the limited information, is that you are running out of memory or disk space.
-
@muldjord Thanks for the quick reply! Here's some more info. I'm using the Retropie image from Experimental Pi (1.03). I haven't really changed anything other than to add roms. I'm using a Raspberry Pi 4 8 GB model. I have about 50 GB free on the card.
I went through the Retropie menu to install Skyscraper from source. I added the following code to the config.ini file (with my actual username and password, of course):
[screenscraper]
userCreds="username:password"I have video enabled. When I got to "Gather resources", I selected all my platforms and each gives the segmentation fault when going through and "Fetching limits for user 'myusername', just a sec.."
Then I get the attached error.
Thanks so much for the help!!
Rob -
Oh, and I'm connected to the network through the ethernet connection on the Pi.
-
@uofmrob Thank you, that information was very useful. I tested it on my Ubuntu, and that works as expected with settings similar to yours. Let me just try it on my own RaspBerry Pi 4... Stay tuned.
EDIT: Tested on my RPi4 and I can't reproduce it - it works just fine for me. Only difference from your setup is that I run it directly from command-line (shouldn't make any difference).
It seems it crashes for you just as it tries to initialize the request to screenscraper to get the credential details. My best guess is that maybe there's something off about your credentials. Maybe a special character in there it doesn't like in a URL.
-
@muldjord thanks for the help and for your work on this project. It seems to be working, now. I'm thinking that the site was blocked at my work network, which is weird. They never block anything. 🤣 Sorry for waiting your time!
-
@uofmrob Can you confirm that was the problem (test at home, test at work, confirm crash at work, not at home)? In that case I might look into it to make sure it at least doesn't crash in those cases.
-
@muldjord, I will. Unfortunately, I've maxed out my scrapes for the day. If it resets before I get home from work, I'll try it again. Otherwise, I'll try it again tomorrow.
-
@muldjord indeed, I just went to check the main screenscraper site to see if my 20,000 scrapes had reset and I got a "blocked for malware" message.
-
@muldjord I wonder if the segmentation fault was coming from the fact that the API request was not getting some kind of standard HTML error, but a custom message from IT stating that the site was being blocked due to malware.
-
@uofmrob Yes, that's exactly what I am thinking. And I need to handle that without a crash of course.
-
@muldjord again, thanks for all the work! From home it worked flawlessly and I scraped 5,000+ games over the course of two days (~37,000 total "actions").
-
NEW Experimental PiBoy Discord!
Alright.. I've been using the Eperimental Pi PiBoy w/ various Linux distros and it feels like the developer / creator is extremely busy to help most of the time..
I created a PiBoy Experimental Discord for discussions , ideas and help.
https://discord.gg/rcQdmv6UxrIf you have one, come join...
Cheers..
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.