Closed Bug 795477 Opened 14 years ago Closed 14 years ago

Every "mach" command prints out: No handlers could be found for logger "pymake.data"

Categories

(Firefox Build System :: Mach Core, enhancement)

x86_64
Linux
enhancement
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED
mozilla18

People

(Reporter: dholbert, Assigned: gps)

Details

Attachments

(1 file)

STR: "Run ./mach build" or "./mach warnings-summary" or "./mach warnings-list", in e.g. a fresh checkout (with or without an objdir). ACTUAL RESULTS: The first line of the output is always this line: No handlers could be found for logger "pymake.data" EXPECTED RESULTS: No such line printed.
The underlying problem is that pymake is producing a log message (or a few) when we invoke pymake to parse the evaluated mozconfig file as part of evaluating the object directory. We don't have a Python log handler to catch this event and Python is letting us know via stderr. The simple solution is to install a dummy log handler that catches all events and does nothing with them.
This should fix things.
Assignee: nobody → gps
Status: NEW → ASSIGNED
Attachment #666074 - Flags: review?(jhammel)
Attachment #666074 - Flags: review?(jhammel) → review+
Status: ASSIGNED → RESOLVED
Closed: 14 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla18
Product: Core → Firefox Build System
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: