Skip to content

Instantly share code, notes, and snippets.

@gronnbeck
Created July 22, 2012 15:14
Show Gist options
  • Save gronnbeck/3159958 to your computer and use it in GitHub Desktop.
Save gronnbeck/3159958 to your computer and use it in GitHub Desktop.
Traceback fra når jeg prøver å få ticket
2012-07-22T15:13:08,505 [ERROR] [hoopla.sync ] Unhandled exception in messageReceived. Traceback follows
Traceback (most recent call last):
File "/Users/gronnbeck/Development/hoopla/backend/hoopla/sync.py", line 157, in messageReceived
yield self._handle_subscribe(message['subscribe'])
File "/System/Library/Frameworks/Python.framework/Versions/2.7/Extras/lib/python/twisted/internet/defer.py", line 1020, in _inlineCallbacks
result = g.send(result)
File "/Users/gronnbeck/Development/hoopla/backend/hoopla/sync.py", line 170, in _handle_subscribe
if organization_ids - set(id for id, identifier, is_admin in self.get_current_user().get('organizations')):
TypeError: 'NoneType' object is not iterable
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment