GithubHelp home page GithubHelp logo

runassudo / helios-server-mixnet Goto Github PK

View Code? Open in Web Editor NEW
4.0 4.0 4.0 2.41 MB

Helios voting with mixnet (preferential voting) support

License: GNU Affero General Public License v3.0

Procfile 0.01% Shell 0.09% Python 67.25% JavaScript 20.86% Java 0.13% CSS 0.97% HTML 10.69%

helios-server-mixnet's People

Contributors

aleksessex avatar benadida avatar betelgeuse avatar boennemann avatar dmgawel avatar ergonomicon avatar glondu avatar nchangfong avatar np avatar runassudo avatar shirlei avatar toomim avatar vinilios avatar waffle-iron avatar

Stargazers

 avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

helios-server-mixnet's Issues

Funky mobile app behaviour

Seems to fail randomly on Sync for Reddit on Android. (Gives invalid_grant and invalid state errors.)

Homomorphic workflow appears not to work properly

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

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.