2010-12-28, 04:35
nekoarashi Wrote:Hello again, this time it scraped half our collection but it stopped without warning and ultimately scraped nothingThis error may be related to a timeout response of the Google website. The Advanced Launcher where not able to get Google images search results generating an error. It will be fixed in the next version.
15:01:47 T:4624 M:1799131136 NOTICE: Launcher: found 1 launchers
15:02:22 T:4624 M:1798324224 ERROR: Error Type: exceptions.TypeError
15:02:22 T:4624 M:1798324224 ERROR: Error Contents: unsubscriptable object
15:02:22 T:4624 M:1798230016 ERROR: Traceback (most recent call last):
File "C:\Users\NekoAlly\AppData\Roaming\XBMC\addons\plugin.program.advanced.launcher\addon.py", line 20, in ?
plugin.Main()
File "C:\Users\NekoAlly\AppData\Roaming\XBMC\addons\plugin.program.advanced.launcher\resources\lib\launcher_plugin.py", line 135, in __init__
self._add_roms(launcher)
File "C:\Users\NekoAlly\AppData\Roaming\XBMC\addons\plugin.program.advanced.launcher\resources\lib\launcher_plugin.py", line 456, in _add_roms
self._import_roms(launcher)
File "C:\Users\NekoAlly\AppData\Roaming\XBMC\addons\plugin.program.advanced.launcher\resources\lib\launcher_plugin.py", line 1167, in _import_roms
covers = self._get_fanarts_list(romdata["gamesys"],romdata["name"],self.settings[ "fanart_image_size" ])
File "C:\Users\NekoAlly\AppData\Roaming\XBMC\addons\plugin.program.advanced.launcher\resources\scrapers\fanarts\Google\fanarts_scraper.py", line 22, in _get_fanarts_list
results += json['responseData']['results']
TypeError: unsubscriptable object
No idea what that means
EDIT: Hmmm it seems that all the issues are directly related to using the google scraper; far less issue using gamefaqs only..
I did not recommend at all to use Google scrapers during scan, because the first returned Google image is not always corresponding to our expected search. Also, Google stores images from websites into a cache. Sometime the images were removed from the websites but still into the Google cache. When you make a search, Google list the cached images, but if the image is not anymore on the website, Google and the Advanced Launcher add-on will return you an empty image.
Google scrapers are only useful to found rare images that are not into the databases, and complete your game library.