roycehaynes / scrapy-rabbitmq

A RabbitMQ Scheduler for Scrapy
MIT License
85 stars 46 forks source link

Scheduler close failure occurs while spider closes #4

Closed rdcprojects closed 9 years ago

rdcprojects commented 9 years ago

Below is the traceback:

Traceback (most recent call last):
  File "C:\Python27\lib\site-packages\twisted\internet\defer.py", line 588, in _runCallbacks
    current.result = callback(current.result, *args, **kw)
  File "C:\Python27\lib\site-packages\scrapy\core\engine.py", line 288, in <lambda>
    dfd.addBoth(lambda _: slot.scheduler.close(reason))
TypeError: close() takes exactly 1 argument (2 given)
rdcprojects commented 9 years ago

Never mind. Fixed in the latest commit.