Traceback (most recent call last):
File "/app/.heroku/python/lib/python2.7/site-packages/celery/app/trace.py", line 240, in trace_task
R = retval = fun(*args, **kwargs)
File "/app/.heroku/python/lib/python2.7/site-packages/celery/app/trace.py", line 438, in __protected_call__
return self.run(*args, **kwargs)
File "/app/helios/tasks.py", line 92, in election_compute_tally
election.compute_tally()
File "/app/helios/models.py", line 593, in compute_tally
self.workflow.compute_tally(self)
File "/app/helios/workflows/homomorphic.py", line 452, in compute_tally
election.save()
File "/app/.heroku/python/lib/python2.7/site-packages/django/db/models/base.py", line 589, in save
force_update=force_update, update_fields=update_fields)
File "/app/.heroku/python/lib/python2.7/site-packages/django/db/models/base.py", line 617, in save_base
updated = self._save_table(raw, cls, force_insert, force_update, using, update_fields)
File "/app/.heroku/python/lib/python2.7/site-packages/django/db/models/base.py", line 679, in _save_table
forced_update)
File "/app/.heroku/python/lib/python2.7/site-packages/django/db/models/base.py", line 723, in _do_update
return filtered._update(values) > 0
File "/app/.heroku/python/lib/python2.7/site-packages/django/db/models/query.py", line 600, in _update
return query.get_compiler(self.db).execute_sql(CURSOR)
File "/app/.heroku/python/lib/python2.7/site-packages/django/db/models/sql/compiler.py", line 1005, in execute_sql
cursor = super(SQLUpdateCompiler, self).execute_sql(result_type)
File "/app/.heroku/python/lib/python2.7/site-packages/django/db/models/sql/compiler.py", line 776, in execute_sql
sql, params = self.as_sql()
File "/app/.heroku/python/lib/python2.7/site-packages/django/db/models/sql/compiler.py", line 970, in as_sql
val = field.get_db_prep_save(val, connection=self.connection)
File "/app/.heroku/python/lib/python2.7/site-packages/django/db/models/fields/__init__.py", line 627, in get_db_prep_save
prepared=False)
File "/app/.heroku/python/lib/python2.7/site-packages/django/db/models/fields/__init__.py", line 619, in get_db_prep_value
value = self.get_prep_value(value)
File "/app/helios/datatypes/djangofield.py", line 69, in get_prep_value
ld_object = LDObject.instantiate(value, datatype=self.type_hint)
File "/app/helios/datatypes/__init__.py", line 141, in instantiate
return_obj.loadData()
File "/app/helios/datatypes/__init__.py", line 155, in loadData
self.structured_fields[subfield_name] = self.instantiate(self._getattr_wrapped(subfield_name), datatype = subfield_type)
File "/app/helios/datatypes/__init__.py", line 141, in instantiate
return_obj.loadData()
File "/app/helios/datatypes/__init__.py", line 301, in loadData
self.items = [self.instantiate(element, datatype= self.ELEMENT_TYPE) for element in self.wrapped_obj]
File "/app/helios/datatypes/__init__.py", line 141, in instantiate
return_obj.loadData()
File "/app/helios/datatypes/__init__.py", line 301, in loadData
self.items = [self.instantiate(element, datatype= self.ELEMENT_TYPE) for element in self.wrapped_obj]
File "/app/helios/datatypes/__init__.py", line 141, in instantiate
return_obj.loadData()
File "/app/helios/datatypes/__init__.py", line 301, in loadData
self.items = [self.instantiate(element, datatype= self.ELEMENT_TYPE) for element in self.wrapped_obj]
TypeError: iteration over non-sequence