Traceback (most recent call last):


 "/home/uddeshya/venv/lib/python3.5/site-packages/flask/app.py", line 2309, in __call__

return self.wsgi_app(environ, start_response)


 "/home/uddeshya/Desktop/mySetup/open-event-server/app/__init__.py", line 67, in __call__

return self.app(environ, start_response)


 "/home/uddeshya/venv/lib/python3.5/site-packages/flask/app.py", line 2295, in wsgi_app

response = self.handle_exception(e)


 "/home/uddeshya/venv/lib/python3.5/site-packages/flask_cors/extension.py", line 161, in wrapped_function

return cors_after_request(app.make_response(f(*args, **kwargs)))


 "/home/uddeshya/venv/lib/python3.5/site-packages/flask_cors/extension.py", line 161, in wrapped_function

return cors_after_request(app.make_response(f(*args, **kwargs)))


 "/home/uddeshya/venv/lib/python3.5/site-packages/flask/app.py", line 1741, in handle_exception

reraise(exc_type, exc_value, tb)


 "/home/uddeshya/venv/lib/python3.5/site-packages/flask/_compat.py", line 35, in reraise

raise value


 "/home/uddeshya/venv/lib/python3.5/site-packages/flask/app.py", line 2292, in wsgi_app

response = self.full_dispatch_request()


 "/home/uddeshya/venv/lib/python3.5/site-packages/flask/app.py", line 1815, in full_dispatch_request

rv = self.handle_user_exception(e)


 "/home/uddeshya/venv/lib/python3.5/site-packages/flask_cors/extension.py", line 161, in wrapped_function

return cors_after_request(app.make_response(f(*args, **kwargs)))


 "/home/uddeshya/venv/lib/python3.5/site-packages/flask_cors/extension.py", line 161, in wrapped_function

return cors_after_request(app.make_response(f(*args, **kwargs)))


 "/home/uddeshya/venv/lib/python3.5/site-packages/flask/app.py", line 1718, in handle_user_exception

reraise(exc_type, exc_value, tb)


 "/home/uddeshya/venv/lib/python3.5/site-packages/flask/_compat.py", line 35, in reraise

raise value


 "/home/uddeshya/venv/lib/python3.5/site-packages/flask/app.py", line 1813, in full_dispatch_request

rv = self.dispatch_request()


 "/home/uddeshya/venv/lib/python3.5/site-packages/flask/app.py", line 1799, in dispatch_request

return self.view_functions[rule.endpoint](**req.view_args)


 "/home/uddeshya/venv/src/flask-rest-jsonapi/flask_rest_jsonapi/api.py", line 133, in decorated

return self.check_permissions(view, view_args, view_kwargs, *args, **kwargs)


 "/home/uddeshya/Desktop/mySetup/open-event-server/app/api/helpers/permission_manager.py", line 439, in permission_manager

return permissions[args[0]](view, view_args, view_kwargs, *args, **kwargs)


 "/home/uddeshya/Desktop/mySetup/open-event-server/app/api/helpers/permissions.py", line 45, in decorator

return fn(*args, **kwargs)


 "/home/uddeshya/Desktop/mySetup/open-event-server/app/api/helpers/permission_manager.py", line 38, in is_admin

return view(*view_args, **view_kwargs)


 "/home/uddeshya/venv/src/flask-rest-jsonapi/flask_rest_jsonapi/decorators.py", line 32, in wrapper

return func(*args, **kwargs)


 "/home/uddeshya/venv/lib/python3.5/site-packages/flask/views.py", line 88, in view

return self.dispatch_request(*args, **kwargs)


 "/home/uddeshya/venv/src/flask-rest-jsonapi/flask_rest_jsonapi/resource.py", line 68, in dispatch_request

response = method(*args, **kwargs)


 "/home/uddeshya/venv/src/flask-rest-jsonapi/flask_rest_jsonapi/decorators.py", line 56, in wrapper

return func(*args, **kwargs)


 "/home/uddeshya/venv/src/flask-rest-jsonapi/flask_rest_jsonapi/resource.py", line 161, in get

url_for(self.view, **view_kwargs))


 "/home/uddeshya/venv/src/flask-rest-jsonapi/flask_rest_jsonapi/pagination.py", line 53, in add_pagination_links

data['links'] = links
TypeError: list indices must be integers or slices, not str

Traceback (most recent call last):


 "C:\Users\Shivam\Anaconda2\envs\tensor3\lib\site-packages\spyder\widgets\editor.py", line 2206, in dragEnterEvent

text = [encoding.is_text_file(url) for url in all_urls]
TypeError: 'NoneType' object is not iterable
