On Tue, May 26, 2009 at 2:58 AM, Marcel <[email protected]> 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. > 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 >
Hmm, the error was occurred in my patch :P I can't make out why 'encode' function doesn't receive 2 args, but I try to use THG internal function 'fromutf' instead of it. 'fromutf' function doesn't use 2nd arg of 'encode' function. I'll post a new patch right now. regards, Yuki ------------------------------------------------------------------------------ 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 [email protected] https://lists.sourceforge.net/lists/listinfo/tortoisehg-discuss

