Closed darshmashru closed 1 month ago
Hi @darshmashru , Thanks for pointing out the issue, the requirements files was overwritten from a commit and we haven't noticed it. We have updated the requirements file with changes in the Django version details. Please check.
With Regards, Team Horilla
Perfect, I saw the commit (https://github.com/horilla-opensource/horilla/commit/6460fd19b9d4abfe505db45517a565453f58857a) and this issue ideally should now be fixed and should work for everyone installing Horilla using the shell script provided or Docker.
Bug Report
Description
ModuleNotFoundError: No module named 'django.utils.datetime_safe' django
Steps to Reproduce
Installing Horilla using the Shell Script provided. (https://www.horilla.com/docs/installation-using-shell-script/)
./horilla_install_ubuntu.sh #for Ubuntu
Connecting to Horilla on port 8000.
OR
Using Docker to run Horilla (https://github.com/horilla-opensource/horilla/blob/master/docker.md)
docker compose up
Connecting to Horilla on port 8000.
Expected Behavior
It should open the login page for Horilla
Actual Behavior
It shows the message "Internal Server Error"
In the logs it shows:
ModuleNotFoundError: No module named 'django.utils.datetime_safe' django
Screenshots
Environment
Additional Information
I think the reason this is happening is because django.utils.datetime_safe module has been removed in Django v5.0 (https://github.com/django-haystack/django-haystack/issues/1902). Django version has been set to v4.2.11 on the Release Tag (https://github.com/horilla-opensource/horilla/commit/098634caff474c998f83b11828732f554fb47c7e)
Possible Solution
You can try one of the 3 possible solutions:
Labels
Bug
Priority
Medium