clone 336540 -1
retitle -1 bzr selftest pukes if you have no working homedir
thanks
On Wed, Nov 02, 2005 at 05:09:19PM -0600, Bob Tanner said
> Tags: patch
>
> Back to the open_tracefile
>
> try:
> tf = codecs.open(trace_fname, 'at', 'utf8', buffering=1)
> <snip>
> except IOError, e:
> warning("failed to open trace file: %s" % (e))
> print "************* WTF ******************"
>
> ./bzr selftest
> No handlers could be found for logger "bzr"
> ************* WTF ******************
>
> So, the codecs.open() does throw an IOError, I think some sort of error
> recovery is possible?
This seems unrelated to your original issue about building it on sarge;
please try to contain each bug report to one issue (I've opened a new
one for this lack-of-homedir thing).
> One possible solution? Default to sys.stderr.
>
> Attached patch.
Thanks.
-rob
--
no wonder the sound has so much body!
--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]