
The minion function caused an exception: Traceback (most recent call last):


 "c:\salt\bin\lib\site-packages\salt\minion.py", line 1606, in _thread_return

return_data = minion_instance.executors[fname](opts, data, func, args, kwargs)


 "c:\salt\bin\lib\site-packages\salt\executors\direct_call.py", line 12, in execute

return func(*args, **kwargs)


 "c:\salt\bin\lib\site-packages\salt\modules\zenoss.py", line 181, in add_device

response = _router_request('DeviceRouter', 'addDevice', data=[data])


 "c:\salt\bin\lib\site-packages\salt\modules\zenoss.py", line 96, in _router_request

url = '{0}/zport/dmd/{1}_router'.format(config.get('hostname'), ROUTERS[router])

AttributeError: 'str' object has no attribute 'get'


Traceback (most recent call last):


 "/usr/local/bin/svtplay-dl", line 4, in <module>

__import__('pkg_resources').run_script('svtplay-dl==2.0+21.gfd0171d', 'svtplay-dl')


 "/usr/lib/python3/dist-packages/pkg_resources/__init__.py", line 719, in run_script

self.require(requires)[0].run_script(script_name, ns)


 "/usr/lib/python3/dist-packages/pkg_resources/__init__.py", line 1504, in run_script

exec(code, namespace, namespace)


 "/usr/local/lib/python3.5/dist-packages/svtplay_dl-2.0+21.gfd0171d-py3.5.egg/EGG-INFO/scripts/svtplay-dl", line 7, in <module>

svtplay_dl.main()


 "/usr/local/lib/python3.5/dist-packages/svtplay_dl-2.0+21.gfd0171d-py3.5.egg/svtplay_dl/__init__.py", line 63, in main

get_media(urls[0], config, __version__)


 "/usr/local/lib/python3.5/dist-packages/svtplay_dl-2.0+21.gfd0171d-py3.5.egg/svtplay_dl/utils/getmedia.py", line 58, in get_media

get_one_media(stream)


 "/usr/local/lib/python3.5/dist-packages/svtplay_dl-2.0+21.gfd0171d-py3.5.egg/svtplay_dl/utils/getmedia.py", line 130, in get_one_media

after_date = datetime.fromisoformat(stream.config.get("after_date"))
AttributeError: type object 'datetime.datetime' has no attribute 'fromisoformat'
