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

project publication bad gateway for one project only #103

Open
jessegmeyerlab opened this issue Oct 5, 2023 · 2 comments
Open

project publication bad gateway for one project only #103

jessegmeyerlab opened this issue Oct 5, 2023 · 2 comments
Labels
bug Something isn't working

Comments

@jessegmeyerlab
Copy link
Member

jessegmeyerlab commented Oct 5, 2023

This project has "502 bad gateway" whenever I click on the publication button on project: c6656455-da2f-48a1-8bce-c8355f1adff4

@jessegmeyerlab
Copy link
Member Author

seems specific to this one project

@AlexandreHutton
Copy link
Member

Seems to be a problem with the author list. Below for later reference:

File "/data/pscs/pscs_venv/lib/python3.10/site-packages/pscs/auth.py", line 271, in wrapped_view
return view(**kwargs)
File "/data/pscs/pscs_venv/lib/python3.10/site-packages/pscs/blueprints/projects.py", line 503, in project_publish
authors, missing_name = _get_authors(id_project)
File "/data/pscs/pscs_venv/lib/python3.10/site-packages/pscs/blueprints/projects.py", line 847, in _get_authors
author_list.sort(key=lambda x: x["author_position"])
File "/data/pscs/pscs_venv/lib/python3.10/site-packages/pscs/blueprints/projects.py", line 847, in
author_list.sort(key=lambda x: x["author_position"])
KeyError: 'author_position'

@AlexandreHutton AlexandreHutton added the bug Something isn't working label Oct 5, 2023
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