django-DefectDojo icon indicating copy to clipboard operation
django-DefectDojo copied to clipboard

Error While Setup.bash in latest dev build

Open stayfr0sty141 opened this issue 6 years ago • 2 comments

Finished setup but when try to run manage.py come this error

Traceback (most recent call last): File "manage.py", line 11, in execute_from_command_line(sys.argv) File "/home/xchop3r16/.local/lib/python3.6/site-packages/django/core/management/init.py", line 401, in execute_from_command_line utility.execute() File "/home/xchop3r16/.local/lib/python3.6/site-packages/django/core/management/init.py", line 345, in execute settings.INSTALLED_APPS File "/home/xchop3r16/.local/lib/python3.6/site-packages/django/conf/init.py", line 76, in getattr self._setup(name) File "/home/xchop3r16/.local/lib/python3.6/site-packages/django/conf/init.py", line 63, in _setup self._wrapped = Settings(settings_module) File "/home/xchop3r16/.local/lib/python3.6/site-packages/django/conf/init.py", line 142, in init mod = importlib.import_module(self.SETTINGS_MODULE) File "/usr/lib/python3.6/importlib/init.py", line 126, in import_module return _bootstrap._gcd_import(name[level:], package, level) File "", line 994, in _gcd_import File "", line 971, in _find_and_load File "", line 955, in _find_and_load_unlocked File "", line 665, in _load_unlocked File "", line 678, in exec_module File "", line 219, in _call_with_frames_removed File "/home/xchop3r16/Documents/django-DefectDojo-dev/dojo/settings/settings.py", line 5, in import environ File "/home/xchop3r16/.local/lib/python3.6/site-packages/environ.py", line 114 raise ValueError, "No frame marked with %s." % fname ^ SyntaxError: invalid syntax

image

stayfr0sty141 avatar Apr 21 '20 14:04 stayfr0sty141

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

stale[bot] avatar Jul 20 '20 15:07 stale[bot]

@valentijnscholten posted this in Slack which helped me https://stackoverflow.com/questions/40226817/syntax-error-django1-10-1-when-doing-py-3-5-manage-py-runserver

37b avatar Nov 02 '20 21:11 37b