Skip to content
This repository has been archived by the owner on Feb 21, 2020. It is now read-only.

Checking voter status in aelection

Eduardo Robles Elvira edited this page Jul 2, 2014 · 5 revisions

Log on to the agora machine

su - aelection
workon agora-election

Run the app.py utility to see the available commands

./app.py --help

To check the status of a voter using their phone, or email

./app.py -lv -f "tlf==+34123456789" 
./app.py -lv -f "[email protected]"

the "status" column means

  • sent - the sms was sent to the user
  • voted - the user voted

if there is no entry, no sms was sent.

To check whether a user was blocked (via ip)

./app.py -lc -f "value==80.12.34.567"

If a user is blacklisted, they can be unblocked with

./app.py -r -b -i 80.12.34.567

Sometimes users may be blocked but you cannot find their entry in a blacklist, to unblock add a whitelist entry

./app.py -w -i 80.12.34.567

if you only know the phonenumber, use

./app.py -w -t +34666123456