<div dir="ltr"><div class="gmail_extra"><br><div class="gmail_quote">On Tue, Nov 22, 2016 at 1:11 PM, Paul Eggleton <span dir="ltr"><<a href="mailto:paul.eggleton@linux.intel.com" target="_blank">paul.eggleton@linux.intel.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><span class="">On Tue, 22 Nov 2016 16:20:30 sujith h wrote:<br>
> Finally I found that not all data in my case was<br>
> string/list/tuple/dict/None/<wbr>int/float. That is those data types which can<br>
> be marshalled: <a href="https://docs.python.org/3/library/xmlrpc.client.html" rel="noreferrer" target="_blank">https://docs.python.org/3/<wbr>library/xmlrpc.client.html</a>. But<br>
> there was a data type :<br>
> v = <subprocess.Popen object at 0x7f56f4964ef0>. So this was causing the<br>
<br>
</span>What on earth is a subprocess.Popen object doing in the datastore? Which<br>
variable / flag is that?</blockquote></div><br>It’s an internal class, the object is tucked into the metadata to exchange info between event handlers. The variable starts with ‘_’ so is clearly meant to be internal. That said, there’s nothing preventing use of any arbitrary type in a metadata value, so if code is expecting particular types, it should be fixed to exclude types it doesn’t understand, or just str() the values.<br>-- <br><div class="gmail_signature" data-smartmail="gmail_signature">Christopher Larson<br>clarson at kergoth dot com<br>Founder - BitBake, OpenEmbedded, OpenZaurus<br>Maintainer - Tslib<br>Senior Software Engineer, Mentor Graphics</div>
</div></div>