jobishjohn / audit-bear

Automatically exported from code.google.com/p/audit-bear
0 stars 0 forks source link

Another traceback on Westmoreland file #3

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
After fixing bug #2, now the file from Westmoreland leads to a new traceback:

Traceback (most recent call last):
  File "/home/www-data/web2py/gluon/restricted.py", line 192, in restricted
    exec ccode in environment
  File "/home/www-data/web2py/applications/audit_bear/compiled/controllers_default_index.py", line 109, in <module>
  File "/home/www-data/web2py/gluon/globals.py", line 137, in <lambda>
    self._caller = lambda f: f()
  File "/home/www-data/web2py/applications/audit_bear/compiled/controllers_default_index.py", line 45, in index
  File "applications/audit_bear/modules/dispatcher.py", line 33, in dispatcher
    results.append(pebActivateBallot(el152, el155, el68a, dateclass, report.Report()))
  File "applications/audit_bear/modules/fileAnomalies.py", line 218, in pebActivateBallot
    if len(mPEBmap[x.serialNumber]) > 1:
KeyError: '5160221'

Looks like x.serialNumber holds the value 5160221, but mPEBmap doesn't contain 
that key.  Not sure what the deal is here.

Original issue reported on code.google.com by goo...@web.dwdw.me on 17 Jul 2013 at 6:21