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: Whenever I am trying to download the excel sheet. I am getting an error saying Type Error. #4

Open
avikmrr opened this issue Oct 20, 2016 · 0 comments
Assignees

Comments

@avikmrr
Copy link

avikmrr commented Oct 20, 2016

LINK: http://127.0.0.1:8000/weather/history/

TypeError at /weather/history/
unsupported operand type(s) for -: 'NoneType' and 'NoneType'
Request Method: POST
Request URL: http://127.0.0.1:8000/weather/history/
Django Version: 1.8
Exception Type: TypeError
Exception Value:
unsupported operand type(s) for -: 'NoneType' and 'NoneType'
Exception Location: /Users/Desktop/virtualenv/lib/python2.7/site-packages/xlsxwriter/worksheet.py in _isinf, line 4517
Python Executable: /Users/avinash.af.kumar/Desktop/virtualenv/bin/python
Python Version: 2.7.10
Python Path:
['/Users/Desktop/python-django-exporting-files-master',
'/Users/Desktop/virtualenv/lib/python27.zip',
'/Users/Desktop/virtualenv/lib/python2.7',
'/Users/Desktop/virtualenv/lib/python2.7/plat-darwin',
'/Users/Desktop/virtualenv/lib/python2.7/plat-mac',
'/Users/Desktop/virtualenv/lib/python2.7/plat-mac/lib-scriptpackages',
'/Users/Desktop/virtualenv/lib/python2.7/lib-tk',
'/Users/Desktop/virtualenv/lib/python2.7/lib-old',
'/Users/Desktop/virtualenv/lib/python2.7/lib-dynload',
'/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7',
'/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/plat-darwin',
'/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/lib-tk',
'/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/plat-mac',
'/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/plat-mac/lib-scriptpackages',
'/Users/Desktop/virtualenv/lib/python2.7/site-packages']
Server time: Thu, 20 Oct 2016 07:04:07 +0000

Please help me fix this error. Thanks in advance.

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

3 participants