Page MenuHomeSoftware Heritage
Paste P1530

(An Untitled Masterwork)
ActivePublic

Authored by douardda on Nov 22 2022, 11:35 AM.
~/s/f/deploy  docker compose run --rm api python manage.py migrate
WARN[0000] Found orphan containers ([deploy-nginx-1]) for this project. If you removed or renamed this service in your compose file, you can run this command with the --remove-orphans flag to clean it up.
[+] Running 2/0
⠿ Container deploy-redis-1 Created 0.0s
⠿ Container deploy-postgres-1 Running 0.0s
[+] Running 1/1
⠿ Container deploy-redis-1 Started 0.4s
Traceback (most recent call last):
File "/app/manage.py", line 16, in <module>
django.setup()
File "/venv/lib/python3.10/site-packages/django/__init__.py", line 24, in setup
apps.populate(settings.INSTALLED_APPS)
File "/venv/lib/python3.10/site-packages/django/apps/registry.py", line 91, in populate
app_config = AppConfig.create(entry)
File "/venv/lib/python3.10/site-packages/django/apps/config.py", line 124, in create
mod = import_module(mod_path)
File "/usr/lib/python3.10/importlib/__init__.py", line 126, in import_module
return _bootstrap._gcd_import(name[level:], package, level)
File "<frozen importlib._bootstrap>", line 1050, in _gcd_import
File "<frozen importlib._bootstrap>", line 1027, in _find_and_load
File "<frozen importlib._bootstrap>", line 1006, in _find_and_load_unlocked
File "<frozen importlib._bootstrap>", line 688, in _load_unlocked
File "<frozen importlib._bootstrap_external>", line 883, in exec_module
File "<frozen importlib._bootstrap>", line 241, in _call_with_frames_removed
File "/venv/lib/python3.10/site-packages/daphne/apps.py", line 6, in <module>
import daphne.server # noqa: F401
File "/venv/lib/python3.10/site-packages/daphne/server.py", line 7, in <module>
from twisted.internet import asyncioreactor # isort:skip
File "/venv/lib/python3.10/site-packages/twisted/internet/asyncioreactor.py", line 19, in <module>
from twisted.internet.posixbase import (
File "/venv/lib/python3.10/site-packages/twisted/internet/posixbase.py", line 19, in <module>
from twisted.internet import error, tcp, udp
File "/venv/lib/python3.10/site-packages/twisted/internet/tcp.py", line 38, in <module>
from twisted.internet._newtls import (
File "/venv/lib/python3.10/site-packages/twisted/internet/_newtls.py", line 18, in <module>
from twisted.protocols.tls import TLSMemoryBIOFactory, TLSMemoryBIOProtocol
File "/venv/lib/python3.10/site-packages/twisted/protocols/tls.py", line 50, in <module>
Connection(Context(TLSv1_METHOD), None)
File "/venv/lib/python3.10/site-packages/OpenSSL/SSL.py", line 674, in __init__
res = _lib.SSL_CTX_set_ecdh_auto(context, 1)
AttributeError: module 'lib' has no attribute 'SSL_CTX_set_ecdh_auto'