Scraping Woes. Please be gentle, I'm a noob!
-
So I wasn't having much luck with the scraper built into emulationstation and found many other people had similar problems and recommended using steven selphs scraper. I followed instructions but got an error message saying it could install golang package. I did use the sudo command to run the setup that got me to the scraper installation if that is useful information?
Can anyone help me with this problem?
I'm a complete noob with Linux/retropie btw.
-
Did you follow this guide?
https://github.com/retropie/retropie-setup/wiki/scraper -
Yes I followed that guide to the letter but when it came to the scaping part it all happened really quick, impossibly quick. Then after it had finished it said something about golang package not available.
-
I tried rebooting the system and did the same again using sudo command, went to setup, scraper. If there are errors thrown at this stage it's hard to see as the text just scrolls by too fast. Got the same problem, it says systems scraped really quick but nothing has been done. Then a dialog box comes up afterwards about the golang thing.
-
Can you confirm you have an internet connection on the Pi?
-
@Floob
Yes I made sure of that by checking it was connected to the right wifi. I suppose it might be worth disconnecting and reconnecting? Thank s for the idea. :D -
@floob 's suggestion is probably correct you might want to run something like
ping google.com
from the command line to make sure you have a connection. My scraper is written in Go so when possible RetroPie tries to install GoLang and build from source. -
thank you for your help both of you. I will try this later on and make sure the internet connection is working.
Thanks,
Lee.
-
So here's an update. Internet is working fine, that's confirmed. I ran the scraper again and tried to read the text that flies by. It says golang not found and tries to install it. Then I get error that some process was interrupted (dpkg?), and tells me i must manually run.... (can't make out the next bit). Then ends with message "could not install package(s): golang".
Can anyone help as I'm clueless! :*-(
-
Try
sudo apt-get install golang
from the command line. That will attempt to install the package and you will probably still get an error but at least you can read it. -
thank you once again for your help. I did as requested and can now see it says, "dpkg was interrupted, you must manually run 'sudo dpkg --configure -a' to correct the problem.
-
@m3chstaa did you do as instructed - manually running
sudo dpkg --configure -a
? You must have interrupted package installation at some point. -
I don't know if you could solve it, but i had exactly the same problem and didn't find any answer anywhere.
"sudo apt-get install golang " won't help, because scraper install is trying to fing go in /opt/retropie/supplementary/golang/bin/go, so my solution was this:-
Download the latest Go package available here https://golang.org/dl/ (currently go1.8.1.linux-armv6l.tar.gz)
-
Copy that into the Pi (used winSCP)
-
Open terminal and run the following commands in pi:
export GOROOT=/opt/retropie/supplementary/golang
export PATH=$PATH:$GOROOT/bin
sudo tar -C /opt/retropie/supplementary -xzf go1.8.1.linux-armv6l.tar.gz
sudo mv /opt/retropie/supplementary/go /opt/retropie/supplementary/golang -
After that, you can retry to install scraper, and this time it will work :)
-
-
@amonroy Alternately you could remove selphscraper package from Retropie setup and then reinstall it. This would make sure everything actually got installed this go around.
-
I was having an issue with the scraper. The error I got was:
unable to install binary for golang
When I checked in the log to see what happened, the error I got was
golang unexpected end of file tar
The fix:
It was because the date on my pi was set incorrectly.
I needed to install ntpdate - to set the date and time correctly.
sudo apt update sudo apt install ntpdate sudo systemctl stop ntp sudo ntpdate -s pool.ntp.org
before I could go into the optional menu and install the scraper. Weird, but it worked.
-
@buzz Hey there, my scraper install was actually interrupted (pi rebooted while installing) now I can't install scraper. I tried typing "sudo dpkg --configure -a" but nothing happens. Would you happen to have any other suggestions for fixing an install that go interrupted? Thanks in advance, sorry I know this is an old post.
-
@timothyjbrick It is an old post - follow the instructions - 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
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.