Traceback (most recent call last):


 "c:\python27\lib\site-packages\twisted\internet\defer.py", line 1260, in _inlineCallbacks

result = g.send(result)


 "c:\python27\lib\site-packages\scrapy\core\downloader\middleware.py", line 37, in process_request

response = yield method(request=request, spider=spider)


 "D:\SinaSpider-master\Sina_spider1\Sina_spider1\middleware.py", line 19, in process_request

cookie = random.choice(cookies)


 "c:\python27\lib\random.py", line 275, in choice

return seq[int(self.random() * len(seq))]
# raises IndexError if seq is empty
IndexError: list index out of range

Traceback (most recent call last):


 "twisted\internet\defer.py", line 1416, in _inlineCallbacks


 "twisted\python\failure.py", line 491, in throwExceptionIntoGenerator


 "torba\baseledger.py", line 316, in receive_header


 "twisted\internet\defer.py", line 1418, in _inlineCallbacks


 "torba\baseledger.py", line 300, in update_headers
IndexError: Blockchain reorganization dropped 100 headers. This is highly unusual. Will not continue to attempt reorganizing. Please, delete the ledger synchronization directory inside your wallet directory (folder: 'lbc_mainnet') and restart the program to synchronize from scratch.
