Skip to content

Instantly share code, notes, and snippets.

@jpowers
Created March 21, 2016 16:03
Show Gist options
  • Save jpowers/47e1ea26ab0201f01b59 to your computer and use it in GitHub Desktop.
Save jpowers/47e1ea26ab0201f01b59 to your computer and use it in GitHub Desktop.
Traceback (most recent call last):
File "/srv/ICLEI/lib/python2.7/site-packages/tg/wsgiapp.py", line 105, in __call__
response = self.wrapped_dispatch(controller, environ, context)
File "/srv/ICLEI/lib/python2.7/site-packages/tg/wsgiapp.py", line 278, in dispatch
return controller(environ, context)
File "/srv/ICLEI/freyja/freyja/lib/base.py", line 30, in __call__
return TGController.__call__(self, environ, context)
File "/srv/ICLEI/lib/python2.7/site-packages/tg/controllers/dispatcher.py", line 132, in __call__
response = self._perform_call(context)
File "/srv/ICLEI/lib/python2.7/site-packages/tg/controllers/dispatcher.py", line 113, in _perform_call
r = self._call(func, params, remainder=remainder, context=context)
File "/srv/ICLEI/lib/python2.7/site-packages/tg/controllers/decoratedcontroller.py", line 120, in _call
output = controller_caller(context_config, bound_controller_callable, remainder, params)
File "/srv/ICLEI/lib/python2.7/site-packages/tg/decorators.py", line 41, in _decorated_controller_caller
return application_controller_caller(tg_config, controller, remainder, params)
File "/srv/ICLEI/lib/python2.7/site-packages/tg/configuration/app_config.py", line 124, in call_controller
return controller(*remainder, **params)
File "/srv/ICLEI/freyja/freyja/controllers/datex.py", line 1319, in datex
for char in fileContent:
UnboundLocalError: local variable 'fileContent' referenced before assignment
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment