mozilla-services/circus — Issue #3: sighandler needs to support WINCH
Author: tarekziade
Created: 2012-02-12 17:18:33+00:00
State: open

kill worker 990
Traceback (most recent call last):
File "bin/circus", line 8, in
load_entry_point('circus==0.1', 'console_scripts', 'circus')()
File "/Users/tarek/Dev/github.com/circus/circus/__init__.py", line 20, in main
workers.run()
File "/Users/tarek/Dev/github.com/circus/circus/workers.py", line 55, in run
self.manage_workers()
File "/Users/tarek/Dev/github.com/circus/circus/workers.py", line 65, in manage_workers
self.spawn_workers()
File "/Users/tarek/Dev/github.com/circus/circus/workers.py", line 76, in spawn_workers
self.spawn_worker()
File "/Users/tarek/Dev/github.com/circus/circus/workers.py", line 80, in spawn_worker
worker = Worker(self._worker_counter, self.cmd)
File "/Users/tarek/Dev/github.com/circus/circus/workers.py", line 15, in __init__
self._worker = Popen(self.cmd.split())
File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/subprocess.py", line 672, in __init__
python: can't open file 'dummy_worker.py': [Errno 2] No such file or directory
errread, errwrite)
File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/subprocess.py", line 1191, in _execute_child
data = _eintr_retry_call(os.read, errpipe_read, 1048576)
File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/subprocess.py", line 471, in _eintr_retry_call
return func(*args)
File "/Users/tarek/Dev/github.com/circus/circus/sighandler.py", line 35, in signal
self.skt.send(self.CMD_MAP[signame])
KeyError: 'winch'