Traceback (most recent call last):


 "c:\users\ABC\appdata\local\programs\python\python36\lib\runpy.py", line 193, in _run_module_as_main

"__main__", mod_spec)


 "c:\users\ABC\appdata\local\programs\python\python36\lib\runpy.py", line 85, in _run_code

exec(code, run_globals)


 "C:\Users\ABC\AppData\Roaming\Python\Python36\Scripts\sam.exe\__main__.py", line 9, in <module>


 "C:\Users\ABC\AppData\Roaming\Python\Python36\site-packages\click\core.py", line 722, in __call__

return self.main(*args, **kwargs)


 "C:\Users\ABC\AppData\Roaming\Python\Python36\site-packages\click\core.py", line 697, in main

rv = self.invoke(ctx)


 "C:\Users\ABC\AppData\Roaming\Python\Python36\site-packages\click\core.py", line 1066, in invoke

return _process_result(sub_ctx.command.invoke(sub_ctx))


 "C:\Users\ABC\AppData\Roaming\Python\Python36\site-packages\click\core.py", line 895, in invoke

return ctx.invoke(self.callback, **ctx.params)


 "C:\Users\ABC\AppData\Roaming\Python\Python36\site-packages\click\core.py", line 535, in invoke

return callback(*args, **kwargs)


 "C:\Users\ABC\AppData\Roaming\Python\Python36\site-packages\click\decorators.py", line 64, in new_func

return ctx.invoke(f, obj, *args[1:], **kwargs)


 "C:\Users\ABC\AppData\Roaming\Python\Python36\site-packages\click\core.py", line 535, in invoke

return callback(*args, **kwargs)


 "C:\Users\ABC\AppData\Roaming\Python\Python36\site-packages\samcli\commands\build\command.py", line 95, in cli

skip_pull_image, parameter_overrides)
# pragma: no cover


 "C:\Users\ABC\AppData\Roaming\Python\Python36\site-packages\samcli\commands\build\command.py", line 124, in do_cli

skip_pull_image=skip_pull_image) as ctx:


 "C:\Users\ABC\AppData\Roaming\Python\Python36\site-packages\samcli\commands\build\build_context.py", line 57, in __enter__

self._function_provider = SamFunctionProvider(self._template_dict, self._parameter_overrides)


 "C:\Users\ABC\AppData\Roaming\Python\Python36\site-packages\samcli\commands\local\lib\sam_function_provider.py", line 45, in __init__

self.template_dict = SamBaseProvider.get_template(template_dict, parameter_overrides)


 "C:\Users\ABC\AppData\Roaming\Python\Python36\site-packages\samcli\commands\local\lib\sam_base_provider.py", line 62, in get_template

template_dict = SamTranslatorWrapper(template_dict).run_plugins()


 "C:\Users\ABC\AppData\Roaming\Python\Python36\site-packages\samcli\lib\samlib\wrapper.py", line 67, in run_plugins

parser.parse(template_copy, all_plugins)
# parse() will run all configured plugins


 "C:\Users\ABC\AppData\Roaming\Python\Python36\site-packages\samcli\lib\samlib\wrapper.py", line 120, in parse

sam_plugins.act(LifeCycleEvents.before_transform_template, sam_template)


 "C:\Users\ABC\AppData\Roaming\Python\Python36\site-packages\samtranslator\plugins\__init__.py", line 136, in act

raise ex


 "C:\Users\ABC\AppData\Roaming\Python\Python36\site-packages\samtranslator\plugins\__init__.py", line 130, in act

getattr(plugin, method_name)(*args, **kwargs)


 "C:\Users\ABC\AppData\Roaming\Python\Python36\site-packages\samtranslator\plugins\api\implicit_api_plugin.py", line 78, in on_before_transform_template

self._process_api_events(function, api_events, template, condition)


 "C:\Users\ABC\AppData\Roaming\Python\Python36\site-packages\samtranslator\plugins\api\implicit_api_plugin.py", line 141, in _process_api_events

api_dict = self.api_conditions.setdefault(api_id, {})
TypeError: unhashable type: 'dict'

Traceback (most recent call last):

 "/Users/toxasma/opt/miniconda3/lib/python3.8/site-packages/spyder/plugins/editor/panels/scrollflag.py", line 164, in paintEvent
scale_factor = groove_rect.height() / self.get_scrollbar_value_height()ZeroDivisionError: division by zero