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

recording: add clip only if information exists #130

Merged
merged 3 commits into from
Jul 3, 2024

Conversation

PhilippKilian
Copy link
Member

Fixes following bug:

Traceback (most recent call last):
  File "/usr/local/lib/python3.10/site-packages/celery/app/trace.py", line 453, in trace_task
    R = retval = fun(*args, **kwargs)
  File "/usr/local/lib/python3.10/site-packages/celery/app/trace.py", line 736, in __protected_call__
    return self.run(*args, **kwargs)
  File "/usr/src/app/rest/task/b3lb.py", line 44, in recording_render_record
    return render_record(RecordSet.objects.get(uuid=record_set_uuid))
  File "/usr/src/app/rest/task/recording.py", line 87, in render_record
    record_id = render_by_profile(record_set, record_profile, tempdir)
  File "/usr/src/app/rest/task/recording.py", line 46, in render_by_profile
    render_xges(f"{tempdir}/in/", f"{tempdir}/out/video.xges", record_profile)
  File "/usr/src/app/rest/b3lb/make_xges.py", line 350, in render_xges
    p = Presentation(opts)
  File "/usr/src/app/rest/b3lb/make_xges.py", line 90, in __init__
    self.add_slides()
  File "/usr/src/app/rest/b3lb/make_xges.py", line 263, in add_slides
    info = [i.data for i in slide_time.at(pos.start)][0]
IndexError: list index out of range

@PhilippKilian PhilippKilian self-assigned this May 31, 2024
@PhilippKilian PhilippKilian requested a review from liske May 31, 2024 09:46
@PhilippKilian PhilippKilian added the bug Something isn't working label May 31, 2024
@PhilippKilian PhilippKilian marked this pull request as ready for review May 31, 2024 09:49
@PhilippKilian PhilippKilian merged commit 799998b into main Jul 3, 2024
7 checks passed
@PhilippKilian PhilippKilian deleted the fix-recroding-crash branch July 3, 2024 14:33
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

Successfully merging this pull request may close these issues.

1 participant