
Traceback (most recent call last):

 "formlayout.py", line 541, in \<module>
apply=apply_test)

 "formlayout.py", line 505, in fedit
dialog = FormDialog(data, title, comment, icon, parent, apply)

 "formlayout.py", line 421, in __init__
self.formwidget.setup()

 "formlayout.py", line 271, in setup
selindex = value.pop(0)
AttributeError: 'tuple' object has no attribute 'pop'
Traceback (most recent call last):


 "/home/jbpratt/.local/bin/sam", line 8, in <module>

sys.exit(cli())


 "/home/jbpratt/.local/lib/python3.8/site-packages/click/core.py", line 764, in __call__

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


 "/home/jbpratt/.local/lib/python3.8/site-packages/click/core.py", line 717, in main

rv = self.invoke(ctx)


 "/home/jbpratt/.local/lib/python3.8/site-packages/click/core.py", line 1137, in invoke

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


 "/home/jbpratt/.local/lib/python3.8/site-packages/click/core.py", line 956, in invoke

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


 "/home/jbpratt/.local/lib/python3.8/site-packages/click/core.py", line 555, in invoke

return callback(*args, **kwargs)


 "/home/jbpratt/.local/lib/python3.8/site-packages/click/decorators.py", line 64, in new_func

return ctx.invoke(f, obj, *args, **kwargs)


 "/home/jbpratt/.local/lib/python3.8/site-packages/click/core.py", line 555, in invoke

return callback(*args, **kwargs)


 "/home/jbpratt/.local/lib/python3.8/site-packages/samcli/lib/telemetry/metrics.py", line 96, in wrapped

raise exception
# pylint: disable=raising-bad-type


 "/home/jbpratt/.local/lib/python3.8/site-packages/samcli/lib/telemetry/metrics.py", line 62, in wrapped

return_value = func(*args, **kwargs)


 "/home/jbpratt/.local/lib/python3.8/site-packages/samcli/commands/build/command.py", line 118, in cli

do_cli(


 "/home/jbpratt/.local/lib/python3.8/site-packages/samcli/commands/build/command.py", line 168, in do_cli

with BuildContext(


 "/home/jbpratt/.local/lib/python3.8/site-packages/samcli/commands/build/build_context.py", line 62, in __enter__

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


 "/home/jbpratt/.local/lib/python3.8/site-packages/samcli/lib/providers/sam_function_provider.py", line 40, in __init__

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


 "/home/jbpratt/.local/lib/python3.8/site-packages/samcli/lib/providers/sam_base_provider.py", line 126, in get_template

template_dict = SamTranslatorWrapper(template_dict, parameter_values=parameters_values).run_plugins()


 "/home/jbpratt/.local/lib/python3.8/site-packages/samcli/lib/samlib/wrapper.py", line 76, in run_plugins

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


 "/home/jbpratt/.local/lib/python3.8/site-packages/samcli/lib/samlib/wrapper.py", line 131, in parse

sam_plugins.act(LifeCycleEvents.before_transform_template, sam_template)


 "/home/jbpratt/.local/lib/python3.8/site-packages/samtranslator/plugins/__init__.py", line 139, in act

raise ex


 "/home/jbpratt/.local/lib/python3.8/site-packages/samtranslator/plugins/__init__.py", line 133, in act

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


 "/home/jbpratt/.local/lib/python3.8/site-packages/samtranslator/plugins/application/serverless_app_plugin.py", line 85, in on_before_transform_template

for logical_id, app in template.iterate({SamResourceType.Application.value}):


 "/home/jbpratt/.local/lib/python3.8/site-packages/samtranslator/sdk/template.py", line 33, in iterate

resource = SamResource(resource_dict)


 "/home/jbpratt/.local/lib/python3.8/site-packages/samtranslator/sdk/resource.py", line 24, in __init__

self.type = resource_dict.get("Type")
AttributeError: 'NoneType' object has no attribute 'get'
