<?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>2207</bug_id>
          
          <creation_ts>2012-03-30 12:43:28 +0000</creation_ts>
          <short_desc>Hob does not start up on centos 6.2</short_desc>
          <delta_ts>2012-04-11 15:10:42 +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>(P1) (1.2) Development (100% complete) - Patch submitted for review</status_whiteboard>
          <keywords></keywords>
          <priority>High</priority>
          <bug_severity>critical</bug_severity>
          <target_milestone>1.2 M4</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="T OCallaghan">tocallaghan</reporter>
          <assigned_to name="Joshua Lock - Disabled">josh</assigned_to>
          <cc>jessica.zhang</cc>
    
    <cc>jiajun.xu</cc>
    
    <cc>josh</cc>
    
    <cc>poky.bs.watcher</cc>
    
    <cc>poky.watcher</cc>
    
    <cc>song.liu</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>19703</commentid>
    <comment_count>0</comment_count>
    <who name="T OCallaghan">tocallaghan</who>
    <bug_when>2012-03-30 12:43:28 +0000</bug_when>
    <thetext>found in poky/1.2_M4 (da6233e).

When trying to run hob from a freshly checked out poky, i get:


Traceback (most recent call last):              
  File &quot;/home/timoc/src/yocto/mcgraw/poky/bitbake/bin/bitbake&quot;, line 258, in &lt;module&gt;
    ret = main()                                                                     
  File &quot;/home/timoc/src/yocto/mcgraw/poky/bitbake/bin/bitbake&quot;, line 247, in main    
    return server.launchUI(ui_main, server_connection.connection, server_connection.events)
  File &quot;/home/timoc/src/yocto/mcgraw/poky/bitbake/lib/bb/server/process.py&quot;, line 269, in launchUI
    return bb.cooker.server_main(self.cooker, uifunc, *args)                                      
  File &quot;/home/timoc/src/yocto/mcgraw/poky/bitbake/lib/bb/cooker.py&quot;, line 1407, in server_main    
    ret = func(*args)                                                                             
  File &quot;/home/timoc/src/yocto/mcgraw/poky/bitbake/lib/bb/ui/hob.py&quot;, line 59, in main             
    builder = Builder(hobHandler, recipe_model, package_model)                                    
AttributeError: &apos;gtk.Button&apos; object has no attribute &apos;set_can_default&apos;</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>19719</commentid>
    <comment_count>1</comment_count>
    <who name="Joshua Lock - Disabled">josh</who>
    <bug_when>2012-03-30 16:16:03 +0000</bug_when>
    <thetext>Can you tell us which versions of gtk+ and pygtk are shipped with CentOS 6.2?

That specific method was new in Pygtk 2.22 but I&apos;m certain there will be other areas where we are using &quot;too new&quot; API.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>19781</commentid>
    <comment_count>2</comment_count>
    <who name="T OCallaghan">tocallaghan</who>
    <bug_when>2012-04-02 06:53:07 +0000</bug_when>
    <thetext>Can i suggest that you add a command line option to hob &quot;--for-bug-report&quot; or similar, that will generate the kind of information you need for things like this. including what versions of API&apos;s are available etc.

I&apos;m assuming this is what you want to know:

$ python --version
Python 2.6.6
$ gtk-config --version
1.2.10</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>19849</commentid>
    <comment_count>3</comment_count>
    <who name="Shane Wang">shane.wang</who>
    <bug_when>2012-04-04 11:58:29 +0000</bug_when>
    <thetext>Josh has some updates on Hob running on CentOS</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>19853</commentid>
    <comment_count>4</comment_count>
    <who name="T OCallaghan">tocallaghan</who>
    <bug_when>2012-04-04 12:58:10 +0000</bug_when>
    <thetext>No change.
--- 
tested against commit 2b95420827aa360d8d4de680fd6f824e2cc87645</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>19912</commentid>
    <comment_count>5</comment_count>
    <who name="Joshua Lock - Disabled">josh</who>
    <bug_when>2012-04-04 21:53:46 +0000</bug_when>
    <thetext>(In reply to comment #3)
&gt; Josh has some updates on Hob running on CentOS

I&apos;ve not had chance to do anything with CentOS 6.x yet, I&apos;ve been looking at the state of things on CentOS 5.x.

It&apos;s my intention to look at CentOS 6.x shortly.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>19915</commentid>
    <comment_count>6</comment_count>
    <who name="Joshua Lock - Disabled">josh</who>
    <bug_when>2012-04-04 22:03:13 +0000</bug_when>
    <thetext>I need to set up a CentOS 6.x VM and determine the required version of PyGTK then ensure we aren&apos;t using API which isn&apos;t provided in that version.

Estimate 2 days development and 3 days for submission, review and merge.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>19964</commentid>
    <comment_count>7</comment_count>
    <who name="Joshua Lock - Disabled">josh</who>
    <bug_when>2012-04-05 18:36:15 +0000</bug_when>
    <thetext>Patch series submitted for review:
http://lists.linuxtogo.org/pipermail/bitbake-devel/2012-April/002648.html

Poky branch with the patch applied can be found at:
http://git.yoctoproject.org/cgit/cgit.cgi/poky-contrib/log/?h=josh/hob-centos6</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>20112</commentid>
    <comment_count>8</comment_count>
    <who name="T OCallaghan">tocallaghan</who>
    <bug_when>2012-04-10 08:13:02 +0000</bug_when>
    <thetext>Tested, Fixed.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>20186</commentid>
    <comment_count>9</comment_count>
    <who name="Joshua Lock - Disabled">josh</who>
    <bug_when>2012-04-11 15:10:42 +0000</bug_when>
    <thetext>Fixed in the following commits:

http://git.yoctoproject.org/cgit/cgit.cgi/poky/commit/?id=b2fb7ddedda5bbd72498af58313f104f2a206356

http://git.yoctoproject.org/cgit/cgit.cgi/poky/commit/?id=0d001e8c04d78cbeecebd1f4439a9ae7db300e3f

http://git.yoctoproject.org/cgit/cgit.cgi/poky/commit/?id=e5a63fd66b7855e0c9cafb788d95294e1b06ba58</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>