Skip to content
This repository has been archived by the owner on Dec 13, 2023. It is now read-only.

TypeError on /search #4112

Closed
erikjohnston opened this issue Oct 29, 2018 · 4 comments
Closed

TypeError on /search #4112

erikjohnston opened this issue Oct 29, 2018 · 4 comments

Comments

@erikjohnston
Copy link
Member

2018-10-29 18:23:29,875 - synapse.http.server - 112 - ERROR - POST-22421 - Failed handle request via <function _async_render at 0x7f8744f7e9b0>: <XForwardedForRequest at 0x7f86ae6beb90 method=u'POST' uri=u'/_mat
  File "/home/matrix/.synapse/local/lib/python2.7/site-packages/twisted/internet/defer.py", line 654, in _runCallbacks
    current.result = callback(current.result, *args, **kw)
  File "/home/matrix/.synapse/local/lib/python2.7/site-packages/twisted/internet/defer.py", line 1475, in gotResult
    _inlineCallbacks(r, g, status)
  File "/home/matrix/.synapse/local/lib/python2.7/site-packages/twisted/internet/defer.py", line 1416, in _inlineCallbacks
    result = result.throwExceptionIntoGenerator(g)
  File "/home/matrix/.synapse/local/lib/python2.7/site-packages/twisted/python/failure.py", line 491, in throwExceptionIntoGenerator
    return g.throw(self.type, self.value, self.tb)
--- <exception caught here> ---
  File "synapse/http/server.py", line 81, in wrapped_request_handler
    
  File "/home/matrix/.synapse/local/lib/python2.7/site-packages/twisted/internet/defer.py", line 1416, in _inlineCallbacks
    result = result.throwExceptionIntoGenerator(g)
  File "/home/matrix/.synapse/local/lib/python2.7/site-packages/twisted/python/failure.py", line 491, in throwExceptionIntoGenerator
    return g.throw(self.type, self.value, self.tb)
  File "synapse/http/server.py", line 316, in _async_render
    
  File "/home/matrix/.synapse/local/lib/python2.7/site-packages/twisted/internet/defer.py", line 1416, in _inlineCallbacks
    result = result.throwExceptionIntoGenerator(g)
  File "/home/matrix/.synapse/local/lib/python2.7/site-packages/twisted/python/failure.py", line 491, in throwExceptionIntoGenerator
    return g.throw(self.type, self.value, self.tb)
  File "synapse/rest/client/v1/room.py", line 807, in on_POST
    
  File "/home/matrix/.synapse/local/lib/python2.7/site-packages/twisted/internet/defer.py", line 1418, in _inlineCallbacks
    result = g.send(result)
  File "synapse/handlers/search.py", line 329, in search
    
  File "/home/matrix/.synapse/local/lib/python2.7/site-packages/twisted/internet/defer.py", line 1604, in unwindGenerator
    gen = f(*args, **kwargs)
exceptions.TypeError: get_state_for_event() got an unexpected keyword argument 'types'

Probably due to #4011

@hawkowl hawkowl moved this from To Do to In Progress: Operational/bug fixes in Superceded by https://github.com/orgs/matrix-org/projects/8 Oct 30, 2018
@hawkowl hawkowl self-assigned this Oct 30, 2018
@hawkowl
Copy link
Contributor

hawkowl commented Oct 30, 2018

Fixed in prod

@hawkowl hawkowl closed this as completed Oct 30, 2018
Superceded by https://github.com/orgs/matrix-org/projects/8 automation moved this from In Progress: Operational/bug fixes to Done - Operations Oct 30, 2018
@richvdh
Copy link
Member

richvdh commented Nov 1, 2018

where is the PR for this?

@richvdh richvdh reopened this Nov 1, 2018
Superceded by https://github.com/orgs/matrix-org/projects/8 automation moved this from Done - Operations to In Progress: Operational/bug fixes Nov 1, 2018
@hawkowl
Copy link
Contributor

hawkowl commented Nov 1, 2018

Here: #4122

@hawkowl hawkowl closed this as completed Nov 1, 2018
Superceded by https://github.com/orgs/matrix-org/projects/8 automation moved this from In Progress: Operational/bug fixes to Done - Operations Nov 1, 2018
@richvdh
Copy link
Member

richvdh commented Nov 1, 2018

thanks :)

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
No open projects
Development

No branches or pull requests

3 participants