[Ifeffit] larch warning that I don't understand

Shoaib mshoaibce at gmail.com
Wed Feb 7 19:19:09 CST 2018


I don’t see any of this warning message after I installed Python 3.6.4 through Miniconda (Anaconda, Inc.) and installed Larch in Conda, I installed opencl package as well. Though I received this warning message in Python 2.7.

Regards,
/Shoaib

-----Original Message-----
From: Ifeffit [mailto:ifeffit-bounces at millenia.cars.aps.anl.gov] On Behalf Of Bruce Ravel
Sent: Thursday, February 8, 2018 2:48 AM
To: ifeffit at millenia.cars.aps.anl.gov
Subject: Re: [Ifeffit] larch warning that I don't understand


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/
_______________________________________________
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




More information about the Ifeffit mailing list