Closed iamdexterpark closed 3 years ago
I've opened a pull request to address this issue: https://github.com/meraki/dashboard-api-python/pull/145
Pending review. Thanks in advance!
Thank you. This is fixed; I also resolved this within the generate_library.py module to help avoid this in the future. https://github.com/meraki/dashboard-api-python/commit/c9928d646b51a1ab25d680732d038af3240c058a
Hello,
It looks like the update to SDK v1.6.0 replaced a trademark character which is causing unicode issues:
Traceback (most recent call last): File "audit.py", line 1, in
import meraki
File "/$MY_PATH/venv/lib/python3.7/site-packages/meraki/init.py", line 5, in
from .rest_session import *
File "/$MY_PATH/venv/lib/python3.7/site-packages/meraki/rest_session.py", line 13, in
from .init import version
File "/$MY_PATH/venv/lib/python3.7/site-packages/meraki/init.py", line 9, in
from .api.appliance import Appliance
File "/$MY_PATH/venv/lib/python3.7/site-packages/meraki/api/appliance.py", line 1483
"""
SyntaxError: (unicode error) 'utf-8' codec can't decode byte 0xae in position 284: invalid start byte
(venv)
Please replace
SNORT®
withSNORT(r)
on line 1482 for:meraki/aio/api/appliance.py meraki/api/appliance.py
Thanks in advance!