Traceback (most recent call last):


 "/home/paul/.virtualenvs/scrapy12/local/lib/python2.7/site-packages/scrapy/utils/defer.py", line 102, in iter_errback

yield next(it)


 "/home/paul/.virtualenvs/scrapy12/local/lib/python2.7/site-packages/scrapy/spidermiddlewares/offsite.py", line 29, in process_spider_output

for x in result:


 "/home/paul/.virtualenvs/scrapy12/local/lib/python2.7/site-packages/scrapy/spidermiddlewares/referer.py", line 22, in <genexpr>

return (_set_referer(r) for r in result or ())


 "/home/paul/.virtualenvs/scrapy12/local/lib/python2.7/site-packages/scrapy/spidermiddlewares/urllength.py", line 37, in <genexpr>

return (r for r in result or () if _filter(r))


 "/home/paul/.virtualenvs/scrapy12/local/lib/python2.7/site-packages/scrapy/spidermiddlewares/depth.py", line 58, in <genexpr>

return (r for r in result or () if _filter(r))


 "/home/paul/.virtualenvs/scrapy12/local/lib/python2.7/site-packages/scrapy/spiders/sitemap.py", line 44, in _parse_sitemap

s = Sitemap(body)


 "/home/paul/.virtualenvs/scrapy12/local/lib/python2.7/site-packages/scrapy/utils/sitemap.py", line 17, in __init__

rt = self._root.tag
AttributeError: 'NoneType' object has no attribute 'tag'

Traceback (most recent call last):


 "/home/convsys/anaconda3/envs/tf2/lib/python3.6/site-packages/tensorflow/python/autograph/impl/api.py", line 584, in converted_call

converted_f = conversion.convert(target_entity, program_ctx)


 "/home/convsys/anaconda3/envs/tf2/lib/python3.6/site-packages/tensorflow/python/autograph/impl/conversion.py", line 119, in convert

entity, program_ctx.options, program_ctx, custom_vars)


 "/home/convsys/anaconda3/envs/tf2/lib/python3.6/site-packages/tensorflow/python/autograph/pyct/transpiler.py", line 412, in transform_function

extra_locals)


 "/home/convsys/anaconda3/envs/tf2/lib/python3.6/site-packages/tensorflow/python/autograph/pyct/transpiler.py", line 373, in _transformed_factory

nodes, ctx = self._transform_function(fn, user_context)


 "/home/convsys/anaconda3/envs/tf2/lib/python3.6/site-packages/tensorflow/python/autograph/pyct/transpiler.py", line 339, in _transform_function

node = self.transform_ast(node, context)


 "/home/convsys/anaconda3/envs/tf2/lib/python3.6/site-packages/tensorflow/python/autograph/impl/conversion.py", line 70, in transform_ast

node = activity.resolve(node, ctx, None)


 "/home/convsys/anaconda3/envs/tf2/lib/python3.6/site-packages/tensorflow/python/autograph/pyct/static_analysis/activity.py", line 705, in resolve

return ActivityAnalyzer(context, parent_scope).visit(node)


 "/home/convsys/anaconda3/envs/tf2/lib/python3.6/site-packages/tensorflow/python/autograph/pyct/transformer.py", line 445, in visit

result = super(Base, self).visit(node)


 "/home/convsys/anaconda3/envs/tf2/lib/python3.6/ast.py", line 253, in visit

return visitor(node)


 "/home/convsys/anaconda3/envs/tf2/lib/python3.6/site-packages/tensorflow/python/autograph/pyct/static_analysis/activity.py", line 575, in visit_FunctionDef

node = self._visit_arg_annotations(node)


 "/home/convsys/anaconda3/envs/tf2/lib/python3.6/site-packages/tensorflow/python/autograph/pyct/static_analysis/activity.py", line 551, in _visit_arg_annotations

node = self._visit_arg_declarations(node)


 "/home/convsys/anaconda3/envs/tf2/lib/python3.6/site-packages/tensorflow/python/autograph/pyct/static_analysis/activity.py", line 556, in _visit_arg_declarations

node.args.posonlyargs = self._visit_node_list(node.args.posonlyargs)
AttributeError: 'arguments' object has no attribute 'posonlyargs'
