AlertaDengue / AlertaDengue/AlertaDengueCaptura

Fix celery tasks

未關閉
#88 0 則留言 0 個 reaction 已指派 1 人 已被 @esloch 認領 在 GitHub 檢視
主要語言
Jupyter Notebook
星號
6
分支
11
PR 合併指標
30 天內沒有已合併 PR

描述

- Tweets
- Pegatemperatura
```
Traceback (most recent call last):
File "/AlertaDengueCaptura/crawlclima/pegatweets.py", line 50, in
pega_tweets.delay(
File "/opt/conda/lib/python3.10/site-packages/celery/app/task.py", line 422, in delay
return self.apply_async(args, kwargs)
File "/opt/conda/lib/python3.10/site-packages/celery/app/task.py", line 572, in apply_async
return app.send_task(
File "/opt/conda/lib/python3.10/site-packages/celery/app/base.py", line 767, in send_task
amqp.send_task_message(P, name, message, **options)
File "/opt/conda/lib/python3.10/site-packages/celery/app/amqp.py", line 510, in send_task_message
ret = producer.publish(
File "/opt/conda/lib/python3.10/site-packages/kombu/messaging.py", line 177, in publish
return _publish(
File "/opt/conda/lib/python3.10/site-packages/kombu/connection.py", line 523, in _ensured
return fun(*args, **kwargs)
File "/opt/conda/lib/python3.10/site-packages/kombu/messaging.py", line 186, in _publish
channel = self.channel
File "/opt/conda/lib/python3.10/site-packages/kombu/messaging.py", line 209, in _get_channel
channel = self._channel = channel()
File "/opt/conda/lib/python3.10/site-packages/kombu/utils/functional.py", line 32, in __call__
value = self.__value__ = self.__contract__()
File "/opt/conda/lib/python3.10/site-packages/kombu/messaging.py", line 225, in
channel = ChannelPromise(lambda: connection.default_channel)
File "/opt/conda/lib/python3.10/site-packages/kombu/connection.py", line 895, in default_channel
self._ensure_connection(**conn_opts)
File "/opt/conda/lib/python3.10/site-packages/kombu/connection.py", line 432, in _ensure_connection
with ctx():
File "/opt/conda/lib/python3.10/contextlib.py", line 153, in __exit__
self.gen.throw(typ, value, traceback)
File "/opt/conda/lib/python3.10/site-packages/kombu/connection.py", line 450, in _reraise_as_library_errors
raise ConnectionError(str(exc)) from exc
kombu.exceptions.OperationalError: [Errno -2] Name or service not kno
```

貢獻指南

這個儲存庫沒有索引到貢獻指南

評估

這個 Issue 還沒有評估資料。

把新 issue 寄到你的電子郵件信箱

精選適合新手參與的 GitHub issue 摘要。