odd message when running py-lp-b with bzr version 1.6rc3

Bug #260515 reported by Brian Murray
2
Affects Status Importance Assigned to Milestone
python-launchpad-bugs
Fix Released
Low
Brian Murray

Bug Description

I've started seeing the message "No handlers could be found for logger 'bzr'" when using either python-launchpad-bugs or bughelper on servers with bzr version 1.6rc3.

I asked a question about this - https://answers.launchpad.net/bzr/+question/42886. Which helped me discover that when python-launchpad-bugs is trying to find out what version it is it ends up wanting to log its progress to ~/.bzr.log. However, this seems a bit unnecessary to me so I think the best way to resolve this is using calling bzrlib.trace with be_quiet().

I have tested this on a server with 1.6.rc3 and this stops the message I was seeing. Additionally, I've tested this on another system with bzr version 1.5 without any issues.

Changed in python-launchpad-bugs:
assignee: nobody → brian-murray
importance: Undecided → Low
status: New → In Progress
Revision history for this message
Brian Murray (brian-murray) wrote :
Revision history for this message
Steve Beattie (sbeattie) wrote :

The updated patch that invokes trace.enable_default_logging() as well as trace.be_quiet() is working for me on both bzr 1.6rc3 and bzr 1.3.1 (8.04). Thanks!

Revision history for this message
Brian Murray (brian-murray) wrote :

Pushed in revision 154 of python-launchpad-bugs.

Changed in python-launchpad-bugs:
status: In Progress → Fix Committed
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.