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

Audio KeyError #123

Closed
ephes opened this issue Mar 18, 2024 · 0 comments
Closed

Audio KeyError #123

ephes opened this issue Mar 18, 2024 · 0 comments
Assignees
Labels
bug Something isn't working

Comments

@ephes
Copy link
Owner

ephes commented Mar 18, 2024

Probably a minor issue - here's the traceback:

KeyError: 'audio'
  File "django/core/handlers/exception.py", line 55, in inner
    response = get_response(request)
  File "wagtail/models/__init__.py", line 678, in _get_response
    response = obj.serve_preview(request, preview_mode)
  File "wagtail/models/__init__.py", line 811, in serve_preview
    self.get_preview_context(request, mode_name),
  File "wagtail/models/__init__.py", line 1925, in get_preview_context
    return self.get_context(request)
  File "cast/models/pages.py", line 333, in get_context
    context["audio_items"] = self.media_lookup["audio"].items()
@ephes ephes added the bug Something isn't working label Mar 18, 2024
@ephes ephes self-assigned this Mar 18, 2024
@ephes ephes closed this as completed Mar 27, 2024
ephes added a commit that referenced this issue Mar 27, 2024
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

1 participant