Traceback (most recent call last):


 "/root/myproject/scrapy/local/lib/python2.7/site-packages/twisted/internet/defer.py", line 150, in maybeDeferred

result = f(*args, **kw)


 "/root/myproject/scrapy/local/lib/python2.7/site-packages/pydispatch/robustapply.py", line 55, in robustApply

return receiver(*arguments, **named)


 "/root/myproject/scrapy/local/lib/python2.7/site-packages/scrapy/extensions/feedexport.py", line 221, in item_scraped

slot.exporter.export_item(item)


 "/root/myproject/scrapy/local/lib/python2.7/site-packages/scrapy/exporters.py", line 210, in export_item

values = list(self._build_row(x for _, x in fields))


 "/root/myproject/scrapy/local/lib/python2.7/site-packages/scrapy/exporters.py", line 214, in _build_row

for s in values:


 "/root/myproject/scrapy/local/lib/python2.7/site-packages/scrapy/exporters.py", line 210, in <genexpr>

values = list(self._build_row(x for _, x in fields))


 "/root/myproject/scrapy/local/lib/python2.7/site-packages/scrapy/exporters.py", line 63, in _get_serialized_fields

field_iter = six.iterkeys(item.fields)
AttributeError: 'NoneType' object has no attribute 'fields'

2017-01-10 19:15:27,181 - synapse.http.server - 139 - ERROR - POST-873438 - Failed handle request synapse.http.server._async_render on <synapse.rest.ClientRestResource object at 0x4fe6510>: <XForwardedForRequest at 0x39185518 method=POST uri=/_matrix/client/r0/join/!ZZCkJvNTraceback (most recent call last):


 "synapse/http/server.py", line 116, in wrapped_request_handler

yield request_handler(self, request, request_metrics)


 "/mnt/disk/home/matrix/venv-synapse/local/lib/python2.7/site-packages/twisted/internet/defer.py", line 1297, in _inlineCallbacks

result = result.throwExceptionIntoGenerator(g)


 "/mnt/disk/home/matrix/venv-synapse/local/lib/python2.7/site-packages/twisted/python/failure.py", line 389, in throwExceptionIntoGenerator

return g.throw(self.type, self.value, self.tb)


 "synapse/http/server.py", line 255, in _async_render

callback_return = yield callback(request, **kwargs)


 "/mnt/disk/home/matrix/venv-synapse/local/lib/python2.7/site-packages/twisted/internet/defer.py", line 1297, in _inlineCallbacks

result = result.throwExceptionIntoGenerator(g)


 "/mnt/disk/home/matrix/venv-synapse/local/lib/python2.7/site-packages/twisted/python/failure.py", line 389, in throwExceptionIntoGenerator

return g.throw(self.type, self.value, self.tb)


 "synapse/rest/client/v1/room.py", line 269, in on_POST

third_party_signed=content.get("third_party_signed", None),


 "/mnt/disk/home/matrix/venv-synapse/local/lib/python2.7/site-packages/twisted/internet/defer.py", line 1297, in _inlineCallbacks

result = result.throwExceptionIntoGenerator(g)


 "/mnt/disk/home/matrix/venv-synapse/local/lib/python2.7/site-packages/twisted/python/failure.py", line 389, in throwExceptionIntoGenerator

return g.throw(self.type, self.value, self.tb)


 "synapse/handlers/room_member.py", line 174, in update_membership

content=content,


 "/mnt/disk/home/matrix/venv-synapse/local/lib/python2.7/site-packages/twisted/internet/defer.py", line 1299, in _inlineCallbacks

result = g.send(result)


 "synapse/handlers/room_member.py", line 235, in _update_membership

same_content = content == old_state.content
AttributeError: 'NoneType' object has no attribute 'content'
