Opened 8 years ago

Closed 3 years ago

#4908 closed defect (user disappeared)

bwauth fails to parse something

Reported by: phobos Owned by: mikeperry
Priority: Medium Milestone:
Component: Core Tor/Torflow Version:
Severity: Blocker Keywords:
Cc: Actual Points:
Parent ID: Points:
Reviewer: Sponsor:


The full error is

NOTICE[Sun Jan 15 12:45:02 2012]:Bw auth PID control disabled due to parse error.                                                                    
Traceback (most recent call last):                                                                                                                   
  File "/srv/bwauth/torflow.git/NetworkScanners/BwAuthority/", line 253, in __init__                                                     
    cs_bytes, re.M).group(1).split()                                                                                                                 
AttributeError: 'NoneType' object has no attribute 'group'

python 2.6.6 with Elixir-0.7.1 and SQLAlchemy-0.5.8

Child Tickets

Change History (5)

comment:1 Changed 8 years ago by Sebastian

ugh. ouch. We have pid control enabled by default, despite what the error message says. The reason we get the exception is that the currently valid consensus doesn't have a single consensus param. Ugh.

comment:2 Changed 8 years ago by phobos

Ok, updated to sqlalchemy 0.7.4 and restarted.

comment:3 Changed 8 years ago by phobos

And that update generates a new error:

ERROR[Sun Jan 15 14:45:14 2012]:Exception during aggregate: integer division or modulo by zero                                                       
Traceback (most recent call last):                                                                                                                   
  File "/srv/bwauth/torflow.git/NetworkScanners/BwAuthority/", line 876, in <module>                                                     
  File "/srv/bwauth/torflow.git/NetworkScanners/BwAuthority/", line 840, in main                                                         
    plog("INFO", "Avg "+cl+" +pid_error=+"+str(sum(map(lambda n: n.pid_error, pc_nodes))/len(pc_nodes)))                                             
ZeroDivisionError: integer division or modulo by zero

comment:4 Changed 6 years ago by arma

Seen any of these lately?

comment:5 Changed 3 years ago by teor

Resolution: user disappeared
Severity: Blocker
Status: newclosed
Note: See TracTickets for help on using tickets.