How to properly install scraper?
-
System
Raspberry Pi 4B
retropie-buster-4.8-rpi4_400.img (fresh install)Error
https://retropie.org.uk/docs/Scraper/
When using:
sudo ~/RetroPie-Setup/retropie_setup.sh
> Manage packages > opt > scraper > Install from sourceI got first the error that the included golang version is outdated, because some math utility is missing in the RetroPie included golang.
So I circumvented this by replacing\home\pi\RetroPie-Setup\scriptmodules\supplementary\golang.sh
with the newer version from git https://github.com/RetroPie/RetroPie-Setup/blob/master/scriptmodules/supplementary/golang.shBut now I get the error that something in the tmp/scraper/scraper is missing. Is it because scraper is deprecated? Or do I need to use another golang version?
Lower part from the logfile:= = = = = = = = = = = = = = = = = = = = = Building 'scraper' : Scraper for EmulationStation by Steven Selph = = = = = = = = = = = = = = = = = = = = = # github.com/sselph/scraper/gdb src/github.com/sselph/scraper/gdb/gdb.go:28:18: assignment mismatch: 3 variables but 1 values src/github.com/sselph/scraper/gdb/gdb.go:28:55: too many arguments in call to apiClient.PublishersApi.Publishers have (context.Context, string) want (context.Context) src/github.com/sselph/scraper/gdb/gdb.go:66:18: assignment mismatch: 3 variables but 1 values src/github.com/sselph/scraper/gdb/gdb.go:66:55: too many arguments in call to apiClient.DevelopersApi.Developers have (context.Context, string) want (context.Context) src/github.com/sselph/scraper/gdb/gdb.go:104:18: assignment mismatch: 3 variables but 1 values src/github.com/sselph/scraper/gdb/gdb.go:104:47: too many arguments in call to apiClient.GenresApi.Genres have (context.Context, string) want (context.Context) src/github.com/sselph/scraper/gdb/gdb.go:181:16: cannot convert apiGameImage.Id (type *int32) to type int src/github.com/sselph/scraper/gdb/gdb.go:182:3: cannot use apiGameImage.Type (type *string) as type string in field value src/github.com/sselph/scraper/gdb/gdb.go:183:3: cannot use apiGameImage.Side (type *string) as type string in field value src/github.com/sselph/scraper/gdb/gdb.go:184:3: cannot use apiGameImage.Filename (type *string) as type string in field value src/github.com/sselph/scraper/gdb/gdb.go:184:3: too many errors /home/pi /home/pi/RetroPie-Setup/tmp/build/scraper /home/pi Could not successfully install Scraper for EmulationStation by Steven Selph (/home/pi/RetroPie-Setup/tmp/build/scraper/scraper not found). /home/pi
Logfile
Whole logfile:
https://pastes.io/f7n2gaqang
Pastebin said I cannot publish because suspected offensive speech, so its pastes.io instead. -
@Georodin-0 if you're on a "fresh" (as in non-updated) 4.8 install, then try updating RetroPie-Setup script (from the main menu of within the script itself) and then try install scraper again.
There was a change ...huh ... one year ago today, exactly, that fixed a broken build step: https://github.com/RetroPie/RetroPie-Setup/commit/6f739fb3cb9dea223d781c2c7149a8ed61ac76fc
If after that it's still not working for you, I recommend and use skyscraper instead. Not because I know of anything wrong with the other one, just that it's the one I am more familiar with.
-
@Georodin-0 As you might have already noticed: Run the scraper install twice works around your issues. Rationale: The scraper install script chokes when it deviates into the golang install first.
I could reproduce your error when removing the golang package, remove scraper package then install scraper again.
But as @sleve_mcdichael noticed skyskraper seems to be more popular.
-
@Lolonois
This did work, thanks :)
I don't know what I did, but I made a fresh RetroPie flash again, then run the install twice and it worked
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.