Re: [Ifeffit] larch warning that I don't understand

2018-02-07 Thread Shoaib
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-boun...@millenia.cars.aps.anl.gov] On Behalf Of 
Bruce Ravel
Sent: Thursday, February 8, 2018 2:48 AM
To: ifeffit@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 <bra...@bnl.gov 
> <mailto:bra...@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@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   bra...@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@millenia.cars.aps.anl.gov
http://millenia.cars.aps.anl.gov/mailman/listinfo/ifeffit
Unsubscribe: http://millenia.cars.aps.anl.gov/mailman/options/ifeffit


___
Ifeffit mailing list
Ifeffit@millenia.cars.aps.anl.gov
http://millenia.cars.aps.anl.gov/mailman/listinfo/ifeffit
Unsubscribe: http://millenia.cars.aps.anl.gov/mailman/options/ifeffit


Re: [Ifeffit] larch warning that I don't understand

2018-02-06 Thread Matt Newville
Hi Bruce,



On Tue, Feb 6, 2018 at 4:14 PM, Ravel, Bruce  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@millenia.cars.aps.anl.gov
http://millenia.cars.aps.anl.gov/mailman/listinfo/ifeffit
Unsubscribe: http://millenia.cars.aps.anl.gov/mailman/options/ifeffit


[Ifeffit] larch warning that I don't understand

2018-02-06 Thread Ravel, Bruce

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.

Thanks,
B

--
 Bruce Ravel   bra...@bnl.gov

 National Institute of Standards and Technology
 Synchrotron Science Group at NSLS-II
 Building 535A
 Upton NY, 11973

 Homepage: http://bruceravel.github.io/home
 Software:https://github.com/bruceravel
 Demeter: http://bruceravel.github.io/demeter


___
Ifeffit mailing list
Ifeffit@millenia.cars.aps.anl.gov
http://millenia.cars.aps.anl.gov/mailman/listinfo/ifeffit
Unsubscribe: http://millenia.cars.aps.anl.gov/mailman/options/ifeffit