Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Index.html not found when running the server.. #25

Open
luissantos27 opened this issue Apr 18, 2020 · 0 comments
Open

Index.html not found when running the server.. #25

luissantos27 opened this issue Apr 18, 2020 · 0 comments

Comments

@luissantos27
Copy link

Environment:


Request Method: GET
Request URL: http://localhost:8000/

Django Version: 1.11.6
Python Version: 3.7.5
Installed Applications:
['django_extensions',
 'rest_framework',
 'cointrol.core',
 'cointrol.server',
 'cointrol.trader',
 'django.contrib.admin',
 'django.contrib.auth',
 'django.contrib.contenttypes',
 'django.contrib.sessions',
 'django.contrib.staticfiles']
Installed Middleware:
['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']



Traceback:

File "/home/popey/Cointrol/virtualenv/lib/python3.7/site-packages/django/core/handlers/exception.py" in inner
  41.             response = get_response(request)

File "/home/popey/Cointrol/virtualenv/lib/python3.7/site-packages/django/core/handlers/base.py" in _legacy_get_response
  249.             response = self._get_response(request)

File "/home/popey/Cointrol/virtualenv/lib/python3.7/site-packages/django/core/handlers/base.py" in _get_response
  187.                 response = self.process_exception_by_middleware(e, request)

File "/home/popey/Cointrol/virtualenv/lib/python3.7/site-packages/django/core/handlers/base.py" in _get_response
  185.                 response = wrapped_callback(request, *callback_args, **callback_kwargs)

File "/home/popey/Cointrol/cointrol/cointrol/server/urls.py" in index_view
  25.         with open(INDEX_FILE_PATH, 'r') as index:

Exception Type: FileNotFoundError at /
Exception Value: [Errno 2] No such file or directory: '/home/popey/Cointrol/cointrol/webapp/public/index.html'

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant