scrapy domz报错TypeError: 'float' object is not iterable
2017-03-14 19:50
489 查看
问题:
[scrapy] ERROR: Error downloading
GET http://www.dmoz.org/robots.txt: ‘float’ object is not iterable
Traceback (most recent call last):
File “d:\Anaconda3\lib\site-packages\twisted\internet\defer.py”, line 1299, in _inlineCallbacks
result = result.throwExceptionIntoGenerator(g)
File “d:\Anaconda3\lib\site-packages\twisted\python\failure.py”, line 393, in throwExceptionIntoGenerator
return g.throw(self.type, self.value, self.tb)
File “d:\Anaconda3\lib\site-packages\scrapy\core\downloader\middleware.py”, line 43, in process_request
defer.returnValue((yield download_func(request=request,spider=spider)))
File “d:\Anaconda3\lib\site-packages\scrapy\utils\defer.py”, line 45, in mustbe_deferred
result = f(*args, **kw)
…
scrapy与twisted版本不兼容。见https://github.com/scrapy/scrapy/issues/2606
[scrapy] ERROR: Error downloading
GET http://www.dmoz.org/robots.txt: ‘float’ object is not iterable
Traceback (most recent call last):
File “d:\Anaconda3\lib\site-packages\twisted\internet\defer.py”, line 1299, in _inlineCallbacks
result = result.throwExceptionIntoGenerator(g)
File “d:\Anaconda3\lib\site-packages\twisted\python\failure.py”, line 393, in throwExceptionIntoGenerator
return g.throw(self.type, self.value, self.tb)
File “d:\Anaconda3\lib\site-packages\scrapy\core\downloader\middleware.py”, line 43, in process_request
defer.returnValue((yield download_func(request=request,spider=spider)))
File “d:\Anaconda3\lib\site-packages\scrapy\utils\defer.py”, line 45, in mustbe_deferred
result = f(*args, **kw)
…
scrapy与twisted版本不兼容。见https://github.com/scrapy/scrapy/issues/2606
相关文章推荐
- python框架Scrapy报错TypeError: 'float' object is not iterable解决
- Scrapy使用shell命令报错scrape shell TypeError: 'float' object is not iterable
- python 'float'object is not iterable
- scrapy shell [url] TypeError: 'float' object is not iterable
- Scrapy TypeError: 'float' object is not iterable
- 'classobj' object is not iterable ?
- Python错误代码分析:莫名的[TypeError: 'int' object is not iterable]
- python TypeError: 'builtin_function_or_method' object is not iterable keys
- DJANGO问题--Error: ‘ManyRelatedManager’ object is not iterable
- 'NoneType' object is not iterable
- python TypeError: 'builtin_function_or_method' object is not iterable keys
- TypeError: 'numpy.float64' object is not iterablex
- “'WebElement' object is not iterable”
- Python 出现错误TypeError: ‘NoneType’ object is not iterable解决办法
- Python问题:'Nonetype' object is not iterable
- 【Python】python "TypeError: 'NoneType' object is not iterable"错误分析
- Django报:builtin_function_or_method' object is not iterable
- usecols = list(usecols) TypeError: 'int' object is not iterable
- TypeError: ‘NoneType’ object is not iterable
- scrapy爬虫中遇到的‘float’ is not iterable