Looks like I'm missing a check for a None response from a Notary:
011-07-05 18:37:21,780:Thread-116:ERROR:'NoneType' object has no attribute 'key_change_times'
Traceback (most recent call last):
File "./PerProxy.py", line 67, in handle
server = self.connect_to_server(hostname, port)
File "./PerProxy.py", line 130, in connect_to_server
self.check_server(server)
File "./PerProxy.py", line 147, in check_server
self.checker.check_seen_fingerprint(service, fingerprint)
File "/Users/von/develop/PerProxy/Perspectives/Checker.py", line 53, in check_seen_fingerprint
self.do_policy_check(service, fingerprint)
File "/Users/von/develop/PerProxy/Perspectives/Checker.py", line 82, in do_policy_check
self.policy.check(fingerprint, self.responses)
File "/Users/von/develop/PerProxy/Perspectives/Policy.py", line 62, in check
self.stale_limit)
File "/Users/von/develop/PerProxy/Perspectives/Notary.py", line 266, in quorum_duration
for r in self])
AttributeError: 'NoneType' object has no attribute 'key_change_times'
2011-07-05 18:37:21,781:Thread-116:ERROR:Deferring handling error connecting to server: 'NoneType' object has no attribute 'key_change_times'
Looks like I'm missing a check for a None response from a Notary:
011-07-05 18:37:21,780:Thread-116:ERROR:'NoneType' object has no attribute 'key_change_times' Traceback (most recent call last): File "./PerProxy.py", line 67, in handle server = self.connect_to_server(hostname, port) File "./PerProxy.py", line 130, in connect_to_server self.check_server(server) File "./PerProxy.py", line 147, in check_server self.checker.check_seen_fingerprint(service, fingerprint) File "/Users/von/develop/PerProxy/Perspectives/Checker.py", line 53, in check_seen_fingerprint self.do_policy_check(service, fingerprint) File "/Users/von/develop/PerProxy/Perspectives/Checker.py", line 82, in do_policy_check self.policy.check(fingerprint, self.responses) File "/Users/von/develop/PerProxy/Perspectives/Policy.py", line 62, in check self.stale_limit) File "/Users/von/develop/PerProxy/Perspectives/Notary.py", line 266, in quorum_duration for r in self]) AttributeError: 'NoneType' object has no attribute 'key_change_times' 2011-07-05 18:37:21,781:Thread-116:ERROR:Deferring handling error connecting to server: 'NoneType' object has no attribute 'key_change_times'