[Ifeffit] larch warning that I don't understand
Bruce Ravel
bravel at bnl.gov
Wed Feb 7 11:47:42 CST 2018
Would it be helpful, then, to do something like this in some appropriate
place?
import warnings
warnings.filterwarnings("ignore",".*No handlers could be found*")
B
On 02/06/2018 06:35 PM, Matt Newville wrote:
> Hi Bruce,
>
>
>
> On Tue, Feb 6, 2018 at 4:14 PM, Ravel, Bruce <bravel at bnl.gov
> <mailto:bravel at bnl.gov>> wrote:
>
>
> Matt,
>
> When Larch starts, what is meant by warnings like this:
>
> No handlers could be found for logger "pyFAI.opencl.common"
>
> or
>
> No handlers could be found for logger "pyFAI.gui.matplotlib"
>
> The first one went away by installing python's opencl interface -- a
> rather sizable prerequisite! I haven't figured out how to make the
> second one happy.
>
>
> I see the first one on lots of machines. It's an obnoxious warning
> message from pyFAI about functionality we don't actually use.
>
> I don't see the second one very often. I suspect that is because it
> really means "could not import one of the Python-Qt variations", which
> the pyFAI GUI probably uses.
> Again, we don't actually need this functionality in Larch, so it is an
> obnoxious warning message.
>
> Both warnings are harmless.
>
> --Matt
>
>
>
>
> _______________________________________________
> Ifeffit mailing list
> Ifeffit at millenia.cars.aps.anl.gov
> http://millenia.cars.aps.anl.gov/mailman/listinfo/ifeffit
> Unsubscribe: http://millenia.cars.aps.anl.gov/mailman/options/ifeffit
>
--
Bruce Ravel ------------------------------------ bravel at bnl.gov
National Institute of Standards and Technology
Synchrotron Science Group at NSLS-II
Building 743, Room 114
Upton NY, 11973
Homepage: http://bruceravel.github.io/home/
Beamline: https://www.bnl.gov/ps/beamlines/beamline.php?r=6-BM
Software: https://github.com/bruceravel
Demeter: http://bruceravel.github.io/demeter/
More information about the Ifeffit
mailing list