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

set-verbosity bug #5380

Closed
MetRonnie opened this issue Feb 27, 2023 · 0 comments · Fixed by #5384
Closed

set-verbosity bug #5380

MetRonnie opened this issue Feb 27, 2023 · 0 comments · Fixed by #5384
Assignees
Labels
bug Something is wrong :(
Milestone

Comments

@MetRonnie
Copy link
Member

MetRonnie commented Feb 27, 2023

$ cylc set-verbosity DEBUG myworkflow
ERROR - Variable "$level" got invalid value 10.
    Expected type "LogLevels", found 10.
2023-02-27T14:48:05Z ERROR - Traceback (most recent call last):
      File "~/.conda/envs/cylc8.1/lib/python3.10/site-packages/graphql/graphql.py", line 64, in execute_graphql
        return document.execute(
      File "~/github/cylc-flow-8.1/cylc/flow/network/graphql.py", line 260, in execute_and_validate_and_strip
        result = execute_and_validate(schema, document_ast, *args, **kwargs)
      File "~/.conda/envs/cylc8.1/lib/python3.10/site-packages/graphql/backend/core.py", line 32, in execute_and_validate
        return execute(schema, document_ast, *args, **kwargs)
      File "~/.conda/envs/cylc8.1/lib/python3.10/site-packages/graphql/execution/executor.py", line 113, in execute
        exe_context = ExecutionContext(
      File "~/.conda/envs/cylc8.1/lib/python3.10/site-packages/graphql/execution/utils.py", line 113, in __init__
        variable_values = get_variable_values(
      File "~/.conda/envs/cylc8.1/lib/python3.10/site-packages/graphql/execution/values.py", line 74, in get_variable_values
        raise GraphQLError(
    graphql.error.base.GraphQLError: Variable "$level" got invalid value 10.
    Expected type "LogLevels", found 10.
@MetRonnie MetRonnie added the bug Something is wrong :( label Feb 27, 2023
@MetRonnie MetRonnie added this to the cylc-8.1.3 milestone Feb 27, 2023
@MetRonnie MetRonnie self-assigned this Feb 28, 2023
@MetRonnie MetRonnie linked a pull request Mar 1, 2023 that will close this issue
8 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something is wrong :(
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant