How to launch a large-scale web scraping project? Find out how LexisNexis did it. Join the webinar on 29th March.Register now
Start a new topic

AttributeError: 'FeedExporter' object has no attribute 'slot'

I have a spider that suddenly throws this exception on about a half of by requests:


[scrapy.utils.signal] Error caught on signal handler: <bound method FeedExporter.item_scraped of <scrapy.extensions.feedexport.FeedExporter object at 0x7fde660b5978>> Less

Traceback (most recent call last):
  File "/usr/local/lib/python3.7/site-packages/twisted/internet/", line 151, in maybeDeferred
    result = f(*args, **kw)
  File "/usr/local/lib/python3.7/site-packages/pydispatch/", line 55, in robustApply
    return receiver(*arguments, **named)
  File "/usr/local/lib/python3.7/site-packages/scrapy/extensions/", line 264, in item_scraped
    slot = self.slot
AttributeError: 'FeedExporter' object has no attribute 'slot'

 I'm exporting my results to AWS S3 like so in


S3_BUCKET = "s3://my-bucket"
S3_REGION = "eu-west-1"
FEED_URI = S3_BUCKET + "/%(name)s/%(time)s.csv"



The spider runs as expected locally and did so previously on ScrapingHub as well.


Any clues on how to debug?

1 person has this question
1 Comment

A clarification (as I wasn't able to edit the orignal post):
I wrote "...throws this exception on about a half of by requests", but should rather have written: "...throws this exception on upon storage of about half of by items".

Login to post a comment