Subject: Re: ynl newbie question

From: Donald Hunter <[email-masked]>
Date: Mon, 27 Oct 2025 10:31:18 +0000

Ratheesh Kannoth <[email-masked]> writes:

> From: Jakub Kicinski <[email-masked]> 
> Subject: [EXTERNAL] Re: ynl newbie question
>
>>I think you trimmed the stack trace a little too much?
>
> Below is the full output.
>
> #########################################
> root@localhost:~/linux# ./tools/net/ynl/pyynl/cli.py --spec Documentation/netlink/specs/ethtool.yaml       --do rings-get       --json '{"header":{"dev-index": 18}}'
>   File "./tools/net/ynl/pyynl/cli.py", line 23
>     raise Exception(f"Schema directory {schema_dir} does not exist")
>                                                                   ^
> SyntaxError: invalid syntax
> #################################

Is that an old python that doesn't have f-string support, or something?
Can you tell us the python version you are using?