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 "/home/timoc/src/yocto/mcgraw/poky/bitbake/bin/bitbake", line 258, in <module> ret = main() File "/home/timoc/src/yocto/mcgraw/poky/bitbake/bin/bitbake", line 247, in main return server.launchUI(ui_main, server_connection.connection, server_connection.events) File "/home/timoc/src/yocto/mcgraw/poky/bitbake/lib/bb/server/process.py", line 269, in launchUI return bb.cooker.server_main(self.cooker, uifunc, *args) File "/home/timoc/src/yocto/mcgraw/poky/bitbake/lib/bb/cooker.py", line 1407, in server_main ret = func(*args) File "/home/timoc/src/yocto/mcgraw/poky/bitbake/lib/bb/ui/hob.py", line 59, in main builder = Builder(hobHandler, recipe_model, package_model) AttributeError: 'gtk.Button' object has no attribute 'set_can_default'
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'm certain there will be other areas where we are using "too new" API.
Can i suggest that you add a command line option to hob "--for-bug-report" or similar, that will generate the kind of information you need for things like this. including what versions of API's are available etc. I'm assuming this is what you want to know: $ python --version Python 2.6.6 $ gtk-config --version 1.2.10
Josh has some updates on Hob running on CentOS
No change. --- tested against commit 2b95420827aa360d8d4de680fd6f824e2cc87645
(In reply to comment #3) > Josh has some updates on Hob running on CentOS I've not had chance to do anything with CentOS 6.x yet, I've been looking at the state of things on CentOS 5.x. It's my intention to look at CentOS 6.x shortly.
I need to set up a CentOS 6.x VM and determine the required version of PyGTK then ensure we aren't using API which isn't provided in that version. Estimate 2 days development and 3 days for submission, review and merge.
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
Tested, Fixed.
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