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

[Bug]: Reorder / Delete Channel #20

Open
psycmos opened this issue Nov 7, 2024 · 0 comments
Open

[Bug]: Reorder / Delete Channel #20

psycmos opened this issue Nov 7, 2024 · 0 comments

Comments

@psycmos
Copy link

psycmos commented Nov 7, 2024

Describe the Bug

Exception on request POST /tic-api/channels/settings/multiple/save
Exception on request POST /tic-api/channels/settings/multiple/delete

Steps to Reproduce

No response

Expected Behavior

No response

Screenshots

No response

Relevant Settings

No response

Version

2.0.0

Relevant log output

2024-11-07 10:41:56,201:ERROR:backend: - Exception on request POST /tic-api/channels/settings/multiple/save
Traceback (most recent call last):
  File "/var/venv-docker/lib/python3.11/site-packages/quart/app.py", line 1403, in handle_request
    return await self.full_dispatch_request(request_context)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/var/venv-docker/lib/python3.11/site-packages/quart_flask_patch/app.py", line 27, in new_full_dispatch_request
    return await old_full_dispatch_request(self, request_context)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/var/venv-docker/lib/python3.11/site-packages/quart/app.py", line 1441, in full_dispatch_request
    result = await self.handle_user_exception(error)
             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/var/venv-docker/lib/python3.11/site-packages/quart/app.py", line 1029, in handle_user_exception
    raise error
  File "/var/venv-docker/lib/python3.11/site-packages/quart/app.py", line 1439, in full_dispatch_request
    result = await self.dispatch_request(request_context)
             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/var/venv-docker/lib/python3.11/site-packages/quart/app.py", line 1535, in dispatch_request
    return await self.ensure_async(handler)(**request_.view_args)  # type: ignore
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/app/backend/auth.py", line 91, in decorated_function
    return await func(*args, **kwargs)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/app/backend/api/routes_channels.py", line 72, in api_set_config_multiple_channels
    await update_channel(config, channel_id, channel)
  File "/app/backend/channels.py", line 308, in update_channel
    channel_guide_source = query.scalar_one()
                           ^^^^^^^^^^^^^^^^^^
  File "/var/venv-docker/lib/python3.11/site-packages/sqlalchemy/engine/result.py", line 1464, in scalar_one
    return self._only_one_row(
           ^^^^^^^^^^^^^^^^^^^
  File "/var/venv-docker/lib/python3.11/site-packages/sqlalchemy/engine/result.py", line 752, in _only_one_row
    raise exc.NoResultFound(
sqlalchemy.exc.NoResultFound: No row was found when one was required
[2024-11-07 10:41:56 +0000] [65] [INFO] 127.0.0.1:49184 POST /tic-api/channels/settings/multiple/save 1.0 500 265 10132
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant