Traceback (most recent call last):


 "/home/salgado/virtualenvs/trinity/bin/mypy", line 8, in <module>

sys.exit(console_entry())


 "/home/salgado/virtualenvs/trinity/lib/python3.8/site-packages/mypy/__main__.py", line 8, in console_entry

main(None, sys.stdout, sys.stderr)


 "/home/salgado/virtualenvs/trinity/lib/python3.8/site-packages/mypy/main.py", line 89, in main

res = build.build(sources, options, None, flush_errors, fscache, stdout, stderr)


 "/home/salgado/virtualenvs/trinity/lib/python3.8/site-packages/mypy/build.py", line 180, in build

result = _build(


 "/home/salgado/virtualenvs/trinity/lib/python3.8/site-packages/mypy/build.py", line 252, in _build

graph = dispatch(sources, manager, stdout)


 "/home/salgado/virtualenvs/trinity/lib/python3.8/site-packages/mypy/build.py", line 2626, in dispatch

process_graph(graph, manager)


 "/home/salgado/virtualenvs/trinity/lib/python3.8/site-packages/mypy/build.py", line 2949, in process_graph

process_stale_scc(graph, scc, manager)


 "/home/salgado/virtualenvs/trinity/lib/python3.8/site-packages/mypy/build.py", line 3041, in process_stale_scc

mypy.semanal_main.semantic_analysis_for_scc(graph, scc, manager.errors)


 "/home/salgado/virtualenvs/trinity/lib/python3.8/site-packages/mypy/semanal_main.py", line 78, in semantic_analysis_for_scc

process_top_levels(graph, scc, patches)


 "/home/salgado/virtualenvs/trinity/lib/python3.8/site-packages/mypy/semanal_main.py", line 199, in process_top_levels

deferred, incomplete, progress = semantic_analyze_target(next_id, state,


 "/home/salgado/virtualenvs/trinity/lib/python3.8/site-packages/mypy/semanal_main.py", line 326, in semantic_analyze_target

analyzer.refresh_partial(refresh_node,


 "/home/salgado/virtualenvs/trinity/lib/python3.8/site-packages/mypy/semanal.py", line 357, in refresh_partial

self.refresh_top_level(node)


 "/home/salgado/virtualenvs/trinity/lib/python3.8/site-packages/mypy/semanal.py", line 368, in refresh_top_level

self.accept(d)


 "/home/salgado/virtualenvs/trinity/lib/python3.8/site-packages/mypy/semanal.py", line 4691, in accept

node.accept(self)


 "/home/salgado/virtualenvs/trinity/lib/python3.8/site-packages/mypy/nodes.py", line 1063, in accept

return visitor.visit_assignment_stmt(self)


 "/home/salgado/virtualenvs/trinity/lib/python3.8/site-packages/mypy/semanal.py", line 1943, in visit_assignment_stmt

self.apply_dynamic_class_hook(s)


 "/home/salgado/virtualenvs/trinity/lib/python3.8/site-packages/mypy/semanal.py", line 2194, in apply_dynamic_class_hook

hook(DynamicClassDefContext(call, lval.name, self))


 "/home/salgado/virtualenvs/trinity/lib/python3.8/site-packages/sqlmypy.py", line 156, in decl_info_hook

add_metadata_var(ctx, info)


 "/home/salgado/virtualenvs/trinity/lib/python3.8/site-packages/sqlmypy.py", line 119, in add_metadata_var

add_var_to_class('metadata', typ, info)


 "/home/salgado/virtualenvs/trinity/lib/python3.8/site-packages/sqlmypy.py", line 81, in add_var_to_class

var._fullname = info.fullname() + '.' + name
TypeError: 'str' object is not callable

Traceback (most recent call last):


 "/usr/lib/python3.7/tkinter/__init__.py", line 1705, in __call__

return self.func(*args)


 "/usr/lib/python3/dist-packages/thonny/plugins/pip_gui.py", line 658, in _handle_install_file_click

initialdir=get_workbench().get_local_cwd,


 "/usr/lib/python3/dist-packages/thonny/ui_utils.py", line 1920, in askopenfilename

return _get_dialog_provider().askopenfilename(**options)


 "/usr/lib/python3/dist-packages/thonny/ui_utils.py", line 1960, in askopenfilename

args = cls._convert_common_options("Open file", **options)


 "/usr/lib/python3/dist-packages/thonny/ui_utils.py", line 1994, in _convert_common_options

filename = _options_to_zenity_filename(options)


 "/usr/lib/python3/dist-packages/thonny/ui_utils.py", line 2036, in _options_to_zenity_filename

return options["initialdir"] + os.path.sep
TypeError: unsupported operand type(s) for +: 'method' and 'str'
