[yocto] Fails to launch the hob

Zhang, Jessica jessica.zhang at intel.com
Thu Jan 3 15:11:15 PST 2013


Hi Belen,

I'll modify the error message per suggestion.  By looking at the existing code, seems we only check for GTK+ and PyGtk version, so probably I'll drop PyGobject in the error message.  So you probably can update the hob info on the web-site accordingly.

Thanks,
Jessica

-----Original Message-----
From: yocto-bounces at yoctoproject.org [mailto:yocto-bounces at yoctoproject.org] On Behalf Of Barros Pena, Belen
Sent: Thursday, January 03, 2013 8:48 AM
To: Biao; Mihai Lindner
Cc: yocto at yoctoproject.org
Subject: Re: [yocto] Fails to launch the hob

Any chance we could change the content of the error message to provide better indication of what the problem is? The idea would be adding version numbers and printing only what's causing trouble.

So, from:

$ hob
FATAL: Gtk+, PyGtk and PyGobject are required to use Hob, You have Gtk+ 2.20.1 and PyGtk 2.17.0.

To something like:

$ hob
FATAL: Hob requires Gtk+ 2.20.0 or higher, PyGtk 2.21.0 or higher and PyGobject [insert minimum version here] or higher You have PyGtk 2.17.0.

Would this be possible?

We should probably also add a paragraph listing essential packages to the Hob manual page on the website (https://www.yoctoproject.org/documentation/hob-manual). If someone tells me what's the minimum version of PyGobject required I could probably edit the page myself.

Thanks!

Belen



From: Biao <huanmateme at 163.com<mailto:huanmateme at 163.com>>
Date: Tuesday, 25 December 2012 06:16
To: Mihai Lindner <mihaix.lindner at linux.intel.com<mailto:mihaix.lindner at linux.intel.com>>
Cc: "yocto at yoctoproject.org<mailto:yocto at yoctoproject.org>" <yocto at yoctoproject.org<mailto:yocto at yoctoproject.org>>
Subject: Re: [yocto] Fails to launch the hob


At 2012-12-24 20:37:26,"Mihai Lindner" <mihaix.lindner at linux.intel.com<mailto:mihaix.lindner at linux.intel.com>> wrote:
>On Mon, 2012-12-24 at 14:23 +0200, Mihai Lindner wrote:
>> On Mon, 2012-12-24 at 15:37 +0800, Biao wrote:
>> > Hi all,
>> >
>> >
>> > I can not launch hob on my ubun-10.04, it seems saying "no PyGobject" whereas python-object has already been installed. Can anyone kindly give a help?
>> >
>Oh, forgot to mention here, that you should probably be using Denzil,
>instead of Danny or 'master'.

Thanks for the kindly reminder.
>> >
>> > $ hob
>> > FATAL: Gtk+, PyGtk and PyGobject are required to use Hob, You have
>> > Gtk+ 2.20.1 and PyGtk 2.17.0.
>> >
>> >
>> > $ sudo apt-get install python-gobject Reading package lists... Done
>> > Building dependency tree Reading state information... Done
>> > python-gobject is already the newest version.
>> >
>> Python-gobject seems fine, Gtk seems fine (you have 2.20.1, Hob wants
>> higher than 2.20.0), which leaves python-gtk2 version 2.17.0 on your
>> system. Hob wants a version higher than 2.21.0.

Thanks for this information, it seems the prompt message on the environment checking is not so clear.  Where are the hob users supposed to get such kind of information from?

I did not found this information from the hob manual.

>>
>> --Mihai
>> >
>> > $ uname -a
>> > Linux zb-d 2.6.32-33-generic #72-Ubuntu SMP Fri Jul 29 21:07:13 UTC
>> > 2011 x86_64 GNU/Linux
>> >
>> >
>> > Thanks,
>> > Biao
>> > _______________________________________________ yocto mailing list
>> > yocto at yoctoproject.org<mailto:yocto at yoctoproject.org>
>> > https://lists.yoctoproject.org/listinfo/yocto
>>
>>
>> _______________________________________________
>> yocto mailing list
>> yocto at yoctoproject.org<mailto:yocto at yoctoproject.org>
>> https://lists.yoctoproject.org/listinfo/yocto
>
>
>_______________________________________________
>yocto mailing list
>yocto at yoctoproject.org<mailto:yocto at yoctoproject.org>
>https://lists.yoctoproject.org/listinfo/yocto

---------------------------------------------------------------------
Intel Corporation (UK) Limited
Registered No. 1134945 (England)
Registered Office: Pipers Way, Swindon SN3 1RJ VAT No: 860 2173 47

This e-mail and any attachments may contain confidential material for the sole use of the intended recipient(s). Any review or distribution by others is strictly prohibited. If you are not the intended recipient, please contact the sender and delete all copies.

_______________________________________________
yocto mailing list
yocto at yoctoproject.org
https://lists.yoctoproject.org/listinfo/yocto



More information about the yocto mailing list