Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- 127.0.0.1 - - [30/Aug/2015 14:55:30] "POST /api/course/create HTTP/1.1" 500 -
- Traceback (most recent call last):
- File "/home/harshit/workspace/splash-website/venv/lib/python3.4/site-packages/flask/app.py", line 1836, in __call__
- return self.wsgi_app(environ, start_response)
- File "/home/harshit/workspace/splash-website/venv/lib/python3.4/site-packages/flask/app.py", line 1820, in wsgi_app
- response = self.make_response(self.handle_exception(e))
- File "/home/harshit/workspace/splash-website/venv/lib/python3.4/site-packages/flask_restful/__init__.py", line 270, in error_router
- return original_handler(e)
- File "/home/harshit/workspace/splash-website/venv/lib/python3.4/site-packages/flask/app.py", line 1403, in handle_exception
- reraise(exc_type, exc_value, tb)
- File "/home/harshit/workspace/splash-website/venv/lib/python3.4/site-packages/flask/_compat.py", line 33, in reraise
- raise value
- File "/home/harshit/workspace/splash-website/venv/lib/python3.4/site-packages/flask/app.py", line 1817, in wsgi_app
- response = self.full_dispatch_request()
- File "/home/harshit/workspace/splash-website/venv/lib/python3.4/site-packages/flask/app.py", line 1477, in full_dispatch_request
- rv = self.handle_user_exception(e)
- File "/home/harshit/workspace/splash-website/venv/lib/python3.4/site-packages/flask_restful/__init__.py", line 270, in error_router
- return original_handler(e)
- File "/home/harshit/workspace/splash-website/venv/lib/python3.4/site-packages/flask/app.py", line 1381, in handle_user_exception
- reraise(exc_type, exc_value, tb)
- File "/home/harshit/workspace/splash-website/venv/lib/python3.4/site-packages/flask/_compat.py", line 33, in reraise
- raise value
- File "/home/harshit/workspace/splash-website/venv/lib/python3.4/site-packages/flask/app.py", line 1475, in full_dispatch_request
- rv = self.dispatch_request()
- File "/home/harshit/workspace/splash-website/venv/lib/python3.4/site-packages/flask/app.py", line 1461, in dispatch_request
- return self.view_functions[rule.endpoint](**req.view_args)
- File "/home/harshit/workspace/splash-website/splash/auth/decorators.py", line 17, in decorator
- return f(*args, **kwargs)
- File "/home/harshit/workspace/splash-website/venv/lib/python3.4/site-packages/flask/views.py", line 84, in view
- return self.dispatch_request(*args, **kwargs)
- File "/home/harshit/workspace/splash-website/venv/lib/python3.4/site-packages/flask/views.py", line 149, in dispatch_request
- return meth(*args, **kwargs)
- File "/home/harshit/workspace/splash-website/splash/views/form/splash_form_view.py", line 31, in post
- if form.validate_on_submit():
- File "/home/harshit/workspace/splash-website/venv/lib/python3.4/site-packages/flask_wtf/form.py", line 166, in validate_on_submit
- return self.is_submitted() and self.validate()
- File "/home/harshit/workspace/splash-website/venv/lib/python3.4/site-packages/wtforms/form.py", line 310, in validate
- return super(Form, self).validate(extra)
- File "/home/harshit/workspace/splash-website/venv/lib/python3.4/site-packages/wtforms/form.py", line 152, in validate
- if not field.validate(self, extra):
- File "/home/harshit/workspace/splash-website/venv/lib/python3.4/site-packages/wtforms/fields/core.py", line 200, in validate
- stop_validation = self._run_validation_chain(form, chain)
- File "/home/harshit/workspace/splash-website/venv/lib/python3.4/site-packages/wtforms/fields/core.py", line 220, in _run_validation_chain
- validator(form, self)
- File "/home/harshit/workspace/splash-website/venv/lib/python3.4/site-packages/wtforms/validators.py", line 132, in __call__
- if data is None or (self.min is not None and data < self.min) or \
- TypeError: unorderable types: str() < int()
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement