On Wed, Nov 02, 2005 at 09:52:48AM -0600, Bob Tanner said
> Confirmed that ./bzr selftest fails under sid pbuilder too for the same 
> reason. Your home directory does not exist under a pbuilder chroot.
> 
> ./bzr selftest
> No handlers could be found for logger "bzr"
> Traceback (most recent call last):
>   File "./bzr", line 63, in ?
>     bzrlib.trace.enable_default_logging()
>   File "/tmp/bzr-0.6/bzrlib/trace.py", line 205, in enable_default_logging
>     _file_handler.setLevel(level)
> AttributeError: 'NoneType' object has no attribute 'setLevel'
> make: *** [common-post-build-indep] Error 1
> 
> I guess the recommendation is not to assume ~/bzr.log can be made and fail 
> over to /var/tmp or /tmp ?

I guess the fix is:

+ mkdir ./build/home
+ export HOME=`pwd`/build/home/
  ./build/scripts/bzr selftest

-rob
-- 
Is there anything of yours that we could keep as a momento of this visit?


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to