Steve Borho <st...@borho.org> writes:

> On Tue, Oct 20, 2009 at 3:55 PM, Greg Ward <g...@gerg.ca> wrote:
>> On Mon, Oct 19, 2009 at 8:46 PM, Steve Borho <st...@borho.org> wrote:
>>>> BTW, it looks like someone else has figured out a workaround for this bug:
>>>>
>>>>  http://hg.clusterlabs.org/pacemaker/pygui/rev/460feb8039c1
>>>>
>>>> but that sure looks painful and awkward.
>>>
>>> Oh, I'm certain we have worse workarounds in gtklib.py.  But I'm glad
>>> you've found a cleaner solution.
>>
>> Shortly after I sent that message, it occurred to me that a good
>> compromise might be
>>
>>  if pygobject version <= 2.12.1:
>>      raise ???("incompatible version of pygobject")
>>
>> At least that way, the next poor slob who tries to run TortoiseHg on
>> RHEL/CentOS 5 will get a clear error message and not have to spend 2
>> hours doing failed bisects and google'ing the error message.  They'll
>> still have to upgrade pygobject, though.  ;-)
>
> Good idea. I added a check next to a comment that references this mail
> thread.

Uhm, I'm using Red Hat Enterprise Linux Client release 5.4 (Tikanga) at
my university so this would effect me and the guys I've convinced to use
Mercurial there :-(

If

  http://hg.clusterlabs.org/pacemaker/pygui/rev/460feb8039c1

really fixes it, then I would like to see it used. Note that the
pygobject_newer function seems much too complex. It should really be:

  def pygobject_newer(args*):
      return gobject.pygobject_version > args

I'm sorry I haven't fixed this myself -- I only saw the error today.

-- 
Martin Geisler

VIFF (Virtual Ideal Functionality Framework) brings easy and efficient
SMPC (Secure Multiparty Computation) to Python. See: http://viff.dk/.

Attachment: pgpIEJwvU2FDw.pgp
Description: PGP signature

------------------------------------------------------------------------------
Come build with us! The BlackBerry(R) Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay 
ahead of the curve. Join us from November 9 - 12, 2009. Register now!
http://p.sf.net/sfu/devconference
_______________________________________________
Tortoisehg-develop mailing list
Tortoisehg-develop@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/tortoisehg-develop

Reply via email to