<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "https://bugzilla.yoctoproject.org/page.cgi?id=bugzilla.dtd">

<bugzilla version="5.0.6"
          urlbase="https://bugzilla.yoctoproject.org/"
          
          maintainer="it-coreprojects-helpdesk@linuxfoundation.org"
>

    <bug>
          <bug_id>1458</bug_id>
          
          <creation_ts>2011-09-06 00:20:54 +0000</creation_ts>
          <short_desc>Hob doesn&apos;t work with xmlrpc server</short_desc>
          <delta_ts>2012-01-15 05:28:15 +0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>7</classification_id>
          <classification>Build System, Metadata &amp; Runtime</classification>
          <product>Hob</product>
          <component>hob</component>
          <version>unspecified</version>
          <rep_platform>x86</rep_platform>
          <op_sys>Multiple</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>FIXED</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard>Currently Hob2 can run by xmlrpc</status_whiteboard>
          <keywords></keywords>
          <priority>Low</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>1.2</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Jiajun Xu">jiajun.xu</reporter>
          <assigned_to name="Shane Wang">shane.wang</assigned_to>
          <cc>dongxiao.xu</cc>
    
    <cc>dvhart</cc>
    
    <cc>jessica.zhang</cc>
    
    <cc>jiajun.xu</cc>
    
    <cc>poky.bs.watcher</cc>
    
    <cc>poky.watcher</cc>
          
          
          <cf_os>---</cf_os>
          <cf_regression_type>---</cf_regression_type>
          
          <cf_docchange>---</cf_docchange>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>16033</commentid>
    <comment_count>0</comment_count>
    <who name="Jiajun Xu">jiajun.xu</who>
    <bug_when>2011-09-06 00:20:54 +0000</bug_when>
    <thetext>tree/branch: poky/master
commit: 314131e472a7d728ea96cbd577d2947d7bc9f50e

With latest commit, I fail to launch hob. It reports following error messages:

######
Traceback (most recent call last):
  File &quot;/home/jxu49/osel/poky-hob2/bitbake/bin//bitbake&quot;, line 238, in &lt;module&gt;
    ret = main()
  File &quot;/home/jxu49/osel/poky-hob2/bitbake/bin//bitbake&quot;, line 229, in main
    return server.launchUI(ui_main, server_connection.connection, server_connection.events)
  File &quot;/home/jxu49/osel/poky-hob2/bitbake/lib/bb/server/xmlrpc.py&quot;, line 293, in launchUI
    return uifunc(*args)
  File &quot;/home/jxu49/osel/poky-hob2/bitbake/lib/bb/ui/hob.py&quot;, line 997, in main
    dep_files = server.runCommand([&quot;getVariable&quot;, &quot;__depends&quot;]) or set()
  File &quot;/usr/lib/python2.6/xmlrpclib.py&quot;, line 1199, in __call__
    return self.__send(self.__name, args)
Fault: &lt;Fault 1: &quot;&lt;type &apos;exceptions.TypeError&apos;&gt;:cannot marshal &lt;type &apos;set&apos;&gt; objects&quot;&gt;
######</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>16040</commentid>
    <comment_count>1</comment_count>
    <who name="Joshua Lock - Disabled">josh</who>
    <bug_when>2011-09-06 08:03:16 +0000</bug_when>
    <thetext>Ah, I see what&apos;s going on. Are you using the wrapper script or are you launching by manually entering the command line?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>16066</commentid>
    <comment_count>2</comment_count>
    <who name="Joshua Lock - Disabled">josh</who>
    <bug_when>2011-09-06 11:59:03 +0000</bug_when>
    <thetext>This issue is only present for the xmlrpc server which is no longer the default in the wrapper script.

the wrapper script executes &apos;bitbake -r conf/hob-pre.conf -R conf/hob-post.conf -u hob&apos; and therefore uses the default server (process)</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>16143</commentid>
    <comment_count>3</comment_count>
    <who name="Darren Hart">dvhart</who>
    <bug_when>2011-09-13 09:06:05 +0000</bug_when>
    <thetext>At Joshua&apos;s request, and supported by the xmlrpc server not being the default, I have demoted this to Low-normal so as to not block the release. I think this is more than an enhancement, but agree it should not be a blocker.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>16937</commentid>
    <comment_count>4</comment_count>
    <who name="Joshua Lock - Disabled">josh</who>
    <bug_when>2011-10-19 18:56:18 +0000</bug_when>
    <thetext>This is caused by the use of a set() in some data sent over the wire, and set is not data type that can be serialised to xml-rpc.

I created a patch to change this to a dict:
https://github.com/incandescant/bitbake/commit/23ee021c96dd1bfc4e22abc64a315893f46fa710

which was discussed here:
http://lists.linuxtogo.org/pipermail/bitbake-devel/2011-September/001365.html</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>17893</commentid>
    <comment_count>5</comment_count>
    <who name="Dongxiao Xu">dongxiao.xu</who>
    <bug_when>2011-12-29 22:01:56 +0000</bug_when>
    <thetext>Jiajun, could you help to try this on Hob2? I didn&apos;t find issue by running &quot;bitbake -u hob2 -t xmlrpc&quot;.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>18152</commentid>
    <comment_count>6</comment_count>
    <who name="Shane Wang">shane.wang</who>
    <bug_when>2012-01-15 05:28:15 +0000</bug_when>
    <thetext>Currently Hob2 can run by xmlrpc</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>