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

Error on Get Session #86

Open
shehreyarahmedkohati opened this issue Aug 24, 2020 · 2 comments
Open

Error on Get Session #86

shehreyarahmedkohati opened this issue Aug 24, 2020 · 2 comments

Comments

@shehreyarahmedkohati
Copy link

Python Executable: /usr/bin/python
Python Version: 2.7.17
Ubuntu 18.04 Desktop

After running a plugin, when I click to see the result I get error

Request Method: GET
Request URL: http://0.0.0.0:8000/session/5f438d08cf54a87db9ec6da4/

Django Version: 1.11.29
Python Version: 2.7.17
Installed Applications:
['django.contrib.auth',
'django.contrib.contenttypes',
'django.contrib.sessions',
'django.contrib.messages',
'django.contrib.staticfiles',
'django.contrib.admin',
'web']
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.auth.middleware.SessionAuthenticationMiddleware',
'django.contrib.messages.middleware.MessageMiddleware',
'django.middleware.clickjacking.XFrameOptionsMiddleware']

Traceback:

File "/usr/local/lib/python2.7/dist-packages/django/core/handlers/exception.py" in inner
41. response = get_response(request)

File "/usr/local/lib/python2.7/dist-packages/django/core/handlers/base.py" in _legacy_get_response
249. response = self._get_response(request)

File "/usr/local/lib/python2.7/dist-packages/django/core/handlers/base.py" in _get_response
187. response = self.process_exception_by_middleware(e, request)

File "/usr/local/lib/python2.7/dist-packages/django/core/handlers/base.py" in _get_response
185. response = wrapped_callback(request, *callback_args, **callback_kwargs)

File "/home/digit/VolUtility/web/views.py" in session_page
263. if float(vol_interface.vol_version) < 2.5:

Exception Type: ValueError at /session/5f438d08cf54a87db9ec6da4/
Exception Value: invalid literal for float(): 2.6.1

@shehreyarahmedkohati
Copy link
Author

Please help!!

@garanews
Copy link

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

2 participants