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

TypeError on login #60

Closed
Baschdl opened this issue Apr 4, 2018 · 1 comment
Closed

TypeError on login #60

Baschdl opened this issue Apr 4, 2018 · 1 comment
Labels
bug Something isn't working

Comments

@Baschdl
Copy link
Member

Baschdl commented Apr 4, 2018

[2018-04-04 07:39:10,274] ERROR in app: Exception on /login [POST]
Traceback (most recent call last):
  File "/usr/local/lib/python3.5/dist-packages/flask/app.py", line 1982, in wsgi_app
    response = self.full_dispatch_request()
  File "/usr/local/lib/python3.5/dist-packages/flask/app.py", line 1614, in full_dispatch_request
    rv = self.handle_user_exception(e)
  File "/usr/local/lib/python3.5/dist-packages/flask_cors/extension.py", line 161, in wrapped_function
    return cors_after_request(app.make_response(f(*args, **kwargs)))
  File "/usr/local/lib/python3.5/dist-packages/flask/app.py", line 1517, in handle_user_exception
    reraise(exc_type, exc_value, tb)
  File "/usr/local/lib/python3.5/dist-packages/flask/_compat.py", line 33, in reraise
    raise value
  File "/usr/local/lib/python3.5/dist-packages/flask/app.py", line 1612, in full_dispatch_request
    rv = self.dispatch_request()
  File "/usr/local/lib/python3.5/dist-packages/flask/app.py", line 1598, in dispatch_request
    return self.view_functions[rule.endpoint](**req.view_args)
  File "/32de-python/api/server.py", line 53, in login
    meta_path_loader = MetaPathLoaderDispatcher().get_loader(session['dataset'])
  File "/32de-python/util/meta_path_loader_dispatcher.py", line 50, in get_loader
    return self.dataset_to_loader[dataset]
TypeError: unhashable type: 'dict'
@Baschdl Baschdl added the bug Something isn't working label Apr 4, 2018
@juliusrueckin
Copy link

Done

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants