Updating from 0.8.3 to tip of stable, I'm seeing a couple of problems
running "hgtk log".  I'm on CentOS 5, using the system /usr/bin/python
and gtk libs (Python 2.4, pygtk 2.10.1, gtk 2.10.4).

1) running "hgtk log" with current tip crashes.  The "TortoiseHg Bug
Report" window shows:

{{{
#!python
** Please report this bug to
http://bitbucket.org/tortoisehg/stable/issues or
tortoisehg-disc...@lists.sourceforge.net
** Mercurial version (1.3.1+20091005-ims03.el5).  TortoiseHg version (unknown)
** Command: log
** CWD: /home/gward/src/tortoisehg
** Extensions loaded: record, transplant, mq, graphlog, extdiff,
patchbomb, purge, rebase, churn, share, crecord, attic
Traceback (most recent call last):
  File "/home/gward/src/tortoisehg/tortoisehg/hgtk/hgtk.py", line 57,
in dispatch
    return _runcatch(u, args)
  File "/home/gward/src/tortoisehg/tortoisehg/hgtk/hgtk.py", line 183,
in _runcatch
    return runcommand(ui, args)
  File "/home/gward/src/tortoisehg/tortoisehg/hgtk/hgtk.py", line 249,
in runcommand
    return func(ui, *args, **cmdoptions)
  File "/home/gward/src/tortoisehg/tortoisehg/hgtk/hgtk.py", line 362, in log
    gtkrun(run, ui, *pats, **opts)
  File "/home/gward/src/tortoisehg/tortoisehg/hgtk/hgtk.py", line 271, in gtkrun
    win.display()
  File "/home/gward/src/tortoisehg/tortoisehg/hgtk/gdialog.py", line
246, in display
    self.prepare_display()
  File "/home/gward/src/tortoisehg/tortoisehg/hgtk/history.py", line
503, in prepare_display
    self.enable_mqpanel()
  File "/home/gward/src/tortoisehg/tortoisehg/hgtk/history.py", line
1833, in enable_mqpanel
    self.cmd_set_active('mq', enable)
  File "/home/gward/src/tortoisehg/tortoisehg/hgtk/gdialog.py", line
355, in cmd_set_active
    for w in ws:
SystemError: Objects/funcobject.c:128: bad argument to internal function

}}}

But the funny thing is, I'm not sure that "SystemError" is the real
error.  The reason I think that is that I bisected the failure and
determined that it was introduced here:

  changeset:   4501:a8e51ca68fa9
  user:        Adrian Buehlmann <adr...@cadifra.com>
  date:        2009-10-09 23:26:32 +0200
  summary:     history: disable the mq button if there is no queue

So I updated to 4500:6c859e9ce542 to confirm, and yes indeed, hgtk log
works.  *Except* it prints

  SystemError: Objects/funcobject.c:128: bad argument to internal function

to stderr.  The GUI seems to work fine.  I suspect that the
SystemError might be obscuring a genuine, but normal ordinary
everyday, exception introduced by 4501:a8e51ca68fa9.

So that gets me to the next problem:

2) running "hgtk log" prints this to the console:

    SystemError: Objects/funcobject.c:128: bad argument to internal function

I tried to bisect this, but failed due to various compatibility
problems.  (Some changesets depend on Python > 2.4, and some depend on
newer gtk/pygtk.)  I was able to narrow it down a bit.  This:

  changeset:   3809:20e956734bb6
  user:        Yuki KODAMA <endflow....@gmail.com>
  date:        2009-09-04 02:45:02 +0900
  summary:     thgmq: indicate 'qtip' patch using bold font

is the last "good" changeset that I can run (does not show the
SystemError).  And this:

  changeset:   4147:ad73cc4d7688
  parent:      4146:2730003ed932
  parent:      4144:eb3177eef37c
  user:        Steve Borho <st...@borho.org>
  date:        2009-09-22 13:06:24 -0500
  summary:     Merge with stable

is the earliest "bad" changeset that I can run (does show it).  I
cannot run any of the changesets between those two because of
compatibility problems with Python and/or gtk.  ;-(

Greg

------------------------------------------------------------------------------
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