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
data.job.metadata (an instance of scrapinghub.client.jobs:JobMeta) cannot be subscribed. There are multiple places in Spidermon's templates where job meta keys are accessed via data.job.metadata[x]. Those cases fail because of it.
Issue
data.job.metadata
(an instance ofscrapinghub.client.jobs:JobMeta
) cannot be subscribed. There are multiple places in Spidermon's templates where job meta keys are accessed viadata.job.metadata[x]
. Those cases fail because of it.It's unclear when
job.metadata
stopped being subscribable or if this is a change in the latest Jinja versions (see: https://jinja.palletsprojects.com/en/3.0.x/templates/#variables), but it doesn't seem to work now.Locally can be partially reproduced via:
Proposal
Replace all instances of
data.job.metadata[x]
in the templates withdata.job.metadata.get(x)
.The text was updated successfully, but these errors were encountered: