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

Error while deleting CO from Service #1042

Open
baszoetekouw opened this issue Oct 31, 2023 · 0 comments
Open

Error while deleting CO from Service #1042

baszoetekouw opened this issue Oct 31, 2023 · 0 comments

Comments

@baszoetekouw
Copy link
Member

On test, I removed a CO from a Service (from the Service/Connected Collaborations tab), which gave an error:

Screenshot 2023-10-31 at 14 34 23

Unfortunately, I can't reproduce it....

Oct 31 13:32:06 app1-tf1 gunicorn[652607]: INFO:base:user: ext_api, Path /api/scim_mock/Groups/7364eb97-15ad-4792-b141-34ff61c34d66 DELETE {}
Oct 31 13:32:06 app1-tf1 gunicorn[652607]: INFO:base:user: ext_api, Path /api/scim_mock/Groups/c189e47e-ebc4-48a1-85e5-8308bac2e675 DELETE {}
Oct 31 13:32:06 app1-tf1 gunicorn[652607]: INFO:base:user: ext_api, Path /api/scim_mock/Groups/f57577de-3aa0-40a6-90ef-137bcfefc97a DELETE {}
Oct 31 13:32:07 app1-tf1 gunicorn[652612]: INFO:base:user: ext_api, Path /api/scim_mock/Groups/3eeb0850-8250-4c9e-8c85-2f174f1a2d31 DELETE {}
Oct 31 13:32:07 app1-tf1 gunicorn[652610]: ERROR:base:user: [email protected], <Response 57 bytes [500 INTERNAL SERVER ERROR]>
Oct 31 13:32:07 app1-tf1 gunicorn[652610]: Traceback (most recent call last):
Oct 31 13:32:07 app1-tf1 gunicorn[652610]:   File "/opt/sbs/sbs/server/api/base.py", line 191, in wrapper
Oct 31 13:32:07 app1-tf1 gunicorn[652610]:     body, status = f(*args, **kwargs)
Oct 31 13:32:07 app1-tf1 gunicorn[652610]:   File "/opt/sbs/sbs/server/api/collaborations_services.py", line 173, in delete_collaborations_services
Oct 31 13:32:07 app1-tf1 gunicorn[652610]:     collaboration.services.remove(service)
Oct 31 13:32:07 app1-tf1 gunicorn[652610]:   File "/opt/sbs/sbs-env/lib/python3.9/site-packages/sqlalchemy/orm/collections.py", line 1096, in remove
Oct 31 13:32:07 app1-tf1 gunicorn[652610]:     fn(self, value)
Oct 31 13:32:07 app1-tf1 gunicorn[652610]: ValueError: list.remove(x): x not in list
Oct 31 13:32:07 app1-tf1 gunicorn[652610]: INFO:base:user: ext_api, Path /api/scim_mock/Users/3242be68-f345-4dda-92b0-dc045bcbaa16 DELETE {}
Oct 31 13:32:07 app1-tf1 gunicorn[652610]: INFO:base:user: ext_api, Path /api/scim_mock/Users/2bbe1c33-5bd4-48eb-9abf-db8dee5d3f5a DELETE {}
Oct 31 13:32:07 app1-tf1 gunicorn[652610]: INFO:base:user: ext_api, Path /api/scim_mock/Users/65a446ef-9bbc-4619-9cb6-f7ef310b59f0 DELETE {}
Oct 31 13:32:07 app1-tf1 gunicorn[652610]: INFO:base:user: ext_api, Path /api/scim_mock/Users/8bc5e49c-1309-42d3-9694-1a10bd7e57ea DELETE {}
Oct 31 13:32:07 app1-tf1 gunicorn[652610]: INFO:base:user: ext_api, Path /api/scim_mock/Users/2891f1b1-ea8e-418c-97e2-1982e9fba8b2 DELETE {}
Oct 31 13:32:07 app1-tf1 gunicorn[652605]: INFO  [base] user: [email protected], Path /api/collaborations_services/3201/628 DELETE {}
Oct 31 13:32:07 app1-tf1 gunicorn[652605]: ERROR [user] user: [email protected], {"userAgent": "Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:109.0) Gecko/20100101 Firefox/119.0", "message": "Error: ", "url": "https://test.sram.surf.nl/static/js/main.d49f36bd.js", "line": 2, "col": 2436820, "error": "", "stack": "Yr/<@https://test.sram.surf.nl/static/js/main.d49f36bd.js:2:2436820\n", "targetUrl": "https://test.sram.surf.nl/api/collaborations_services/3201/628", "status": 500}
Oct 31 13:32:07 app1-tf1 gunicorn[652605]: NoneType: None
Oct 31 13:32:07 app1-tf1 gunicorn[652605]: INFO  [base] user: [email protected], Path /api/users/error POST {"userAgent": "Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:109.0) Gecko/20100101 Firefox/119.0", "message": "Error: ", "url": "https://test.sram.surf.nl/static/js/main.d49f36bd.js", "line": 2, "col": 2436820, "error": "", "stack": "Yr/<@https://test.sram.surf.nl/static/js/main.d49f36bd.js:2:2436820\n", "targetUrl": "https://test.sram.surf.nl/api/collaborations_services/3201/628", "status": 500}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Archived in project
Development

No branches or pull requests

1 participant