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

Loading QEC fails with internal server error #11

Open
tomasbbb opened this issue May 27, 2020 · 0 comments
Open

Loading QEC fails with internal server error #11

tomasbbb opened this issue May 27, 2020 · 0 comments

Comments

@tomasbbb
Copy link

Linux Ubuntu 16.04

  1. Starting eIDAS bridge as a cotainer.
    Note: Werkzeug python library manually set to version 0.16.1 in requirements.demo.txt, otherwise docker does not start.
  2. Go to http://localhost:5002/
  3. Try load-qec "message": "Internal Server Error", console output:
    [2020-05-27 12:05:27,859] ERROR in app: Exception on /eidas/load-qec [POST]
    Traceback (most recent call last):
    File "/usr/local/lib/python3.7/dist-packages/flask/app.py", line 1950, in full_dispatch_request
    rv = self.dispatch_request()
    File "/usr/local/lib/python3.7/dist-packages/flask/app.py", line 1936, in dispatch_request
    return self.view_functionsrule.endpoint
    File "/usr/local/lib/python3.7/dist-packages/flask_restplus/api.py", line 325, in wrapper
    resp = resource(*args, **kwargs)
    File "/usr/local/lib/python3.7/dist-packages/flask/views.py", line 89, in view
    return self.dispatch_request(*args, **kwargs)
    File "/usr/local/lib/python3.7/dist-packages/flask_restplus/resource.py", line 44, in dispatch_request
    resp = meth(*args, **kwargs)
    File "/code/demo/eidas_bridge_api.py", line 50, in post
    request.json['password']
    File "/code/eidas_bridge/eidas_bridge.py", line 44, in eidas_load_qec
    dbmanager = DBManager()
    File "/code/eidas_bridge/utils/dbmanager.py", line 25, in init
    with open(self._file_path, 'w', newline='') as csvfile:
    FileNotFoundError: [Errno 2] No such file or directory: './demo/data/storage/eidas_data.csv'
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

1 participant