You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Traceback (most recent call last):
File "/app/python/lib/python3.11/site-packages/sh_scrapy/crawl.py", line 162, in _run_usercode
_run(args, settings)
File "/app/python/lib/python3.11/site-packages/sh_scrapy/crawl.py", line 112, in _run
_run_pkgscript(args)
File "/app/python/lib/python3.11/site-packages/sh_scrapy/crawl.py", line 142, in _run_pkgscript
d.run_script(scriptname, {'__name__': '__main__'})
^^^^^^^^^^^^
AttributeError: 'PathDistribution' object has no attribute 'run_script'
The reason is this change
scrapinghub-entrypoint-scrapy/sh_scrapy/crawl.py
Line 142 in f31e458
It looks like
PathDistribution
from importlib doesn't implementsrun_script
method.The text was updated successfully, but these errors were encountered: