On 9/30/2012 8:55 AM, Yuya Nishihara wrote: > On Thu, 27 Sep 2012 14:04:55 -0700, Colin Caughie wrote: >> On 9/22/2012 2:08 AM, Yuya Nishihara wrote: >>> On Thu, 20 Sep 2012 12:26:00 -0700, Colin Caughie wrote: >>>> I'm running TortoiseHg 2.5 on a Debian system, installed from source as >>>> described here: https://bitbucket.org/tortoisehg/thg/wiki/thg >>>> >>>> It runs fine except for the annoying fact that the revision graph is not >>>> visible, it's just a blank column. See attached screenshot. >>> Hi, >>> >>> It looks similar to the following case: >>> https://groups.google.com/forum/?fromgroups=#!topic/thg-dev/gQ8qy9oJCHg >>> >>> Do you use Mercurial 2.2.x or 2.3.x ? >>> What happens if you disable all extensions? >>> >>> Regards, >> Apologies for the delay in replying. I'm using 2.3.1. "thg vers" outputs: >> >> TortoiseHg Dialogs (version 2.5+13-c4b87ec7a201), Mercurial (version 2.3.1) >> >> Copyright (C) 2008-2012 Steve Borho <[email protected]> and others. >> This is free software; see the source for copying conditions. There is NO >> warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. >> >> Disabling all extensions makes no difference. It does look similar to >> the case you mention only that was on Windows, and appears to be down to >> a mismatch in TortoiseHg and Mercurial whereas I'm using the latest >> versions of both. >> >> I'm wondering if there's some Python package (or Debian package) that I >> need to install for the graph display to work? > To my knowledge, you only need to install python-qt4 and python-qscintilla2 > (plus python-qt4-dev for source install.) > > Could you try the following change? > It will show the exception dialog if there is an error during rendering graph. > > --- a/tortoisehg/hgqt/repomodel.py > +++ b/tortoisehg/hgqt/repomodel.py > @@ -458,6 +459,7 @@ class HgRepoListModel(QAbstractTableMode > try: > return self.safedata(index, role) > except Exception, e: > + raise > if role == Qt.DisplayRole: > return QVariant(hglib.tounicode(str(e))) > else: > No, the exception dialog doesn't appear when I make that change, still just a blank graph column. (I tried forcing an exception in that try block to make sure the exception dialog did appear when one was thrown there, and it did).
I've confirmed that I have python-qt4, python-qt4-dev and python-qscintilla2 on my machine. Thanks, Colin ------------------------------------------------------------------------------ Got visibility? Most devs has no idea what their production app looks like. Find out how fast your code is with AppDynamics Lite. http://ad.doubleclick.net/clk;262219671;13503038;y? http://info.appdynamics.com/FreeJavaPerformanceDownload.html _______________________________________________ Tortoisehg-discuss mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/tortoisehg-discuss

