AttributeError: 'module' object has no attribute 'getLogger'

Questions and discussion about The WiPy 1.0 board and CC3200 boards.
Target audience: Users with a WiPy 1.0 or CC3200 board.
Post Reply
donikuy
Posts: 14
Joined: Fri Feb 09, 2018 10:43 am

AttributeError: 'module' object has no attribute 'getLogger'

Post by donikuy » Fri Mar 16, 2018 11:47 am

Hi,

I have been trying to get picoweb to work on my WIPY 3.0.
I get error AttributeError: 'module' object has no attribute 'getLogger' after I run app.run(debug=True).
I have renamed logging module to logging_picoweb and that seems to make things better up to some point, but then the error originates from "picoweb/__init__.py", line 284.

Can anyone help with this?

kenjichen
Posts: 1
Joined: Sun Jan 06, 2019 2:22 am

Re: AttributeError: 'module' object has no attribute 'getLogger'

Post by kenjichen » Sun Jan 06, 2019 2:27 am

I've encountered same error, Since checking the code ..I found that no matter debug=true or debug=false , the logging would be imported , that's the error message from.

solution : app.debut(debut=-1) , it works~

Post Reply