Last active
August 29, 2015 13:56
-
-
Save dialtone/9081835 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Stacktrace (most recent call last): | |
File "raven/middleware.py", line 30, in __call__ | |
iterable = self.application(environ, start_response) | |
File "routes/middleware.py", line 131, in __call__ | |
response = self.app(environ, start_response) | |
File "newrelic/api/error_trace.py", line 60, in wrapper | |
return wrapped(*args, **kwargs) | |
File "pylons/wsgiapp.py", line 107, in __call__ | |
response = self.dispatch(controller, environ, start_response) | |
File "pylons/wsgiapp.py", line 312, in dispatch | |
return controller(environ, start_response) | |
File "foobar.py", line 1462, in __call__ | |
return WSGIController.__call__(self, environ, start_response) | |
File "newrelic/api/function_trace.py", line 90, in literal_wrapper | |
return wrapped(*args, **kwargs) | |
File "newrelic/api/transaction_name.py", line 38, in dynamic_wrapper | |
return wrapped(*args, **kwargs) | |
File "pylons/controllers/core.py", line 211, in __call__ | |
response = self._dispatch_call() | |
File "pylons/controllers/core.py", line 162, in _dispatch_call | |
response = self._inspect_call(func) | |
File "pylons/controllers/core.py", line 105, in _inspect_call | |
result = self._perform_call(func, args) | |
File "newrelic/hooks/framework_pylons.py", line 35, in __call__ | |
return self.__wrapped(*args, **kwargs) | |
File "newrelic/api/function_trace.py", line 79, in dynamic_wrapper | |
return wrapped(*args, **kwargs) | |
File "string>", line 2, in campaign | |
File "ABC.py", line 153, in dispatcher | |
return func(self, *args, **kwargs) | |
File "XYZ.py", line 589, in campaign | |
{'key': 'Owner', 'value': c.campaign.advertisable and c.campaign.advertisable.contact or 'No Owner'}, | |
File "123.py", line 934, in contact | |
users_by_signup = sorted(self.organization.users, key=lambda u: u.created_date) | |
File "sqlalchemy/orm/attributes.py", line 233, in __get__ | |
return self.impl.get(instance_state(instance), dict_) | |
File "sqlalchemy/orm/attributes.py", line 579, in get | |
value = self.callable_(state, passive) | |
File "sqlalchemy/orm/strategies.py", line 505, in _load_for_state | |
return self._emit_lazyload(session, state, ident_key, passive) | |
File "<string>", line 1, in <lambda> | |
File "sqlalchemy/orm/strategies.py", line 573, in _emit_lazyload | |
result = q.all() | |
File "sqlalchemy/orm/query.py", line 2279, in all | |
return list(self) | |
File "sqlalchemy/orm/loading.py", line 72, in instances | |
rows = [process[0](row, None) for row in fetch] | |
File "sqlalchemy/orm/loading.py", line 451, in _instance | |
populate_state(state, dict_, row, isnew, only_load_props) | |
File "sqlalchemy/orm/loading.py", line 305, in populate_state | |
populator(state, dict_, row) | |
File "sqlalchemy/orm/strategies.py", line 154, in fetch_col | |
dict_[key] = row[col] | |
UnicodeEncodeError: 'ascii' codec can't encode character u'\xdc' in position 1: ordinal not in range(128) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment