Closed yodapotatofly closed 3 years ago
When installing python requirements for Scirius from requirements.txt, latest version of django-webpack-loader gets installed. This causes the following error :
requirements.txt
django-webpack-loader
Simplest workaround is to set django-webpack-loader==0.7 in requirements.txt https://github.com/StamusNetworks/scirius/blob/2125ecfa4fdda70a900a6f4f720183b41bf25add/requirements.txt#L27
django-webpack-loader==0.7
When installing python requirements for Scirius from![image](https://user-images.githubusercontent.com/29150345/121915676-b80fc700-cd33-11eb-8d9b-d99499778756.png)
requirements.txt
, latest version ofdjango-webpack-loader
gets installed. This causes the following error :Show Traceback
``` Environment: Request Method: GET Request URL: https://10.136.0.51/rules/hunt Django Version: 2.2.24 Python Version: 3.8.6 Installed Applications: ('django.contrib.auth', 'django.contrib.contenttypes', 'django.contrib.sessions', 'django.contrib.messages', 'django.contrib.staticfiles', 'django_tables2', 'bootstrap3', 'dbbackup', 'viz', 'rules', 'suricata', 'accounts', 'rest_framework', 'rest_framework.authtoken', 'django_filters', 'webpack_loader', 'revproxy') Installed Middleware: ['django.middleware.security.SecurityMiddleware', 'django.contrib.sessions.middleware.SessionMiddleware', 'django.middleware.common.CommonMiddleware', 'django.middleware.csrf.CsrfViewMiddleware', 'django.contrib.auth.middleware.AuthenticationMiddleware', 'django.contrib.messages.middleware.MessageMiddleware', 'django.middleware.clickjacking.XFrameOptionsMiddleware', 'scirius.loginrequired.LoginRequiredMiddleware', 'scirius.utils.TimezoneMiddleware', 'csp.middleware.CSPMiddleware', 'django_cprofile_middleware.middleware.ProfilerMiddleware'] Template error: In template /opt/scirius/rules/templates/rules/hunt.html, error at line 15 assets 5 : 6 : 7 : 8 : 9 :Simplest workaround is to set
django-webpack-loader==0.7
inrequirements.txt
https://github.com/StamusNetworks/scirius/blob/2125ecfa4fdda70a900a6f4f720183b41bf25add/requirements.txt#L27