Open mpapazog opened 3 years ago
I'm getting the same error.
OS: MacOS Catalina. Python version: 3.8.5
I think it is related to this:
Threading.Thread.isAlive has been deprecated and removed in Python 3.9 in favor of Threading.Thread.is_alive that is present in both Python 2 and 3 . Reference : python/cpython#15225
This results in an issue in webhooksimulator.py, if you start it as described here: https://developer.cisco.com/learning/devnet-express/devnet-express-meraki/meraki-monitoring/meraki-07-webhooks/step/3
AttributeError: 'Thread' object has no attribute 'isAlive'
if you start the cloud_simulator with python 3.9 or newer. Don't know why it happens with python 3.8.5 @wl4715
In the dCloud centOS environment we are using python 3.6, so here it is working fine
Solution should be to replace isAlive() with is_alive() in all threading modules, or at least in line 170 in file merakicloudsimulator/webhooksimulator.py
@shweta-palande May be related to #6
When connecting the Meraki cloud simulator to my Webhook receiver script, I get an error 500 in my browser and the following output in the cloud simulator command line logs: File "[...]\meraki-code\meraki_cloud_simulator\merakicloudsimulator\webhooksimulator.py", line 170, in webhooksettings if not post_thread.isAlive(): AttributeError: 'Thread' object has no attribute 'isAlive'
OS: Windows 10. Python version: 3.9.0