Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
File "/usr/lib/ticketscloud/env/lib/python3.4/site-packages/raven/middleware.py", line 35, in __call__
iterable = self.application(environ, start_response)
File "/usr/lib/ticketscloud/env/lib/python3.4/site-packages/pyramid/router.py", line 242, in __call__
response = self.invoke_subrequest(request, use_tweens=True)
File "/usr/lib/ticketscloud/env/lib/python3.4/site-packages/pyramid/router.py", line 217, in invoke_subrequest
response = handle_request(request)
File "/usr/lib/ticketscloud/env/lib/python3.4/site-packages/pyramid/tweens.py", line 21, in excview_tween
response = handler(request)
File "./ticketscloud/lib/tweens.py", line 52, in __call__
raise exc
File "./ticketscloud/lib/tweens.py", line 49, in __call__
return self.handler(request)
File "./ticketscloud/users/tweens.py", line 35, in __call__
return self.handler(request)
File "/usr/lib/ticketscloud/env/lib/python3.4/site-packages/pyramid/router.py", line 163, in handle_request
response = view_callable(context, request)
File "/usr/lib/ticketscloud/env/lib/python3.4/site-packages/pyramid/config/views.py", line 287, in _authdebug_view
return view(context, request)
File "/usr/lib/ticketscloud/env/lib/python3.4/site-packages/pyramid/config/views.py", line 385, in viewresult_to_response
result = view(context, request)
File "/usr/lib/ticketscloud/env/lib/python3.4/site-packages/pyramid/config/views.py", line 489, in _class_view
response = inst()
File "./ticketscloud/lib/views/base.py", line 249, in __call__
return super().__call__()
File "./ticketscloud/lib/views/base.py", line 144, in __call__
data = self._view_call()
File "./ticketscloud/lib/views/base.py", line 98, in _view_call
return getattr(self, self.method)()
File "<string>", line 2, in post
File "./ticketscloud/lib/views/generic.py", line 12, in deco
return method_func(self)
File "./ticketscloud/lib/views/generic.py", line 58, in post
return 201, self.context.create(data)
File "./ticketscloud/orders/resources.py", line 77, in create
deal = self.get_deal(data, event)
File "./ticketscloud/orders/resources.py", line 58, in get_deal
'$or': [{'obj': partner.id}, {{'subj': partner.id}}],
TypeError: unhashable type: 'dict'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.