From: yosuke.nky@gmail.com
To: bitbake-devel@lists.openembedded.org
Subject: Re: [PATCH] Enable to use some bitbake server commands
Date: Mon, 19 Dec 2022 05:48:33 -0800 [thread overview]
Message-ID: <27383.1671457713988336797@lists.openembedded.org> (raw)
In-Reply-To: <64b26408f1b87a4b8e58268cb9529e0952c30582.camel@linuxfoundation.org>
[-- Attachment #1: Type: text/plain, Size: 1262 bytes --]
> It looks like we may just be able to add a dict() wrapper around the return values if these are all defaultdict objects?
Sorry, I forgot that some commands return " collections.abc.KeysView ". Therefore, enable_marshel function in my patch is trying to cast list and dict.
For instance, dataStoreConnectorCmd returns " collections.abc.KeysView " when subcommand is "keys".
However, dataStoreConnectorCmd has so many subcommands that we have not been able to verify the return types of all of them.
Perhaps we should consider removing dataStoreConnectorCmd from the scope of this patch, as we will look into how to fix it properly later.
To make matters easier to understand, I created gits file for reproducing the error with tinfoil, not with my private work.
https://gist.github.com/AngryMane/9e0f57dac862b209ae406a729c4fa4e5
You can reproduce the error by following below steps.
1. bitbake-error in my gist and copy it to bitbake/bin
1. source oe-init-build env
1. bitbake --server-only --bind localhost:8081
1.bitbake-error
Please note that this error occurs with only XMLRPCserver and ProcessServer doen't occur this error.
In other words, the problem does not occur except in use cases where the bitbake --server-only option is used.
[-- Attachment #2: Type: text/html, Size: 2128 bytes --]
next prev parent reply other threads:[~2022-12-19 13:48 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-12-17 8:44 [PATCH] Enable to use some bitbake server commands yosuke.nky
2022-12-17 11:34 ` [bitbake-devel] " Richard Purdie
2022-12-17 15:52 ` yosuke.nky
2022-12-18 21:41 ` [bitbake-devel] " Richard Purdie
2022-12-19 13:48 ` yosuke.nky [this message]
2022-12-20 16:01 ` Richard Purdie
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=27383.1671457713988336797@lists.openembedded.org \
--to=yosuke.nky@gmail.com \
--cc=bitbake-devel@lists.openembedded.org \
/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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.