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 in meeting.import #2100

Closed
jsangmeister opened this issue Jan 10, 2024 · 0 comments · Fixed by #2106
Closed

Error in meeting.import #2100

jsangmeister opened this issue Jan 10, 2024 · 0 comments · Fixed by #2106
Assignees
Labels
Milestone

Comments

@jsangmeister
Copy link
Contributor

Traceback (most recent call last):
  File "/usr/local/lib/python3.10/site-packages/gunicorn/workers/gthread.py", line 282, in handle
    keepalive = self.handle_request(req, conn)
  File "/usr/local/lib/python3.10/site-packages/gunicorn/workers/gthread.py", line 334, in handle_request
    respiter = self.wsgi(environ, resp.start_response)
  File "/app/openslides_backend/http/application.py", line 103, in __call__
    return self.wsgi_application(environ, start_response)
  File "/app/openslides_backend/http/application.py", line 93, in wsgi_application
    response = self.dispatch_request(request)
  File "/app/openslides_backend/http/application.py", line 44, in dispatch_request
    response_body, access_token = view_instance.dispatch(request)
  File "/app/openslides_backend/http/views/base_view.py", line 119, in dispatch
    return func(request)
  File "/app/openslides_backend/http/views/action_view.py", line 47, in action_route
    response = handle_action_in_worker_thread(
  File "/app/openslides_backend/action/action_worker.py", line 62, in handle_action_in_worker_thread
    raise action_worker_thread.exception
  File "/app/openslides_backend/action/action_worker.py", line 240, in run
    self.response = self.handler.handle_request(
  File "/app/openslides_backend/action/action_handler.py", line 115, in handle_request
    results = self.execute_write_requests(self.parse_actions, payload)
  File "/app/openslides_backend/action/action_handler.py", line 156, in execute_write_requests
    write_requests, data = get_write_requests(*args)
  File "/app/openslides_backend/action/action_handler.py", line 191, in parse_actions
    write_request, results = self.perform_action(
  File "/app/openslides_backend/action/action_handler.py", line 240, in perform_action
    write_request, results = action.perform(
  File "/app/openslides_backend/action/actions/meeting/import_.py", line 93, in perform
    instance = self.base_update_instance(instance)
  File "/app/openslides_backend/action/action.py", line 323, in base_update_instance
    return self.update_instance(instance)
  File "/app/openslides_backend/action/actions/meeting/import_.py", line 160, in update_instance
    self.generate_merge_user_map(meeting_json)
  File "/app/openslides_backend/action/actions/meeting/import_.py", line 249, in generate_merge_user_map
    filter_ = Or(
TypeError: _ListFilterBase.__init__() missing 1 required positional argument: 'arg'

I suspect the bug occurs because a filter is tried to initialize without any criteria.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants