Traceback (most recent call last):


 "/home/levitanus/gits/sample_editor/sample_editor/tmpfsktpi", line 12, in <module>

changes = ExtractMethod(myproject, ropy, 18805, 19666).get_changes('load_Art', similar=True)


 "/home/levitanus/.local/lib/python3.8/site-packages/rope/refactor/extract.py", line 69, in get_changes

new_contents = _ExtractPerformer(info).extract()


 "/home/levitanus/.local/lib/python3.8/site-packages/rope/refactor/extract.py", line 216, in extract

extract_info = self._collect_info()


 "/home/levitanus/.local/lib/python3.8/site-packages/rope/refactor/extract.py", line 244, in _collect_info

self._find_definition(extract_collector)


 "/home/levitanus/.local/lib/python3.8/site-packages/rope/refactor/extract.py", line 306, in _find_definition

collector.body_pattern = parts.get_body_pattern()


 "/home/levitanus/.local/lib/python3.8/site-packages/rope/refactor/extract.py", line 441, in get_body_pattern

return similarfinder.make_pattern(self._get_body(), variables)


 "/home/levitanus/.local/lib/python3.8/site-packages/rope/refactor/similarfinder.py", line 353, in make_pattern

for match in finder.get_matches('${%s}' % variable):


 "/home/levitanus/.local/lib/python3.8/site-packages/rope/refactor/similarfinder.py", line 102, in get_matches

match_start, match_end = match.get_region()


 "/home/levitanus/.local/lib/python3.8/site-packages/rope/refactor/similarfinder.py", line 256, in get_region

return self.ast.region
AttributeError: 'Name' object has no attribute 'region'

Traceback (most recent call last):


 "/usr/local/Cellar/pipenv/2020.6.2/libexec/lib/python3.8/site-packages/pipenv/resolver.py", line 807, in <module>

main()


 "/usr/local/Cellar/pipenv/2020.6.2/libexec/lib/python3.8/site-packages/pipenv/resolver.py", line 803, in main

parsed.requirements_dir, parsed.packages, parse_only=parsed.parse_only)


 "/usr/local/Cellar/pipenv/2020.6.2/libexec/lib/python3.8/site-packages/pipenv/resolver.py", line 785, in _main

resolve_packages(pre, clear, verbose, system, write, requirements_dir, packages)


 "/usr/local/Cellar/pipenv/2020.6.2/libexec/lib/python3.8/site-packages/pipenv/resolver.py", line 753, in resolve_packages

requirements_dir=requirements_dir,


 "/usr/local/Cellar/pipenv/2020.6.2/libexec/lib/python3.8/site-packages/pipenv/resolver.py", line 736, in resolve

req_dir=requirements_dir


 "/usr/local/Cellar/pipenv/2020.6.2/libexec/lib/python3.8/site-packages/pipenv/utils.py", line 1386, in resolve_deps

req_dir=req_dir,


 "/usr/local/Cellar/pipenv/2020.6.2/libexec/lib/python3.8/site-packages/pipenv/utils.py", line 1091, in actually_resolve_deps

deps, index_lookup, markers_lookup, project, sources, req_dir, clear, pre


 "/usr/local/Cellar/pipenv/2020.6.2/libexec/lib/python3.8/site-packages/pipenv/utils.py", line 649, in create

pre=pre, clear=clear


 "/usr/local/Cellar/pipenv/2020.6.2/libexec/lib/python3.8/site-packages/pipenv/utils.py", line 463, in get_metadata

req, resolver=transient_resolver


 "/usr/local/Cellar/pipenv/2020.6.2/libexec/lib/python3.8/site-packages/pipenv/utils.py", line 540, in get_deps_from_req

req_list, lockfile = get_vcs_deps(reqs=[req])


 "/usr/local/Cellar/pipenv/2020.6.2/libexec/lib/python3.8/site-packages/pipenv/utils.py", line 1874, in get_vcs_deps

with temp_path(), locked_repository(requirement) as repo:


 "/usr/local/opt/python/Frameworks/Python.framework/Versions/3.7/lib/python3.7/contextlib.py", line 112, in __enter__

return next(self.gen)


 "/usr/local/Cellar/pipenv/2020.6.2/libexec/lib/python3.8/site-packages/pipenv/utils.py", line 2030, in locked_repository

with requirement.req.locked_vcs_repo(src_dir=src_dir) as repo:


 "/usr/local/opt/python/Frameworks/Python.framework/Versions/3.7/lib/python3.7/contextlib.py", line 112, in __enter__

return next(self.gen)


 "/usr/local/Cellar/pipenv/2020.6.2/libexec/lib/python3.8/site-packages/pipenv/vendor/requirementslib/models/requirements.py", line 2212, in locked_vcs_repo

self._parsed_line.vcsrepo = vcsrepo


 "/usr/local/Cellar/pipenv/2020.6.2/libexec/lib/python3.8/site-packages/pipenv/vendor/requirementslib/models/requirements.py", line 916, in vcsrepo

kwargs=wheel_kwargs,


 "/usr/local/Cellar/pipenv/2020.6.2/libexec/lib/python3.8/site-packages/pipenv/vendor/requirementslib/models/setup_info.py", line 1937, in create

created.get_initial_info()


 "/usr/local/Cellar/pipenv/2020.6.2/libexec/lib/python3.8/site-packages/pipenv/vendor/requirementslib/models/setup_info.py", line 1766, in get_initial_info

self.update_from_dict(self.parse_setup_py())


 "/usr/local/Cellar/pipenv/2020.6.2/libexec/lib/python3.8/site-packages/pipenv/vendor/requirementslib/models/setup_info.py", line 1479, in update_from_dict

for section in set(list(extras_require.keys())) - set(list(self.extras.keys())):
AttributeError: 'str' object has no attribute 'keys'
