2024-04-03, 05:26
Hello,
I'm trying to run a scraper for one of my ROMs but it keeps failing with this error in the log. I added the logging for asset_info_id -- it seems like the asset_dir is not getting populated. Does anyone know what needs to be set for it to know where to save them? I've configured local paths in the add-on settings for category, launcher, and collections.
I'm trying to run a scraper for one of my ROMs but it keeps failing with this error in the log. I added the logging for asset_info_id -- it seems like the asset_dir is not getting populated. Does anyone know what needs to be set for it to know where to save them? I've configured local paths in the add-on settings for category, launcher, and collections.
Code:
2024-04-02 22:05:02.233 T:4422 DEBUG <general>: [script.akl.mobygames] akl.scrapers: Scraper applied? True
2024-04-02 22:05:02.233 T:4422 DEBUG <general>: [script.akl.mobygames] akl.scrapers: Processing asset actions...
2024-04-02 22:05:02.233 T:4422 DEBUG <general>: [script.akl.mobygames] akl.scrapers: asset_info_id: title, asset_dir_FN: None
2024-04-02 22:05:02.235 T:4422 ERROR <general>: [script.akl.mobygames] akl.scrapers: Could not scrape "Super Mario World"
Traceback (most recent call last):
File "/storage/.kodi/addons/script.module.akl/lib/akl/scrapers.py", line 372, in process_single_rom
self._process_ROM(rom)
File "/storage/.kodi/addons/script.module.akl/lib/akl/scrapers.py", line 432, in _process_ROM
self._process_ROM_assets(rom)
File "/storage/.kodi/addons/script.module.akl/lib/akl/scrapers.py", line 490, in _process_ROM_assets
asset_path = self._scrap_ROM_asset(asset_id, self.local_asset_list[asset_id], rom)
File "/storage/.kodi/addons/script.module.akl/lib/akl/scrapers.py", line 790, in _scrap_ROM_asset
asset_path_noext_FN = asset_dir_FN + text.str_to_filename_str(rom.get_identifier())
TypeError: unsupported operand type(s) for +: 'NoneType' and 'str'