netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Donald Hunter <donald.hunter@gmail.com>
To: Ratheesh Kannoth <rkannoth@marvell.com>
Cc: Jakub Kicinski <kuba@kernel.org>,  Netdev <netdev@vger.kernel.org>
Subject: Re: ynl newbie question
Date: Mon, 27 Oct 2025 10:31:18 +0000	[thread overview]
Message-ID: <m2ms5cr5zd.fsf@gmail.com> (raw)
In-Reply-To: <MN0PR18MB58478446CEBD0532BB7CD453D3FEA@MN0PR18MB5847.namprd18.prod.outlook.com>

Ratheesh Kannoth <rkannoth@marvell.com> writes:

> From: Jakub Kicinski <kuba@kernel.org> 
> 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?

  reply	other threads:[~2025-10-27 10:31 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <MN0PR18MB5847A875201DF2889543A61DD3F1A@MN0PR18MB5847.namprd18.prod.outlook.com>
2025-10-24 15:09 ` ynl newbie question Jakub Kicinski
2025-10-25 13:10   ` Ratheesh Kannoth
2025-10-27 10:31     ` Donald Hunter [this message]
2025-10-27 15:04       ` [EXTERNAL] " Ratheesh Kannoth

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=m2ms5cr5zd.fsf@gmail.com \
    --to=donald.hunter@gmail.com \
    --cc=kuba@kernel.org \
    --cc=netdev@vger.kernel.org \
    --cc=rkannoth@marvell.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).