idr-contrib / community

Community oriented repository and issue tracker for using the IDR

Home Page:https://idr.openmicroscopy.org

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

No handlers could be found for logger "omero.gateway"

beatrizserrano opened this issue · comments

I'm getting this warning each time I open a connection, but I can compute the features afterwards. Could this affect the results in some way?

Hi @beatrizserrano, it's strictly a logging issue so it should impact your results at all. See https://docs.python.org/2/library/logging.html#logging.basicConfig for options that you have in your local environment. So rather than:

>>> import omero
>>> import omero.gateway
No handlers could be found for logger "omero.gateway"

you could use:

>>> import logging
>>> logging.basicConfig()
>>> import omero
>>> import omero.gateway

adjusting the level argument to fit your needs.