On Mon, May 25, 2009 at 12:58 PM, Marcel <marcel.g...@gmx.ch> wrote: > Steve Borho <st...@...> writes: >> >> On Fri, May 22, 2009 at 8:22 AM, Georg <gwk....@...> wrote: >> > Being on Linux, I get nothing at all when I do "hgtk log", with todays >> > version from the crew repository. The return code is -1.
FYI: this first problem was caused by circular dependencies that were only exposed when the user had extensions enabled that disabled demandimport. This initial problem has been fixed. > I noticed a similar thing (hgtk does nothing at all) for the current tip in > crew (3e239ecc4b02), the return code is 1. Mac OS X, python 2.5. > Bisecting it shows that e63b33ef3201 is the last working version. > >> Wierd. I don't see this here. Here's a debugging tip for crew, which >> steals stderr by default: >> >> export THGDEBUG=yes >> hgtk log >> >> Does tell you something interesting? > Just tried that: > hgtk log > Traceback (most recent call last): > File "/Users/marcel/local/bin/hgtk", line 43, in <module> > sys.exit(hggtk.hgtk.dispatch(sys.argv[1:])) > File > "/Users/marcel/local/lib/python2.5/site-packages/mercurial/demandimport.py", > line 75, in __getattribute__ > self._load() > File > "/Users/marcel/local/lib/python2.5/site-packages/mercurial/demandimport.py", > line 47, in _load > mod = _origimport(head, globals, locals) > File "/Users/marcel/MAKE/mercurial/tortoisehg-crew/hggtk/hgtk.py", line 582, > in <module> > _('repository root directory or symbolic path name')), > File "/Users/marcel/MAKE/mercurial/tortoisehg-crew/thgutil/i18n.py", line > 25, in agettext > return u.encode(sys.stdout.encoding, "replace") > TypeError: encode() argument 1 must be string, not None That is interesting. Hopefully Yuki can fix this simply. On the other hand, it would be nice if the hgtk stderr hooks could have caught this and presented a bugreport dialog rather than quiting silently. Many of these errors still aren't being caught, which is troubling. We need to improve this before the 0.8 release. -- Steve Borho ------------------------------------------------------------------------------ Register Now for Creativity and Technology (CaT), June 3rd, NYC. CaT is a gathering of tech-side developers & brand creativity professionals. Meet the minds behind Google Creative Lab, Visual Complexity, Processing, & iPhoneDevCamp asthey present alongside digital heavyweights like Barbarian Group, R/GA, & Big Spaceship. http://www.creativitycat.com _______________________________________________ Tortoisehg-discuss mailing list Tortoisehg-discuss@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/tortoisehg-discuss