Seen after removing a foreign project from a metatracker:
Exception happened during processing of request from ('127.0.0.1', 58016)
Traceback (most recent call last):
File "/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/SocketServer.py", line 284, in _handle_request_noblock
self.process_request(request, client_address)
File "/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/SocketServer.py", line 310, in process_request
self.finish_request(request, client_address)
File "/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/SocketServer.py", line 323, in finish_request
self.RequestHandlerClass(request, client_address, self)
File "/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/SocketServer.py", line 638, in __init__
self.handle()
File "/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/BaseHTTPServer.py", line 340, in handle
self.handle_one_request()
File "/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/BaseHTTPServer.py", line 328, in handle_one_request
method()
File "/Users/travis/bin/nitpick", line 1972, in do_GET
self.root()
File "/Users/travis/bin/nitpick", line 804, in root
issues.sort(key = sort_issues)
File "/Users/travis/bin/nitpick", line 789, in sort_issues
return db.repos().index(issue_obj['repo'])
ValueError: 'Configurations' is not in list
The root cause was that we weren't checking for foreign repositories which had disappeared since the last time the database cache was updated. Now we check and delete those repositories.
Seen after removing a foreign project from a metatracker: Exception happened during processing of request from ('127.0.0.1', 58016) Traceback (most recent call last): File "/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/SocketServer.py", line 284, in _handle_request_noblock self.process_request(request, client_address) File "/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/SocketServer.py", line 310, in process_request self.finish_request(request, client_address) File "/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/SocketServer.py", line 323, in finish_request self.RequestHandlerClass(request, client_address, self) File "/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/SocketServer.py", line 638, in __init__ self.handle() File "/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/BaseHTTPServer.py", line 340, in handle self.handle_one_request() File "/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/BaseHTTPServer.py", line 328, in handle_one_request method() File "/Users/travis/bin/nitpick", line 1972, in do_GET self.root() File "/Users/travis/bin/nitpick", line 804, in root issues.sort(key = sort_issues) File "/Users/travis/bin/nitpick", line 789, in sort_issues return db.repos().index(issue_obj['repo']) ValueError: 'Configurations' is not in list
Date: 2014-03-22 05:27:54
User: travisb
The root cause was that we weren't checking for foreign repositories which had disappeared since the last time the database cache was updated. Now we check and delete those repositories.