certsocietegenerale / FIR

Fast Incident Response
GNU General Public License v3.0
1.72k stars 507 forks source link

Error on building using docker compose (cannot import name 'ugettext_lazy' from 'django.utils.translation') #287

Closed dante-asriel-price closed 1 year ago

dante-asriel-price commented 2 years ago

Trying to stand up FIR on Ubuntu 22.04 and when it gets to app/incidents/models.py I get the error shown below File "/app/incidents/models.py", line 8, in from django.utils.translation import ugettextlazy as ImportError: cannot import name 'ugettext_lazy' from 'django.utils.translation' (/app/venv/lib/python3.8/site-packages/django/utils/translation/init.py)

EDIT: I downloaded the latest release from the github page

Augustin-FL commented 2 years ago

Hi,

Seems that you are NOT using the latest version

ugettext_lazy was removed from incidents/models.py, line 8 during January 2022

Could you please try to get the latest version and see if it works?

Edit : I get what you mean, you downloaded FIR from the GitHub release page. A new release will be made soon

Augustin-FL commented 2 years ago

Should be good now. Could you download the latest release and retry?

Augustin-FL commented 1 year ago

I will close this issue. Feel free to reopen it if needed