Skip to content

Instantly share code, notes, and snippets.

@russellballestrini
Created October 14, 2020 14:16
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save russellballestrini/cb8e25c728a85efbe25b92d038eb59f8 to your computer and use it in GitHub Desktop.
Save russellballestrini/cb8e25c728a85efbe25b92d038eb59f8 to your computer and use it in GitHub Desktop.
*** Starting uWSGI 2.0.19.1 (64bit) on [Tue Oct 13 16:22:12 2020] ***
*** Starting uWSGI 2.0.19.1 (64bit) on [Tue Oct 13 16:22:12 2020] ***
compiled with version: 8.3.0 on 13 October 2020 15:53:38
os: Linux-4.14.193-149.317.amzn2.x86_64 #1 SMP Thu Sep 3 19:04:44 UTC 2020
nodename: ip-10-100-9-21.ec2.internal
machine: x86_64
clock source: unix
detected number of CPU cores: 2
current working directory: /app
detected binary path: /usr/local/bin/uwsgi
!!! no internal routing support, rebuild with pcre support !!!
*** WARNING: you are running uWSGI without its master process manager ***
your memory page size is 4096 bytes
detected max file descriptor number: 1024
lock engine: pthread robust mutexes
thunder lock: disabled (you can enable it with --thunder-lock)
uwsgi socket 0 bound to TCP address 0.0.0.0:3031 fd 3
Python version: 3.6.12 (default, Sep 10 2020, 18:03:29) [GCC 8.3.0]
Python main interpreter initialized at 0x5622f3daf4b0
python threads support enabled
your server socket listen backlog is limited to 100 connections
your mercy for graceful operations on workers is 60 seconds
mapped 166688 bytes (162 KB) for 4 cores
*** Operational MODE: preforking+threaded ***
enabling audit logging
ready(): initializing watson
WSGI app 0 (mountpoint='') ready in 6 seconds on interpreter 0x5622f3daf4b0 pid: 1 (default app)
*** uWSGI is running in multiple interpreter mode ***
spawned uWSGI worker 1 (pid: 1, cores: 2)
spawned uWSGI worker 2 (pid: 11, cores: 2)
Internal Server Error: /login
Traceback (most recent call last):
File "/usr/local/lib/python3.6/site-packages/django/core/handlers/exception.py", line 34, in inner
response = get_response(request)
File "/usr/local/lib/python3.6/site-packages/django/utils/deprecation.py", line 93, in __call__
response = self.process_request(request)
File "/usr/local/lib/python3.6/site-packages/django/middleware/common.py", line 52, in process_request
if self.should_redirect_with_slash(request):
File "/usr/local/lib/python3.6/site-packages/django/middleware/common.py", line 70, in should_redirect_with_slash
not is_valid_path(request.path_info, urlconf) and
File "/usr/local/lib/python3.6/site-packages/django/urls/base.py", line 157, in is_valid_path
resolve(path, urlconf)
File "/usr/local/lib/python3.6/site-packages/django/urls/base.py", line 24, in resolve
return get_resolver(urlconf).resolve(path)
File "/usr/local/lib/python3.6/site-packages/django/urls/resolvers.py", line 536, in resolve
for pattern in self.url_patterns:
File "/usr/local/lib/python3.6/site-packages/django/utils/functional.py", line 80, in __get__
res = instance.__dict__[self.name] = self.func(instance)
File "/usr/local/lib/python3.6/site-packages/django/urls/resolvers.py", line 584, in url_patterns
patterns = getattr(self.urlconf_module, "urlpatterns", self.urlconf_module)
File "/usr/local/lib/python3.6/site-packages/django/utils/functional.py", line 80, in __get__
res = instance.__dict__[self.name] = self.func(instance)
File "/usr/local/lib/python3.6/site-packages/django/urls/resolvers.py", line 577, in urlconf_module
return import_module(self.urlconf_name)
File "/usr/local/lib/python3.6/importlib/__init__.py", line 126, in import_module
return _bootstrap._gcd_import(name[level:], package, level)
File "<frozen importlib._bootstrap>", line 994, in _gcd_import
File "<frozen importlib._bootstrap>", line 971, in _find_and_load
File "<frozen importlib._bootstrap>", line 955, in _find_and_load_unlocked
File "<frozen importlib._bootstrap>", line 665, in _load_unlocked
File "<frozen importlib._bootstrap_external>", line 678, in exec_module
File "<frozen importlib._bootstrap>", line 219, in _call_with_frames_removed
File "./dojo/urls.py", line 25, in <module>
from dojo.api_v2.views import EndPointViewSet, EngagementViewSet, \
File "./dojo/api_v2/views.py", line 23, in <module>
from dojo.filters import ReportFindingFilter, ReportAuthedFindingFilter, ApiFindingFilter, ApiProductFilter
ImportError: cannot import name 'ApiFindingFilter'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment