2017-12-12 122 views
5

seler pracownika (część kolby APP) jest zabity przed rozpoczęciem:Seler Process 'Pracownik' wyszedł z 'kodem błędu 1'

parametry konfiguracyjne Seler (Windows, Seler 1.3.25, RabbitMQ (najnowsza))

flask_app = Flask(__name__) 
flask_app.secret_key = 'some_secret' 
flask_app.config['CELERY_BROKER_URL'] = 'amqp://localhost/' 
flask_app.config['CELERY_RESULT_BACKEND'] = 'amqp://localhost/' 

flask_app.config['CELERY_ACCEPT_CONTENT'] = ['json'] 
flask_app.config['CELERY_TASK_SERIALIZER'] = 'json' 
flask_app.config['CELERY_RESULT_SERIALIZER'] = 'json' 
flask_app.config['CELERY_IGNORE_RESULT'] = True 

flask_app.config['CELERY_ROUTES'] = {'task': {'queue': 'agent_queue'}} 
flask_app.config['CELERY_IMPORTS'] = ['Monitor.app'] 

Rezultat:

-------------- celery-01 v3.1.25 (Cipater) 
---- **** ----- 
--- * *** * -- Windows-7-SP1 
-- * - **** --- 
- ** ---------- [config] 
- ** ---------- .> app:   MonitorSetup.app:0x4aad030 
- ** ---------- .> transport: amqp://guest:**@localhost:5672// 
- ** ---------- .> results:  amqp:// 
- *** --- * --- .> concurrency: 4 (prefork) 
-- ******* ---- 
--- ***** ----- [queues] 
-------------- .> celery   exchange=celery(direct) key=celery 


[tasks] 
    . Monitor.app.task 

[2017-12-12 11:39:08,266: INFO/MainProcess] Connected to amqp://guest:**@127.0.0.1:5672// 
[2017-12-12 11:39:08,390: INFO/MainProcess] mingle: searching for neighbors 
[2017-12-12 11:39:09,496: INFO/MainProcess] mingle: all alone 
[2017-12-12 11:39:09,526: WARNING/MainProcess] celery-01 ready. 
[2017-12-12 11:39:11,930: ERROR/MainProcess] Process 'Worker-4' pid:15512 exited with 'exitcode 1' 
[2017-12-12 11:39:11,930: ERROR/MainProcess] Process 'Worker-3' pid:11704 exited with 'exitcode 1' 
[2017-12-12 11:39:11,931: ERROR/MainProcess] Process 'Worker-2' pid:18656 exited with 'exitcode 1' 
[2017-12-12 11:39:11,931: ERROR/MainProcess] Process 'Worker-1' pid:6060 exited with 'exitcode 1' 
[2017-12-12 11:39:15,244: ERROR/MainProcess] Process 'Worker-8' pid:13520 exited with 'exitcode 1' 
[2017-12-12 11:39:15,246: ERROR/MainProcess] Process 'Worker-7' pid:11880 exited with 'exitcode 1' 
[2017-12-12 11:39:15,249: ERROR/MainProcess] Process 'Worker-6' pid:9488 exited with 'exitcode 1' 
[2017-12-12 11:39:15,250: ERROR/MainProcess] Process 'Worker-5' pid:11712 exited with 'exitcode 1' 

Praca z selera już od jakiegoś czasu, ale nigdy nie miał tych problemów przed

+0

Z której wersji systemu Windows korzystasz? Mam to działa doskonale na Windows 7, ale uruchomienie dokładnie tego samego kodu na serwerze Windows 2008 powoduje ten dokładny problem. – Harlekuin

Odpowiedz

0

Uważam, że to dlatego, że seler 3.1.25 jest dostarczany w pakiecie z bilardem 3.3.

Jeśli uaktualnisz ten pakiet (do 3.5 w chwili pisania), usługa powinna działać ponownie.

pip install --upgrade billiard