tactlabs / error-archive

All issues related to tact and tact labs work
0 stars 0 forks source link

2 #252

Open rajacsp opened 4 years ago

rajacsp commented 4 years ago
Traceback (most recent call last):
  File "/Users/rj/anaconda3/envs/py36/lib/python3.6/site-packages/flask/app.py", line 2292, in wsgi_app
    response = self.full_dispatch_request()
  File "/Users/rj/anaconda3/envs/py36/lib/python3.6/site-packages/flask/app.py", line 1815, in full_dispatch_request
    rv = self.handle_user_exception(e)
  File "/Users/rj/anaconda3/envs/py36/lib/python3.6/site-packages/flask/app.py", line 1718, in handle_user_exception
    reraise(exc_type, exc_value, tb)
  File "/Users/rj/anaconda3/envs/py36/lib/python3.6/site-packages/flask/_compat.py", line 35, in reraise
    raise value
  File "/Users/rj/anaconda3/envs/py36/lib/python3.6/site-packages/flask/app.py", line 1813, in full_dispatch_request
    rv = self.dispatch_request()
  File "/Users/rj/anaconda3/envs/py36/lib/python3.6/site-packages/flask/app.py", line 1799, in dispatch_request
    return self.view_functions[rule.endpoint](**req.view_args)
  File "/Users/rj/projects/tact-api-2/rest_api/event_controller.py", line 91, in add_event_api
    tr_flag, eventid = event_service.add_event(event_type, title, content, registration_fee, start_date, end_date)
  File "/Users/rj/projects/tact-api-2/services/event_service.py", line 82, in add_event
    return False, userid
NameError: name 'userid' is not defined
2019-08-18 14:34:42 127.0.0.1 - - [18/Aug/2019 14:34:42] "POST /event/add?event_type=mock%20interview&title=Mock%20Interview%20-%20July&content=July%20interview%20is%20on&registration_fee=20&start_date=2019-08-18&end_date=2019-08-20 HTTP/1.1" 500 -