meraki / dashboard-api-python

Official Dashboard API library (SDK) for Python
MIT License
293 stars 154 forks source link

appliance.py getting syntax err in position 284 #143

Closed Rupert-Wever closed 3 years ago

Rupert-Wever commented 3 years ago

Starting a brand-new pycharm project with bare basics:


import meraki

if name == 'main': print('Hello')


Getting the following...

Traceback (most recent call last): File "", line 991, in _find_and_load File "", line 975, in _find_and_load_unlocked File "", line 671, in _load_unlocked File "", line 783, in exec_module File "", line 219, in _call_with_frames_removed File "/Users/rwever/PycharmProjects/MerakiUtils/venv/lib/python3.8/site-packages/meraki/init.py", line 5, in from .rest_session import * File "/Users/rwever/PycharmProjects/MerakiUtils/venv/lib/python3.8/site-packages/meraki/rest_session.py", line 13, in from .init import version File "/Users/rwever/PycharmProjects/MerakiUtils/venv/lib/python3.8/site-packages/meraki/init.py", line 9, in from .api.appliance import Appliance File "/Users/rwever/PycharmProjects/MerakiUtils/venv/lib/python3.8/site-packages/meraki/api/appliance.py", line 1477 """ ^ SyntaxError: (unicode error) 'utf-8' codec can't decode byte 0xae in position 284: invalid start byte python-BaseException

Rupert-Wever commented 3 years ago

Error occurring with 1.6.0 Workaround = pip3 install meraki==1.4.3

TKIPisalegacycipher commented 3 years ago

Fixed in https://github.com/meraki/dashboard-api-python/commit/c9928d646b51a1ab25d680732d038af3240c058a