yandex/gixy

RecursionError: maximum recursion depth exceeded while calling a Python object

ruiruige opened this issue · 0 comments

Hi:

I am using gixy to analyze nginx conf files, but here comes an exception, I do not know whether it is related to "recursive import".

My Env:
v0.1.20
python3

Traceback (most recent call last):
   File "/home/tops/bin/gixy", line 11, in <module>
     load_entry_point('gixy==0.1.20', 'console_scripts','gixy')()
   File "/home/tops/lib/python3.7/site-packages/gixy-0.1.20-py3.7.egg/gixy/cli/main.py", line 168, in main
     yoda.audit(path, fdata, is_stdin=False)
   File "/home/tops/lib/python3.7/site-packages/gixy-0.1.20-py3.7.egg/gixy/core/manager.py", line 24, in audit
     self.root = parser.parse(content=file_data.read(), path_info=file_path)
   File "/home/tops/lib/python3.7/site-packages/gixy-0.1.20-py3.7.egg/gixy/parser/nginx_parser.py", line 51, in parse
     self.parse_block(parsed, root)
   File "/home/tops/lib/python3.7/site-packages/gixy-0.1.20-py3.7.egg/gixy/parser/nginx_parser.py", line 63, in parse_block
     directive_inst = self.directive_factory(parsed_type, parsed_name, parsed_args)
   File "/home/tops/lib/python3.7/site-packages/gixy-0.1.20-py3.7.egg/gixy/parser/nginx_parser.py", line 77, in directive_factory
     self.parse_block(children, inst)
   File "/home/tops/lib/python3.7/site-packages/gixy-0.1.20-py3.7.egg/gixy/parser/nginx_parser.py", line 61, in parse_block
     self._resolve_include(parsed_args, parent)
   File "/home/tops/lib/python3.7/site-packages/gixy-0.1.20-py3.7.egg/gixy/parser/nginx_parser.py", line 109, in _resolve_include
     return self._resolve_file_include(pattern=pattern, parent=parent)
   File "/home/tops/lib/python3.7/site-packages/gixy-0.1.20-py3.7.egg/gixy/parser/nginx_parser.py", line 120, in _resolve_file_include
     self.parse_file(file_path, include)
   File "/home/tops/lib/python3.7/site-packages/gixy-0.1.20-py3.7.egg/gixy/parser/nginx_parser.py", line 28, in parse_file
     return self.parse(content=content, root=root, path_info=path)
   File "/home/tops/lib/python3.7/site-packages/gixy-0.1.20-py3.7.egg/gixy/parser/nginx_parser.py", line 51, in parse
     self.parse_block(parsed, root)
   File "/home/tops/lib/python3.7/site-packages/gixy-0.1.20-py3.7.egg/gixy/parser/nginx_parser.py", line 63, in parse_block
     directive_inst = self.directive_factory(parsed_type, parsed_name, parsed_args)
   File "/home/tops/lib/python3.7/site-packages/gixy-0.1.20-py3.7.egg/gixy/parser/nginx_parser.py", line 77, in directive_factory
     self.parse_block(children, inst)
   File "/home/tops/lib/python3.7/site-packages/gixy-0.1.20-py3.7.egg/gixy/parser/nginx_parser.py", line 61, in parse_block
     self._resolve_include(parsed_args, parent)
   File "/home/tops/lib/python3.7/site-packages/gixy-0.1.20-py3.7.egg/gixy/parser/nginx_parser.py", line 109, in _resolve_include
     return self._resolve_file_include(pattern=pattern, parent=parent)
   File "/home/tops/lib/python3.7/site-packages/gixy-0.1.20-py3.7.egg/gixy/parser/nginx_parser.py", line 120, in _resolve_file_include
     self.parse_file(file_path, include)
   File "/home/tops/lib/python3.7/site-packages/gixy-0.1.20-py3.7.egg/gixy/parser/nginx_parser.py", line 28, in parse_file
     return self.parse(content=content, root=root, path_info=path)
   File "/home/tops/lib/python3.7/site-packages/gixy-0.1.20-py3.7.egg/gixy/parser/nginx_parser.py", line 51, in parse
     self.parse_block(parsed, root)
   File "/home/tops/lib/python3.7/site-packages/gixy-0.1.20-py3.7.egg/gixy/parser/nginx_parser.py", line 63, in parse_block
     directive_inst = self.directive_factory(parsed_type, parsed_name, parsed_args)
   File "/home/tops/lib/python3.7/site-packages/gixy-0.1.20-py3.7.egg/gixy/parser/nginx_parser.py", line 77, in directive_factory
     self.parse_block(children, inst)
   File "/home/tops/lib/python3.7/site-packages/gixy-0.1.20-py3.7.egg/gixy/parser/nginx_parser.py", line 61, in parse_block
     self._resolve_include(parsed_args, parent)
   File "/home/tops/lib/python3.7/site-packages/gixy-0.1.20-py3.7.egg/gixy/parser/nginx_parser.py", line 109, in _resolve_include
     return self._resolve_file_include(pattern=pattern, parent=parent)
   File "/home/tops/lib/python3.7/site-packages/gixy-0.1.20-py3.7.egg/gixy/parser/nginx_parser.py", line 120, in _resolve_file_include
     self.parse_file(file_path, include)
   File "/home/tops/lib/python3.7/site-packages/gixy-0.1.20-py3.7.egg/gixy/parser/nginx_parser.py", line 28, in parse_file
     return self.parse(content=content, root=root, path_info=path)
   File "/home/tops/lib/python3.7/site-packages/gixy-0.1.20-py3.7.egg/gixy/parser/nginx_parser.py", line 51, in parse
     self.parse_block(parsed, root)
   File "/home/tops/lib/python3.7/site-packages/gixy-0.1.20-py3.7.egg/gixy/parser/nginx_parser.py", line 63, in parse_block
     directive_inst = self.directive_factory(parsed_type, parsed_name, parsed_args)
   File "/home/tops/lib/python3.7/site-packages/gixy-0.1.20-py3.7.egg/gixy/parser/nginx_parser.py", line 77, in directive_factory
     self.parse_block(children, inst)
   File "/home/tops/lib/python3.7/site-packages/gixy-0.1.20-py3.7.egg/gixy/parser/nginx_parser.py", line 61, in parse_block
     self._resolve_include(parsed_args, parent)
   File "/home/tops/lib/python3.7/site-packages/gixy-0.1.20-py3.7.egg/gixy/parser/nginx_parser.py", line 109, in _resolve_include
     return self._resolve_file_include(pattern=pattern, parent=parent)
   File "/home/tops/lib/python3.7/site-packages/gixy-0.1.20-py3.7.egg/gixy/parser/nginx_parser.py", line 120, in _resolve_file_include
     self.parse_file(file_path, include)
   File "/home/tops/lib/python3.7/site-packages/gixy-0.1.20-py3.7.egg/gixy/parser/nginx_parser.py", line 28, in parse_file
     return self.parse(content=content, root=root, path_info=path)
   File "/home/tops/lib/python3.7/site-packages/gixy-0.1.20-py3.7.egg/gixy/parser/nginx_parser.py", line 51, in parse
     self.parse_block(parsed, root)
   File "/home/tops/lib/python3.7/site-packages/gixy-0.1.20-py3.7.egg/gixy/parser/nginx_parser.py", line 63, in parse_block
     directive_inst = self.directive_factory(parsed_type, parsed_name, parsed_args)
   File "/home/tops/lib/python3.7/site-packages/gixy-0.1.20-py3.7.egg/gixy/parser/nginx_parser.py", line 77, in directive_factory
     self.parse_block(children, inst)
   File "/home/tops/lib/python3.7/site-packages/gixy-0.1.20-py3.7.egg/gixy/parser/nginx_parser.py", line 61, in parse_block
     self._resolve_include(parsed_args, parent)
   File "/home/tops/lib/python3.7/site-packages/gixy-0.1.20-py3.7.egg/gixy/parser/nginx_parser.py", line 109, in _resolve_include
     return self._resolve_file_include(pattern=pattern, parent=parent)
   File "/home/tops/lib/python3.7/site-packages/gixy-0.1.20-py3.7.egg/gixy/parser/nginx_parser.py", line 120, in _resolve_file_include
     self.parse_file(file_path, include)
   File "/home/tops/lib/python3.7/site-packages/gixy-0.1.20-py3.7.egg/gixy/parser/nginx_parser.py", line 28, in parse_file
     return self.parse(content=content, root=root, path_info=path)
   File "/home/tops/lib/python3.7/site-packages/gixy-0.1.20-py3.7.egg/gixy/parser/nginx_parser.py", line 51, in parse
     self.parse_block(parsed, root)
   File "/home/tops/lib/python3.7/site-packages/gixy-0.1.20-py3.7.egg/gixy/parser/nginx_parser.py", line 63, in parse_block
     directive_inst = self.directive_factory(parsed_type, parsed_name, parsed_args)
   File "/home/tops/lib/python3.7/site-packages/gixy-0.1.20-py3.7.egg/gixy/parser/nginx_parser.py", line 77, in directive_factory
     self.parse_block(children, inst)
   File "/home/tops/lib/python3.7/site-packages/gixy-0.1.20-py3.7.egg/gixy/parser/nginx_parser.py", line 61, in parse_block
     self._resolve_include(parsed_args, parent)
   File "/home/tops/lib/python3.7/site-packages/gixy-0.1.20-py3.7.egg/gixy/parser/nginx_parser.py", line 109, in _resolve_include
     return self._resolve_file_include(pattern=pattern, parent=parent)
   File "/home/tops/lib/python3.7/site-packages/gixy-0.1.20-py3.7.egg/gixy/parser/nginx_parser.py", line 120, in _resolve_file_include
     self.parse_file(file_path, include)
   File "/home/tops/lib/python3.7/site-packages/gixy-0.1.20-py3.7.egg/gixy/parser/nginx_parser.py", line 28, in parse_file
     return self.parse(content=content, root=root, path_info=path)
   File "/home/tops/lib/python3.7/site-packages/gixy-0.1.20-py3.7.egg/gixy/parser/nginx_parser.py", line 51, in parse
     self.parse_block(parsed, root)
   File "/home/tops/lib/python3.7/site-packages/gixy-0.1.20-py3.7.egg/gixy/parser/nginx_parser.py", line 63, in parse_block
     directive_inst = self.directive_factory(parsed_type, parsed_name, parsed_args)
   File "/home/tops/lib/python3.7/site-packages/gixy-0.1.20-py3.7.egg/gixy/parser/nginx_parser.py", line 77, in directive_factory
     self.parse_block(children, inst)
   File "/home/tops/lib/python3.7/site-packages/gixy-0.1.20-py3.7.egg/gixy/parser/nginx_parser.py", line 61, in parse_block
     self._resolve_include(parsed_args, parent)
   File "/home/tops/lib/python3.7/site-packages/gixy-0.1.20-py3.7.egg/gixy/parser/nginx_parser.py", line 109, in _resolve_include
     return self._resolve_file_include(pattern=pattern, parent=parent)
   File "/home/tops/lib/python3.7/site-packages/gixy-0.1.20-py3.7.egg/gixy/parser/nginx_parser.py", line 120, in _resolve_file_include
     self.parse_file(file_path, include)
   File "/home/tops/lib/python3.7/site-packages/gixy-0.1.20-py3.7.egg/gixy/parser/nginx_parser.py", line 28, in parse_file
     return self.parse(content=content, root=root, path_info=path)
   File "/home/tops/lib/python3.7/site-packages/gixy-0.1.20-py3.7.egg/gixy/parser/nginx_parser.py", line 51, in parse
     self.parse_block(parsed, root)
   File "/home/tops/lib/python3.7/site-packages/gixy-0.1.20-py3.7.egg/gixy/parser/nginx_parser.py", line 63, in parse_block
     directive_inst = self.directive_factory(parsed_type, parsed_name, parsed_args)
   File "/home/tops/lib/python3.7/site-packages/gixy-0.1.20-py3.7.egg/gixy/parser/nginx_parser.py", line 77, in directive_factory
     self.parse_block(children, inst)
   File "/home/tops/lib/python3.7/site-packages/gixy-0.1.20-py3.7.egg/gixy/parser/nginx_parser.py", line 61, in parse_block
     self._resolve_include(parsed_args, parent)
   File "/home/tops/lib/python3.7/site-packages/gixy-0.1.20-py3.7.egg/gixy/parser/nginx_parser.py", line 109, in _resolve_include
     return self._resolve_file_include(pattern=pattern, parent=parent)
   File "/home/tops/lib/python3.7/site-packages/gixy-0.1.20-py3.7.egg/gixy/parser/nginx_parser.py", line 120, in _resolve_file_include
     self.parse_file(file_path, include)
   File "/home/tops/lib/python3.7/site-packages/gixy-0.1.20-py3.7.egg/gixy/parser/nginx_parser.py", line 28, in parse_file
     return self.parse(content=content, root=root, path_info=path)
   File "/home/tops/lib/python3.7/site-packages/gixy-0.1.20-py3.7.egg/gixy/parser/nginx_parser.py", line 51, in parse
     self.parse_block(parsed, root)
   File "/home/tops/lib/python3.7/site-packages/gixy-0.1.20-py3.7.egg/gixy/parser/nginx_parser.py", line 63, in parse_block
     directive_inst = self.directive_factory(parsed_type, parsed_name, parsed_args)
   File "/home/tops/lib/python3.7/site-packages/gixy-0.1.20-py3.7.egg/gixy/parser/nginx_parser.py", line 77, in directive_factory
     self.parse_block(children, inst)
   File "/home/tops/lib/python3.7/site-packages/gixy-0.1.20-py3.7.egg/gixy/parser/nginx_parser.py", line 61, in parse_block
     self._resolve_include(parsed_args, parent)
   File "/home/tops/lib/python3.7/site-packages/gixy-0.1.20-py3.7.egg/gixy/parser/nginx_parser.py", line 109, in _resolve_include
     return self._resolve_file_include(pattern=pattern, parent=parent)
   File "/home/tops/lib/python3.7/site-packages/gixy-0.1.20-py3.7.egg/gixy/parser/nginx_parser.py", line 120, in _resolve_file_include
     self.parse_file(file_path, include)
   File "/home/tops/lib/python3.7/site-packages/gixy-0.1.20-py3.7.egg/gixy/parser/nginx_parser.py", line 28, in parse_file
     return self.parse(content=content, root=root, path_info=path)
   File "/home/tops/lib/python3.7/site-packages/gixy-0.1.20-py3.7.egg/gixy/parser/nginx_parser.py", line 51, in parse
     self.parse_block(parsed, root)
   File "/home/tops/lib/python3.7/site-packages/gixy-0.1.20-py3.7.egg/gixy/parser/nginx_parser.py", line 63, in parse_block
     directive_inst = self.directive_factory(parsed_type, parsed_name, parsed_args)
   File "/home/tops/lib/python3.7/site-packages/gixy-0.1.20-py3.7.egg/gixy/parser/nginx_parser.py", line 77, in directive_factory
     self.parse_block(children, inst)
   File "/home/tops/lib/python3.7/site-packages/gixy-0.1.20-py3.7.egg/gixy/parser/nginx_parser.py", line 61, in parse_block
     self._resolve_include(parsed_args, parent)
   File "/home/tops/lib/python3.7/site-packages/gixy-0.1.20-py3.7.egg/gixy/parser/nginx_parser.py", line 109, in _resolve_include
     return self._resolve_file_include(pattern=pattern, parent=parent)
   File "/home/tops/lib/python3.7/site-packages/gixy-0.1.20-py3.7.egg/gixy/parser/nginx_parser.py", line 120, in _resolve_file_include
     self.parse_file(file_path, include)
   File "/home/tops/lib/python3.7/site-packages/gixy-0.1.20-py3.7.egg/gixy/parser/nginx_parser.py", line 28, in parse_file
     return self.parse(content=content, root=root, path_info=path)
   File "/home/tops/lib/python3.7/site-packages/gixy-0.1.20-py3.7.egg/gixy/parser/nginx_parser.py", line 51, in parse
     self.parse_block(parsed, root)
   File "/home/tops/lib/python3.7/site-packages/gixy-0.1.20-py3.7.egg/gixy/parser/nginx_parser.py", line 63, in parse_block
     directive_inst = self.directive_factory(parsed_type, parsed_name, parsed_args)
   File "/home/tops/lib/python3.7/site-packages/gixy-0.1.20-py3.7.egg/gixy/parser/nginx_parser.py", line 77, in directive_factory
     self.parse_block(children, inst)
   File "/home/tops/lib/python3.7/site-packages/gixy-0.1.20-py3.7.egg/gixy/parser/nginx_parser.py", line 61, in parse_block
     self._resolve_include(parsed_args, parent)
   File "/home/tops/lib/python3.7/site-packages/gixy-0.1.20-py3.7.egg/gixy/parser/nginx_parser.py", line 109, in _resolve_include
     return self._resolve_file_include(pattern=pattern, parent=parent)
   File "/home/tops/lib/python3.7/site-packages/gixy-0.1.20-py3.7.egg/gixy/parser/nginx_parser.py", line 120, in _resolve_file_include
     self.parse_file(file_path, include)
   File "/home/tops/lib/python3.7/site-packages/gixy-0.1.20-py3.7.egg/gixy/parser/nginx_parser.py", line 28, in parse_file
     return self.parse(content=content, root=root, path_info=path)
   File "/home/tops/lib/python3.7/site-packages/gixy-0.1.20-py3.7.egg/gixy/parser/nginx_parser.py", line 51, in parse
     self.parse_block(parsed, root)
   File "/home/tops/lib/python3.7/site-packages/gixy-0.1.20-py3.7.egg/gixy/parser/nginx_parser.py", line 63, in parse_block
     directive_inst = self.directive_factory(parsed_type, parsed_name, parsed_args)
   File "/home/tops/lib/python3.7/site-packages/gixy-0.1.20-py3.7.egg/gixy/parser/nginx_parser.py", line 77, in directive_factory
     self.parse_block(children, inst)
   File "/home/tops/lib/python3.7/site-packages/gixy-0.1.20-py3.7.egg/gixy/parser/nginx_parser.py", line 61, in parse_block
     self._resolve_include(parsed_args, parent)
   File "/home/tops/lib/python3.7/site-packages/gixy-0.1.20-py3.7.egg/gixy/parser/nginx_parser.py", line 109, in _resolve_include
     return self._resolve_file_include(pattern=pattern, parent=parent)
   File "/home/tops/lib/python3.7/site-packages/gixy-0.1.20-py3.7.egg/gixy/parser/nginx_parser.py", line 120, in _resolve_file_include
     self.parse_file(file_path, include)
   File "/home/tops/lib/python3.7/site-packages/gixy-0.1.20-py3.7.egg/gixy/parser/nginx_parser.py", line 28, in parse_file
     return self.parse(content=content, root=root, path_info=path)
   File "/home/tops/lib/python3.7/site-packages/gixy-0.1.20-py3.7.egg/gixy/parser/nginx_parser.py", line 51, in parse
     self.parse_block(parsed, root)
   File "/home/tops/lib/python3.7/site-packages/gixy-0.1.20-py3.7.egg/gixy/parser/nginx_parser.py", line 63, in parse_block
     directive_inst = self.directive_factory(parsed_type, parsed_name, parsed_args)
   File "/home/tops/lib/python3.7/site-packages/gixy-0.1.20-py3.7.egg/gixy/parser/nginx_parser.py", line 77, in directive_factory
     self.parse_block(children, inst)
   File "/home/tops/lib/python3.7/site-packages/gixy-0.1.20-py3.7.egg/gixy/parser/nginx_parser.py", line 61, in parse_block
     self._resolve_include(parsed_args, parent)
   File "/home/tops/lib/python3.7/site-packages/gixy-0.1.20-py3.7.egg/gixy/parser/nginx_parser.py", line 109, in _resolve_include
     return self._resolve_file_include(pattern=pattern, parent=parent)
   File "/home/tops/lib/python3.7/site-packages/gixy-0.1.20-py3.7.egg/gixy/parser/nginx_parser.py", line 120, in _resolve_file_include
     self.parse_file(file_path, include)
   File "/home/tops/lib/python3.7/site-packages/gixy-0.1.20-py3.7.egg/gixy/parser/nginx_parser.py", line 28, in parse_file
     return self.parse(content=content, root=root, path_info=path)
   File "/home/tops/lib/python3.7/site-packages/gixy-0.1.20-py3.7.egg/gixy/parser/nginx_parser.py", line 51, in parse
     self.parse_block(parsed, root)
   File "/home/tops/lib/python3.7/site-packages/gixy-0.1.20-py3.7.egg/gixy/parser/nginx_parser.py", line 63, in parse_block
     directive_inst = self.directive_factory(parsed_type, parsed_name, parsed_args)
   File "/home/tops/lib/python3.7/site-packages/gixy-0.1.20-py3.7.egg/gixy/parser/nginx_parser.py", line 77, in directive_factory
     self.parse_block(children, inst)
   File "/home/tops/lib/python3.7/site-packages/gixy-0.1.20-py3.7.egg/gixy/parser/nginx_parser.py", line 61, in parse_block
     self._resolve_include(parsed_args, parent)
   File "/home/tops/lib/python3.7/site-packages/gixy-0.1.20-py3.7.egg/gixy/parser/nginx_parser.py", line 109, in _resolve_include
     return self._resolve_file_include(pattern=pattern, parent=parent)
   File "/home/tops/lib/python3.7/site-packages/gixy-0.1.20-py3.7.egg/gixy/parser/nginx_parser.py", line 120, in _resolve_file_include
     self.parse_file(file_path, include)
   File "/home/tops/lib/python3.7/site-packages/gixy-0.1.20-py3.7.egg/gixy/parser/nginx_parser.py", line 28, in parse_file
     return self.parse(content=content, root=root, path_info=path)
   File "/home/tops/lib/python3.7/site-packages/gixy-0.1.20-py3.7.egg/gixy/parser/nginx_parser.py", line 51, in parse
     self.parse_block(parsed, root)
   File "/home/tops/lib/python3.7/site-packages/gixy-0.1.20-py3.7.egg/gixy/parser/nginx_parser.py", line 63, in parse_block
     directive_inst = self.directive_factory(parsed_type, parsed_name, parsed_args)
   File "/home/tops/lib/python3.7/site-packages/gixy-0.1.20-py3.7.egg/gixy/parser/nginx_parser.py", line 77, in directive_factory
     self.parse_block(children, inst)
   File "/home/tops/lib/python3.7/site-packages/gixy-0.1.20-py3.7.egg/gixy/parser/nginx_parser.py", line 61, in parse_block
     self._resolve_include(parsed_args, parent)
   File "/home/tops/lib/python3.7/site-packages/gixy-0.1.20-py3.7.egg/gixy/parser/nginx_parser.py", line 109, in _resolve_include
     return self._resolve_file_include(pattern=pattern, parent=parent)
   File "/home/tops/lib/python3.7/site-packages/gixy-0.1.20-py3.7.egg/gixy/parser/nginx_parser.py", line 120, in _resolve_file_include
     self.parse_file(file_path, include)
   File "/home/tops/lib/python3.7/site-packages/gixy-0.1.20-py3.7.egg/gixy/parser/nginx_parser.py", line 28, in parse_file
     return self.parse(content=content, root=root, path_info=path)
   File "/home/tops/lib/python3.7/site-packages/gixy-0.1.20-py3.7.egg/gixy/parser/nginx_parser.py", line 51, in parse
     self.parse_block(parsed, root)
   File "/home/tops/lib/python3.7/site-packages/gixy-0.1.20-py3.7.egg/gixy/parser/nginx_parser.py", line 63, in parse_block
     directive_inst = self.directive_factory(parsed_type, parsed_name, parsed_args)
   File "/home/tops/lib/python3.7/site-packages/gixy-0.1.20-py3.7.egg/gixy/parser/nginx_parser.py", line 77, in directive_factory
     self.parse_block(children, inst)
   File "/home/tops/lib/python3.7/site-packages/gixy-0.1.20-py3.7.egg/gixy/parser/nginx_parser.py", line 61, in parse_block
     self._resolve_include(parsed_args, parent)
   File "/home/tops/lib/python3.7/site-packages/gixy-0.1.20-py3.7.egg/gixy/parser/nginx_parser.py", line 109, in _resolve_include
     return self._resolve_file_include(pattern=pattern, parent=parent)
   File "/home/tops/lib/python3.7/site-packages/gixy-0.1.20-py3.7.egg/gixy/parser/nginx_parser.py", line 120, in _resolve_file_include
     self.parse_file(file_path, include)
   File "/home/tops/lib/python3.7/site-packages/gixy-0.1.20-py3.7.egg/gixy/parser/nginx_parser.py", line 28, in parse_file
     return self.parse(content=content, root=root, path_info=path)
   File "/home/tops/lib/python3.7/site-packages/gixy-0.1.20-py3.7.egg/gixy/parser/nginx_parser.py", line 51, in parse
     self.parse_block(parsed, root)
   File "/home/tops/lib/python3.7/site-packages/gixy-0.1.20-py3.7.egg/gixy/parser/nginx_parser.py", line 63, in parse_block
     directive_inst = self.directive_factory(parsed_type, parsed_name, parsed_args)
   File "/home/tops/lib/python3.7/site-packages/gixy-0.1.20-py3.7.egg/gixy/parser/nginx_parser.py", line 77, in directive_factory
     self.parse_block(children, inst)
   File "/home/tops/lib/python3.7/site-packages/gixy-0.1.20-py3.7.egg/gixy/parser/nginx_parser.py", line 61, in parse_block
     self._resolve_include(parsed_args, parent)
   File "/home/tops/lib/python3.7/site-packages/gixy-0.1.20-py3.7.egg/gixy/parser/nginx_parser.py", line 109, in _resolve_include
     return self._resolve_file_include(pattern=pattern, parent=parent)
   File "/home/tops/lib/python3.7/site-packages/gixy-0.1.20-py3.7.egg/gixy/parser/nginx_parser.py", line 120, in _resolve_file_include
     self.parse_file(file_path, include)
   File "/home/tops/lib/python3.7/site-packages/gixy-0.1.20-py3.7.egg/gixy/parser/nginx_parser.py", line 28, in parse_file
     return self.parse(content=content, root=root, path_info=path)
   File "/home/tops/lib/python3.7/site-packages/gixy-0.1.20-py3.7.egg/gixy/parser/nginx_parser.py", line 51, in parse
     self.parse_block(parsed, root)
   File "/home/tops/lib/python3.7/site-packages/gixy-0.1.20-py3.7.egg/gixy/parser/nginx_parser.py", line 63, in parse_block
     directive_inst = self.directive_factory(parsed_type, parsed_name, parsed_args)
   File "/home/tops/lib/python3.7/site-packages/gixy-0.1.20-py3.7.egg/gixy/parser/nginx_parser.py", line 77, in directive_factory
     self.parse_block(children, inst)
   File "/home/tops/lib/python3.7/site-packages/gixy-0.1.20-py3.7.egg/gixy/parser/nginx_parser.py", line 61, in parse_block
     self._resolve_include(parsed_args, parent)
   File "/home/tops/lib/python3.7/site-packages/gixy-0.1.20-py3.7.egg/gixy/parser/nginx_parser.py", line 109, in _resolve_include
     return self._resolve_file_include(pattern=pattern, parent=parent)
   File "/home/tops/lib/python3.7/site-packages/gixy-0.1.20-py3.7.egg/gixy/parser/nginx_parser.py", line 120, in _resolve_file_include
     self.parse_file(file_path, include)
   File "/home/tops/lib/python3.7/site-packages/gixy-0.1.20-py3.7.egg/gixy/parser/nginx_parser.py", line 28, in parse_file
     return self.parse(content=content, root=root, path_info=path)
   File "/home/tops/lib/python3.7/site-packages/gixy-0.1.20-py3.7.egg/gixy/parser/nginx_parser.py", line 51, in parse
     self.parse_block(parsed, root)
   File "/home/tops/lib/python3.7/site-packages/gixy-0.1.20-py3.7.egg/gixy/parser/nginx_parser.py", line 63, in parse_block
     directive_inst = self.directive_factory(parsed_type, parsed_name, parsed_args)
   File "/home/tops/lib/python3.7/site-packages/gixy-0.1.20-py3.7.egg/gixy/parser/nginx_parser.py", line 77, in directive_factory
     self.parse_block(children, inst)
   File "/home/tops/lib/python3.7/site-packages/gixy-0.1.20-py3.7.egg/gixy/parser/nginx_parser.py", line 61, in parse_block
     self._resolve_include(parsed_args, parent)
   File "/home/tops/lib/python3.7/site-packages/gixy-0.1.20-py3.7.egg/gixy/parser/nginx_parser.py", line 109, in _resolve_include
     return self._resolve_file_include(pattern=pattern, parent=parent)
   File "/home/tops/lib/python3.7/site-packages/gixy-0.1.20-py3.7.egg/gixy/parser/nginx_parser.py", line 120, in _resolve_file_include
     self.parse_file(file_path, include)
   File "/home/tops/lib/python3.7/site-packages/gixy-0.1.20-py3.7.egg/gixy/parser/nginx_parser.py", line 28, in parse_file
     return self.parse(content=content, root=root, path_info=path)
   File "/home/tops/lib/python3.7/site-packages/gixy-0.1.20-py3.7.egg/gixy/parser/nginx_parser.py", line 51, in parse
     self.parse_block(parsed, root)
   File "/home/tops/lib/python3.7/site-packages/gixy-0.1.20-py3.7.egg/gixy/parser/nginx_parser.py", line 63, in parse_block
     directive_inst = self.directive_factory(parsed_type, parsed_name, parsed_args)
   File "/home/tops/lib/python3.7/site-packages/gixy-0.1.20-py3.7.egg/gixy/parser/nginx_parser.py", line 77, in directive_factory
     self.parse_block(children, inst)
   File "/home/tops/lib/python3.7/site-packages/gixy-0.1.20-py3.7.egg/gixy/parser/nginx_parser.py", line 61, in parse_block
     self._resolve_include(parsed_args, parent)
   File "/home/tops/lib/python3.7/site-packages/gixy-0.1.20-py3.7.egg/gixy/parser/nginx_parser.py", line 109, in _resolve_include
     return self._resolve_file_include(pattern=pattern, parent=parent)
   File "/home/tops/lib/python3.7/site-packages/gixy-0.1.20-py3.7.egg/gixy/parser/nginx_parser.py", line 120, in _resolve_file_include
     self.parse_file(file_path, include)
   File "/home/tops/lib/python3.7/site-packages/gixy-0.1.20-py3.7.egg/gixy/parser/nginx_parser.py", line 28, in parse_file
     return self.parse(content=content, root=root, path_info=path)
   File "/home/tops/lib/python3.7/site-packages/gixy-0.1.20-py3.7.egg/gixy/parser/nginx_parser.py", line 51, in parse
     self.parse_block(parsed, root)
   File "/home/tops/lib/python3.7/site-packages/gixy-0.1.20-py3.7.egg/gixy/parser/nginx_parser.py", line 63, in parse_block
     directive_inst = self.directive_factory(parsed_type, parsed_name, parsed_args)
   File "/home/tops/lib/python3.7/site-packages/gixy-0.1.20-py3.7.egg/gixy/parser/nginx_parser.py", line 77, in directive_factory
     self.parse_block(children, inst)
   File "/home/tops/lib/python3.7/site-packages/gixy-0.1.20-py3.7.egg/gixy/parser/nginx_parser.py", line 61, in parse_block
     self._resolve_include(parsed_args, parent)
   File "/home/tops/lib/python3.7/site-packages/gixy-0.1.20-py3.7.egg/gixy/parser/nginx_parser.py", line 109, in _resolve_include
     return self._resolve_file_include(pattern=pattern, parent=parent)
   File "/home/tops/lib/python3.7/site-packages/gixy-0.1.20-py3.7.egg/gixy/parser/nginx_parser.py", line 120, in _resolve_file_include
     self.parse_file(file_path, include)
   File "/home/tops/lib/python3.7/site-packages/gixy-0.1.20-py3.7.egg/gixy/parser/nginx_parser.py", line 28, in parse_file
     return self.parse(content=content, root=root, path_info=path)
   File "/home/tops/lib/python3.7/site-packages/gixy-0.1.20-py3.7.egg/gixy/parser/nginx_parser.py", line 51, in parse
     self.parse_block(parsed, root)
   File "/home/tops/lib/python3.7/site-packages/gixy-0.1.20-py3.7.egg/gixy/parser/nginx_parser.py", line 63, in parse_block
     directive_inst = self.directive_factory(parsed_type, parsed_name, parsed_args)
   File "/home/tops/lib/python3.7/site-packages/gixy-0.1.20-py3.7.egg/gixy/parser/nginx_parser.py", line 77, in directive_factory
     self.parse_block(children, inst)
   File "/home/tops/lib/python3.7/site-packages/gixy-0.1.20-py3.7.egg/gixy/parser/nginx_parser.py", line 61, in parse_block
     self._resolve_include(parsed_args, parent)
   File "/home/tops/lib/python3.7/site-packages/gixy-0.1.20-py3.7.egg/gixy/parser/nginx_parser.py", line 109, in _resolve_include
     return self._resolve_file_include(pattern=pattern, parent=parent)
   File "/home/tops/lib/python3.7/site-packages/gixy-0.1.20-py3.7.egg/gixy/parser/nginx_parser.py", line 120, in _resolve_file_include
     self.parse_file(file_path, include)
   File "/home/tops/lib/python3.7/site-packages/gixy-0.1.20-py3.7.egg/gixy/parser/nginx_parser.py", line 28, in parse_file
     return self.parse(content=content, root=root, path_info=path)
   File "/home/tops/lib/python3.7/site-packages/gixy-0.1.20-py3.7.egg/gixy/parser/nginx_parser.py", line 51, in parse
     self.parse_block(parsed, root)
   File "/home/tops/lib/python3.7/site-packages/gixy-0.1.20-py3.7.egg/gixy/parser/nginx_parser.py", line 63, in parse_block
     directive_inst = self.directive_factory(parsed_type, parsed_name, parsed_args)
   File "/home/tops/lib/python3.7/site-packages/gixy-0.1.20-py3.7.egg/gixy/parser/nginx_parser.py", line 77, in directive_factory
     self.parse_block(children, inst)