Steering error while saving new schedule in calendar area
I pulled the latest aura-web images and logged into dashbard with the default steering user. I noticed the default show "Musikprogramm" and tried to add an entry in the calendar - as done in previous versions. Pressing the OK button in the popup window had no effect - the popup didn't close and no entry was added. There was no error dialog but I found some hints in the docker logs:
steering | warnings.warn(
steering | ERROR:django.request:Internal Server Error: /api/v1/schedules/
steering | Traceback (most recent call last):
steering | File "/app/.cache/virtualenvs/steering-9TtSrW0h-py3.11/lib/python3.11/site-packages/django/core/handlers/exception.py", line 55, in inner
steering | response = get_response(request)
steering | ^^^^^^^^^^^^^^^^^^^^^
steering | File "/app/.cache/virtualenvs/steering-9TtSrW0h-py3.11/lib/python3.11/site-packages/django/core/handlers/base.py", line 197, in _get_response
steering | response = wrapped_callback(request, *callback_args, **callback_kwargs)
steering | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
steering | File "/app/.cache/virtualenvs/steering-9TtSrW0h-py3.11/lib/python3.11/site-packages/django/views/decorators/csrf.py", line 56, in wrapper_view
steering | return view_func(*args, **kwargs)
steering | ^^^^^^^^^^^^^^^^^^^^^^^^^^
steering | File "/app/.cache/virtualenvs/steering-9TtSrW0h-py3.11/lib/python3.11/site-packages/rest_framework/viewsets.py", line 125, in view
steering | return self.dispatch(request, *args, **kwargs)
steering | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
steering | File "/app/.cache/virtualenvs/steering-9TtSrW0h-py3.11/lib/python3.11/site-packages/rest_framework/views.py", line 509, in dispatch
steering | response = self.handle_exception(exc)
steering | ^^^^^^^^^^^^^^^^^^^^^^^^^^
steering | File "/app/.cache/virtualenvs/steering-9TtSrW0h-py3.11/lib/python3.11/site-packages/rest_framework/views.py", line 469, in handle_exception
steering | self.raise_uncaught_exception(exc)
steering | File "/app/.cache/virtualenvs/steering-9TtSrW0h-py3.11/lib/python3.11/site-packages/rest_framework/views.py", line 480, in raise_uncaught_exception
steering | raise exc
steering | File "/app/.cache/virtualenvs/steering-9TtSrW0h-py3.11/lib/python3.11/site-packages/rest_framework/views.py", line 506, in dispatch
steering | response = handler(request, *args, **kwargs)
steering | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
steering | File "/app/program/views.py", line 576, in create
steering | resolution = resolve_conflicts(request.data, pk, show_pk)
steering | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
steering | File "/app/program/services.py", line 110, in resolve_conflicts
steering | new_schedule = instantiate_upcoming_schedule(schedule, show_pk, schedule_pk)
steering | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
steering | File "/app/program/services.py", line 366, in instantiate_upcoming_schedule
steering | show = Show.objects.get(pk=show_pk)
steering | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
steering | File "/app/.cache/virtualenvs/steering-9TtSrW0h-py3.11/lib/python3.11/site-packages/django/db/models/manager.py", line 87, in manager_method
steering | return getattr(self.get_queryset(), name)(*args, **kwargs)
steering | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
steering | File "/app/.cache/virtualenvs/steering-9TtSrW0h-py3.11/lib/python3.11/site-packages/django/db/models/query.py", line 637, in get
steering | raise self.model.DoesNotExist(
steering | program.models.Show.DoesNotExist: Show matching query does not exist.
dashboard | 172.24.0.5 - - [15/Feb/2024:18:12:18 +0100] "GET /steeringapi/v1/playout HTTP/1.1" 200 1109 "-" "python-requests/2.30.0"
I also had issues while uploading a mp3 audio file: tank#69 (closed)
Edited by David Trattnig