muldjord / skyscraper

Powerful and versatile game scraper written in c++
GNU General Public License v3.0
489 stars 128 forks source link

Unable to scrape via command line on Retropie 4.5.1 #341

Open jthomas5150 opened 2 years ago

jthomas5150 commented 2 years ago

Very new to this github. This scraper worked for a long time. Just stopped working months ago. Really like the scraper since it can skip edited entries in my gamelist. Here is my error:

Do you want to skip already existing game list entries (y/N)? y Resolving missing entries...

Starting scraping run on 1 files using 1 threads. Sit back, relax and let me do the work! :)

ScreenScraper APIv2 returned invalid / empty Json The erroneous answer was written to '~/.skyscraper/screenscraper_error.json'. Please create a bug report at 'https://github.com/muldjord/skyscraper/issues' and attach that file.

1/1 (T1) Pass 1 ---- Game 'btime' not found :( ----

1/1, (0/1)

Elapsed time : 00:00:01 Est. time left : 00:00:00

---- Resource gathering run completed! YAY! ---- Writing quick id xml, please wait... Done! Writing 803 (0 new) resources to cache, please wait... Done!

---- And here are some neat stats :) ---- Total completion time: 00:00:01

Total number of games: 1 Successfully processed games: 0

jdalmanza commented 2 years ago

I usually get that error when the scraping source is offline or unavailable. If you are just using the defaults, you probably hit screenscraper.fr when it was undergoing maintenance (which is quite often) or at capacity (which happens even more frequently than maintenance) . Try again later and it should work just fine. Did you read the screenscraper_error.json file? If so, what did it say?

On Mon, May 16, 2022 at 11:23 PM jthomas5150 @.***> wrote:

Very new to this github. This scraper worked for a long time. Just stopped working months ago. Really like the scraper since it can skip edited entries in my gamelist. Here is my error:

Do you want to skip already existing game list entries (y/N)? y Resolving missing entries...

Starting scraping run on 1 files using 1 threads. Sit back, relax and let me do the work! :)

ScreenScraper APIv2 returned invalid / empty Json The erroneous answer was written to '~/.skyscraper/screenscraper_error.json'. Please create a bug report at ' https://github.com/muldjord/skyscraper/issues' and attach that file.

1 https://github.com/muldjord/skyscraper/issues/1/1 (T1) Pass 1 ----

Game 'btime' not found :( ----

1 https://github.com/muldjord/skyscraper/issues/1/1, (0/1)

Elapsed time : 00:00:01 Est. time left : 00:00:00

---- Resource gathering run completed! YAY! ---- Writing quick id xml, please wait... Done! Writing 803 (0 new) resources to cache, please wait... Done!

---- And here are some neat stats :) ---- Total completion time: 00:00:01

Total number of games: 1 Successfully processed games: 0

— Reply to this email directly, view it on GitHub https://github.com/muldjord/skyscraper/issues/341, or unsubscribe https://github.com/notifications/unsubscribe-auth/AKRYUQ5JO32OQL2O4DUY6B3VKMGLRANCNFSM5WDODR7Q . You are receiving this because you are subscribed to this thread.Message ID: @.***>

jthomas5150 commented 2 years ago

Thanks for the reply. It has not worked for months. I checked the screenscraper_error.json file and it is empty. Any suggestions? I also tried it on another system with a different router and same issue.

muldjord commented 2 years ago

It works fine on my machine, even with anonymous login to the ScreenScraper module, so there's a high probability this is due to some error on your local installation or the ScreenScraper service being down every time you've tried it for months (which seems unlikely). If the error json file is empty it means ScreenScraper didn't return anything at all which points to a potential network issue on your end. Unless the ScreenScraper service API is entirely down, it should always return some sort of error that would be put into the json error file.

Beyond that I can't really help you. Skyscraper is working fine as evidenced by my local test just now.