You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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
The text was updated successfully, but these errors were encountered:
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
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
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
The text was updated successfully, but these errors were encountered: