runassudo / helios-server-mixnet Goto Github PK
View Code? Open in Web Editor NEWHelios voting with mixnet (preferential voting) support
License: GNU Affero General Public License v3.0
Helios voting with mixnet (preferential voting) support
License: GNU Affero General Public License v3.0
Seems to fail randomly on Sync for Reddit on Android. (Gives invalid_grant and invalid state errors.)
Allows for tidier support for countbacks, too.
Right now we're being really stupid about how we're handling the encryption.
Reference benadida/helios-server#57
Seems like it shouldn't be too technically demanding
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
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.