smok-serwis/smok-client

View on GitHub
added bool to reparse #562
Piotr Maślanka authored e3fa1ce7
complete00:00:21
Your first build completed successfully!

Congratulations

Your first build completed successfully!

See the Results

1
git clone
2
codeclimate validate-config
View output
codeclimate validate-config
WARNING: 'engines' has been deprecated, please use 'plugins' instead
WARNING: 'exclude_paths' has been deprecated, please use 'exclude_patterns' instead
WARNING: 'ratings' has been deprecated, and will not be used
3
codeclimate prepare
View output
codeclimate prepare
4
builder pull-engines
View output
determining required images
docker pull codeclimate/codeclimate-markdownlint:b899
b899: Pulling from codeclimate/codeclimate-markdownlint
fc7181108d40: Pulling fs layer
fb832b8d529e: Pulling fs layer
f928adca00a3: Pulling fs layer
b83899fd2d55: Pulling fs layer
28b20e0f6f6d: Pulling fs layer
08fb5f231db7: Pulling fs layer
f38c4e552cb4: Pulling fs layer
55842d8caf87: Pulling fs layer
1714cd20476b: Pulling fs layer
56a5ac5fa648: Pulling fs layer
43c3c1d360a9: Pulling fs layer
d05637603ec0: Pulling fs layer
905f23712bf9: Pulling fs layer
eb5a5c105220: Pulling fs layer
b83899fd2d55: Waiting
28b20e0f6f6d: Waiting
08fb5f231db7: Waiting
f38c4e552cb4: Waiting
55842d8caf87: Waiting
1714cd20476b: Waiting
56a5ac5fa648: Waiting
43c3c1d360a9: Waiting
d05637603ec0: Waiting
905f23712bf9: Waiting
eb5a5c105220: Waiting
f928adca00a3: Verifying Checksum
f928adca00a3: Download complete
fc7181108d40: Verifying Checksum
fc7181108d40: Download complete
fb832b8d529e: Verifying Checksum
fb832b8d529e: Download complete
b83899fd2d55: Verifying Checksum
b83899fd2d55: Download complete
28b20e0f6f6d: Download complete
f38c4e552cb4: Verifying Checksum
f38c4e552cb4: Download complete
08fb5f231db7: Verifying Checksum
08fb5f231db7: Download complete
55842d8caf87: Verifying Checksum
55842d8caf87: Download complete
56a5ac5fa648: Verifying Checksum
56a5ac5fa648: Download complete
43c3c1d360a9: Verifying Checksum
43c3c1d360a9: Download complete
905f23712bf9: Verifying Checksum
905f23712bf9: Download complete
fc7181108d40: Pull complete
d05637603ec0: Download complete
eb5a5c105220: Verifying Checksum
eb5a5c105220: Download complete
fb832b8d529e: Pull complete
f928adca00a3: Pull complete
1714cd20476b: Verifying Checksum
1714cd20476b: Download complete
b83899fd2d55: Pull complete
28b20e0f6f6d: Pull complete
08fb5f231db7: Pull complete
f38c4e552cb4: Pull complete
55842d8caf87: Pull complete
1714cd20476b: Pull complete
56a5ac5fa648: Pull complete
43c3c1d360a9: Pull complete
d05637603ec0: Pull complete
905f23712bf9: Pull complete
eb5a5c105220: Pull complete
Digest: sha256:482ba0cc7d87edf77cc280a8550578f40adf0e2514c3744317761f3092c7239c
Status: Downloaded newer image for registry.prod.codeclimate.net/codeclimate/codeclimate-markdownlint:b899
docker pull codeclimate/codeclimate-pep8:b25
b25: Pulling from codeclimate/codeclimate-pep8
ab6db1bc80d0: Pulling fs layer
bf17e9a1c113: Pulling fs layer
4f8d95c214b1: Pulling fs layer
0de813e89c33: Pulling fs layer
a9696c7f4cd8: Pulling fs layer
51b9219e6e44: Pulling fs layer
e3c7e34cb08c: Pulling fs layer
328f3a57c882: Pulling fs layer
43b5f16a0c84: Pulling fs layer
e3c7e34cb08c: Waiting
0de813e89c33: Waiting
43b5f16a0c84: Waiting
51b9219e6e44: Waiting
328f3a57c882: Waiting
4f8d95c214b1: Verifying Checksum
4f8d95c214b1: Download complete
bf17e9a1c113: Verifying Checksum
bf17e9a1c113: Download complete
ab6db1bc80d0: Verifying Checksum
ab6db1bc80d0: Download complete
ab6db1bc80d0: Pull complete
a9696c7f4cd8: Download complete
51b9219e6e44: Verifying Checksum
51b9219e6e44: Download complete
bf17e9a1c113: Pull complete
4f8d95c214b1: Pull complete
e3c7e34cb08c: Verifying Checksum
e3c7e34cb08c: Download complete
0de813e89c33: Verifying Checksum
0de813e89c33: Download complete
328f3a57c882: Verifying Checksum
328f3a57c882: Download complete
43b5f16a0c84: Verifying Checksum
43b5f16a0c84: Download complete
0de813e89c33: Pull complete
a9696c7f4cd8: Pull complete
51b9219e6e44: Pull complete
e3c7e34cb08c: Pull complete
328f3a57c882: Pull complete
43b5f16a0c84: Pull complete
Digest: sha256:75f70c714bc5f9e65359d45469a1fe7c1b181a15aee8fbabec7e23c65b19d447
Status: Downloaded newer image for registry.prod.codeclimate.net/codeclimate/codeclimate-pep8:b25
5
structure
View output
12
Parser process id: 12
codeclimate-parser socket not present
waiting 1s...
6
duplication
View output
12
Parser process id: 12
codeclimate-parser socket not present
waiting 1s...
I, [2024-06-07T06:21:56.226069 #1]  INFO -- : Skipping file ./examples/skylab/skylab/client.py due to exception (CC::Engine::Analyzers::ParserError): `python2 /usr/src/app/lib/cc/engine/analyzers/python/parser.py` exited with code 1:
Traceback (most recent call last):
  File "/usr/src/app/lib/cc/engine/analyzers/python/parser.py", line 51, in <module>
    print(json.dumps(to_json(ast.parse(source))))
  File "/usr/local/python2/lib/python2.7/ast.py", line 37, in parse
    return compile(source, filename, mode, PyCF_ONLY_AST)
  File "<unknown>", line 32
    def on_read(self, advise: AdviseLevel) -> int:
                            ^
SyntaxError: invalid syntax


I, [2024-06-07T06:21:56.237034 #1]  INFO -- : Skipping file ./smok/extras/sensors_database/base.py due to exception (CC::Engine::Analyzers::ParserError): `python2 /usr/src/app/lib/cc/engine/analyzers/python/parser.py` exited with code 1:
Traceback (most recent call last):
  File "/usr/src/app/lib/cc/engine/analyzers/python/parser.py", line 51, in <module>
    print(json.dumps(to_json(ast.parse(source))))
  File "/usr/local/python2/lib/python2.7/ast.py", line 37, in parse
    return compile(source, filename, mode, PyCF_ONLY_AST)
  File "<unknown>", line 7
    class BaseSensorDatabase(metaclass=ABCMeta):
                                      ^
SyntaxError: invalid syntax


I, [2024-06-07T06:21:56.240374 #1]  INFO -- : Skipping file ./smok/extras/sensors_database/in_memory.py due to exception (CC::Engine::Analyzers::ParserError): `python2 /usr/src/app/lib/cc/engine/analyzers/python/parser.py` exited with code 1:
Traceback (most recent call last):
  File "/usr/src/app/lib/cc/engine/analyzers/python/parser.py", line 51, in <module>
    print(json.dumps(to_json(ast.parse(source))))
  File "/usr/local/python2/lib/python2.7/ast.py", line 37, in parse
    return compile(source, filename, mode, PyCF_ONLY_AST)
  File "<unknown>", line 11
    def get_all_sensors(self) -> tp.Iterator[Sensor]:
                              ^
SyntaxError: invalid syntax


I, [2024-06-07T06:21:56.251015 #1]  INFO -- : Skipping file ./smok/extras/sensors_database/pickling.py due to exception (CC::Engine::Analyzers::ParserError): `python2 /usr/src/app/lib/cc/engine/analyzers/python/parser.py` exited with code 1:
Traceback (most recent call last):
  File "/usr/src/app/lib/cc/engine/analyzers/python/parser.py", line 51, in <module>
    print(json.dumps(to_json(ast.parse(source))))
  File "/usr/local/python2/lib/python2.7/ast.py", line 37, in parse
    return compile(source, filename, mode, PyCF_ONLY_AST)
  File "<unknown>", line 12
    def __init__(self, path: str):
                           ^
SyntaxError: invalid syntax


I, [2024-06-07T06:21:56.258463 #1]  INFO -- : Skipping file ./smok/extras/macros_database/base.py due to exception (CC::Engine::Analyzers::ParserError): `python2 /usr/src/app/lib/cc/engine/analyzers/python/parser.py` exited with code 1:
Traceback (most recent call last):
  File "/usr/src/app/lib/cc/engine/analyzers/python/parser.py", line 51, in <module>
    print(json.dumps(to_json(ast.parse(source))))
  File "/usr/local/python2/lib/python2.7/ast.py", line 37, in parse
    return compile(source, filename, mode, PyCF_ONLY_AST)
  File "<unknown>", line 7
    class BaseMacroDatabase(metaclass=ABCMeta):
                                     ^
SyntaxError: invalid syntax


I, [2024-06-07T06:21:56.261632 #1]  INFO -- : Skipping file ./smok/extras/macros_database/in_memory.py due to exception (CC::Engine::Analyzers::ParserError): `python2 /usr/src/app/lib/cc/engine/analyzers/python/parser.py` exited with code 1:
Traceback (most recent call last):
  File "/usr/src/app/lib/cc/engine/analyzers/python/parser.py", line 51, in <module>
    print(json.dumps(to_json(ast.parse(source))))
  File "/usr/local/python2/lib/python2.7/ast.py", line 37, in parse
    return compile(source, filename, mode, PyCF_ONLY_AST)
  File "<unknown>", line 20
    def set_macros(self, macros: tp.List[Macro]) -> None:
                               ^
SyntaxError: invalid syntax


I, [2024-06-07T06:21:56.272714 #1]  INFO -- : Skipping file ./smok/extras/macros_database/pickling.py due to exception (CC::Engine::Analyzers::ParserError): `python2 /usr/src/app/lib/cc/engine/analyzers/python/parser.py` exited with code 1:
Traceback (most recent call last):
  File "/usr/src/app/lib/cc/engine/analyzers/python/parser.py", line 51, in <module>
    print(json.dumps(to_json(ast.parse(source))))
  File "/usr/local/python2/lib/python2.7/ast.py", line 37, in parse
    return compile(source, filename, mode, PyCF_ONLY_AST)
  File "<unknown>", line 43
    def set_macros(self, macros: tp.List[Macro]) -> None:
                               ^
SyntaxError: invalid syntax


I, [2024-06-07T06:21:56.279963 #1]  INFO -- : Skipping file ./smok/extras/arch_database/base.py due to exception (CC::Engine::Analyzers::ParserError): `python2 /usr/src/app/lib/cc/engine/analyzers/python/parser.py` exited with code 1:
Traceback (most recent call last):
  File "/usr/src/app/lib/cc/engine/analyzers/python/parser.py", line 51, in <module>
    print(json.dumps(to_json(ast.parse(source))))
  File "/usr/local/python2/lib/python2.7/ast.py", line 37, in parse
    return compile(source, filename, mode, PyCF_ONLY_AST)
  File "<unknown>", line 5
    class BaseArchivesDatabase(metaclass=ABCMeta):
                                        ^
SyntaxError: invalid syntax


I, [2024-06-07T06:21:56.283454 #1]  INFO -- : Skipping file ./smok/extras/arch_database/in_memory.py due to exception (CC::Engine::Analyzers::ParserError): `python2 /usr/src/app/lib/cc/engine/analyzers/python/parser.py` exited with code 1:
Traceback (most recent call last):
  File "/usr/src/app/lib/cc/engine/analyzers/python/parser.py", line 51, in <module>
    print(json.dumps(to_json(ast.parse(source))))
  File "/usr/local/python2/lib/python2.7/ast.py", line 37, in parse
    return compile(source, filename, mode, PyCF_ONLY_AST)
  File "<unknown>", line 5
    def on_archiving_data_sync(self, new_data: dict) -> None:
                                             ^
SyntaxError: invalid syntax


I, [2024-06-07T06:21:56.293871 #1]  INFO -- : Skipping file ./smok/extras/arch_database/pickling.py due to exception (CC::Engine::Analyzers::ParserError): `python2 /usr/src/app/lib/cc/engine/analyzers/python/parser.py` exited with code 1:
Traceback (most recent call last):
  File "/usr/src/app/lib/cc/engine/analyzers/python/parser.py", line 51, in <module>
    print(json.dumps(to_json(ast.parse(source))))
  File "/usr/local/python2/lib/python2.7/ast.py", line 37, in parse
    return compile(source, filename, mode, PyCF_ONLY_AST)
  File "<unknown>", line 13
    def on_archiving_data_sync(self, new_data) -> None:
                                               ^
SyntaxError: invalid syntax


I, [2024-06-07T06:21:56.300989 #1]  INFO -- : Skipping file ./smok/extras/pred_database/base.py due to exception (CC::Engine::Analyzers::ParserError): `python2 /usr/src/app/lib/cc/engine/analyzers/python/parser.py` exited with code 1:
Traceback (most recent call last):
  File "/usr/src/app/lib/cc/engine/analyzers/python/parser.py", line 51, in <module>
    print(json.dumps(to_json(ast.parse(source))))
  File "/usr/local/python2/lib/python2.7/ast.py", line 37, in parse
    return compile(source, filename, mode, PyCF_ONLY_AST)
  File "<unknown>", line 5
    class BasePredicateDatabase(metaclass=ABCMeta):
                                         ^
SyntaxError: invalid syntax


I, [2024-06-07T06:21:56.304252 #1]  INFO -- : Skipping file ./smok/extras/pred_database/in_memory.py due to exception (CC::Engine::Analyzers::ParserError): `python2 /usr/src/app/lib/cc/engine/analyzers/python/parser.py` exited with code 1:
Traceback (most recent call last):
  File "/usr/src/app/lib/cc/engine/analyzers/python/parser.py", line 51, in <module>
    print(json.dumps(to_json(ast.parse(source))))
  File "/usr/local/python2/lib/python2.7/ast.py", line 37, in parse
    return compile(source, filename, mode, PyCF_ONLY_AST)
  File "<unknown>", line 9
    def get_all_predicates(self) -> tp.List[tp.Dict]:
                                 ^
SyntaxError: invalid syntax


I, [2024-06-07T06:21:56.315086 #1]  INFO -- : Skipping file ./smok/extras/pred_database/pickling.py due to exception (CC::Engine::Analyzers::ParserError): `python2 /usr/src/app/lib/cc/engine/analyzers/python/parser.py` exited with code 1:
Traceback (most recent call last):
  File "/usr/src/app/lib/cc/engine/analyzers/python/parser.py", line 51, in <module>
    print(json.dumps(to_json(ast.parse(source))))
  File "/usr/local/python2/lib/python2.7/ast.py", line 37, in parse
    return compile(source, filename, mode, PyCF_ONLY_AST)
  File "<unknown>", line 9
    def __init__(self, path: str):
                           ^
SyntaxError: invalid syntax


I, [2024-06-07T06:21:56.322383 #1]  INFO -- : Skipping file ./smok/extras/baob_database/base.py due to exception (CC::Engine::Analyzers::ParserError): `python2 /usr/src/app/lib/cc/engine/analyzers/python/parser.py` exited with code 1:
Traceback (most recent call last):
  File "/usr/src/app/lib/cc/engine/analyzers/python/parser.py", line 51, in <module>
    print(json.dumps(to_json(ast.parse(source))))
  File "/usr/local/python2/lib/python2.7/ast.py", line 37, in parse
    return compile(source, filename, mode, PyCF_ONLY_AST)
  File "<unknown>", line 18
    def __init__(self, key: str, version: int):
                          ^
SyntaxError: invalid syntax


I, [2024-06-07T06:21:56.333469 #1]  INFO -- : Skipping file ./smok/extras/baob_database/pickling.py due to exception (CC::Engine::Analyzers::ParserError): `python2 /usr/src/app/lib/cc/engine/analyzers/python/parser.py` exited with code 1:
Traceback (most recent call last):
  File "/usr/src/app/lib/cc/engine/analyzers/python/parser.py", line 51, in <module>
    print(json.dumps(to_json(ast.parse(source))))
  File "/usr/local/python2/lib/python2.7/ast.py", line 37, in parse
    return compile(source, filename, mode, PyCF_ONLY_AST)
  File "<unknown>", line 16
    def get_baob_value(self, key: str) -> bytes:
                                ^
SyntaxError: invalid syntax


I, [2024-06-07T06:21:56.336656 #1]  INFO -- : Skipping file ./smok/extras/baob_database/memory.py due to exception (CC::Engine::Analyzers::ParserError): `python2 /usr/src/app/lib/cc/engine/analyzers/python/parser.py` exited with code 1:
Traceback (most recent call last):
  File "/usr/src/app/lib/cc/engine/analyzers/python/parser.py", line 51, in <module>
    print(json.dumps(to_json(ast.parse(source))))
  File "/usr/local/python2/lib/python2.7/ast.py", line 37, in parse
    return compile(source, filename, mode, PyCF_ONLY_AST)
  File "<unknown>", line 10
    def set_baob_value(self, key: str, data: bytes, version: int):
                                ^
SyntaxError: invalid syntax


I, [2024-06-07T06:21:56.344251 #1]  INFO -- : Skipping file ./smok/extras/metadata_database/base.py due to exception (CC::Engine::Analyzers::ParserError): `python2 /usr/src/app/lib/cc/engine/analyzers/python/parser.py` exited with code 1:
Traceback (most recent call last):
  File "/usr/src/app/lib/cc/engine/analyzers/python/parser.py", line 51, in <module>
    print(json.dumps(to_json(ast.parse(source))))
  File "/usr/local/python2/lib/python2.7/ast.py", line 37, in parse
    return compile(source, filename, mode, PyCF_ONLY_AST)
  File "<unknown>", line 5
    class BaseMetadataDatabase(metaclass=ABCMeta):
                                        ^
SyntaxError: invalid syntax


I, [2024-06-07T06:21:56.347461 #1]  INFO -- : Skipping file ./smok/extras/metadata_database/in_memory.py due to exception (CC::Engine::Analyzers::ParserError): `python2 /usr/src/app/lib/cc/engine/analyzers/python/parser.py` exited with code 1:
Traceback (most recent call last):
  File "/usr/src/app/lib/cc/engine/analyzers/python/parser.py", line 51, in <module>
    print(json.dumps(to_json(ast.parse(source))))
  File "/usr/local/python2/lib/python2.7/ast.py", line 37, in parse
    return compile(source, filename, mode, PyCF_ONLY_AST)
  File "<unknown>", line 15
    def delete_plain(self, key: str) -> None:
                              ^
SyntaxError: invalid syntax


I, [2024-06-07T06:21:56.358394 #1]  INFO -- : Skipping file ./smok/extras/metadata_database/pickling.py due to exception (CC::Engine::Analyzers::ParserError): `python2 /usr/src/app/lib/cc/engine/analyzers/python/parser.py` exited with code 1:
Traceback (most recent call last):
  File "/usr/src/app/lib/cc/engine/analyzers/python/parser.py", line 51, in <module>
    print(json.dumps(to_json(ast.parse(source))))
  File "/usr/local/python2/lib/python2.7/ast.py", line 37, in parse
    return compile(source, filename, mode, PyCF_ONLY_AST)
  File "<unknown>", line 17
    def delete_plain(self, key: str) -> None:
                              ^
SyntaxError: invalid syntax


I, [2024-06-07T06:21:56.366185 #1]  INFO -- : Skipping file ./smok/extras/event_database/base.py due to exception (CC::Engine::Analyzers::ParserError): `python2 /usr/src/app/lib/cc/engine/analyzers/python/parser.py` exited with code 1:
Traceback (most recent call last):
  File "/usr/src/app/lib/cc/engine/analyzers/python/parser.py", line 51, in <module>
    print(json.dumps(to_json(ast.parse(source))))
  File "/usr/local/python2/lib/python2.7/ast.py", line 37, in parse
    return compile(source, filename, mode, PyCF_ONLY_AST)
  File "<unknown>", line 7
    class BaseEventSynchronization(metaclass=ABCMeta):
                                            ^
SyntaxError: invalid syntax


I, [2024-06-07T06:21:56.369382 #1]  INFO -- : Skipping file ./smok/extras/event_database/in_memory.py due to exception (CC::Engine::Analyzers::ParserError): `python2 /usr/src/app/lib/cc/engine/analyzers/python/parser.py` exited with code 1:
Traceback (most recent call last):
  File "/usr/src/app/lib/cc/engine/analyzers/python/parser.py", line 51, in <module>
    print(json.dumps(to_json(ast.parse(source))))
  File "/usr/local/python2/lib/python2.7/ast.py", line 37, in parse
    return compile(source, filename, mode, PyCF_ONLY_AST)
  File "<unknown>", line 17
    def __init__(self, event_db: 'InMemoryEventDatabase', events: tp.List[Event]):
                               ^
SyntaxError: invalid syntax


I, [2024-06-07T06:21:56.380032 #1]  INFO -- : Skipping file ./smok/extras/event_database/pickling.py due to exception (CC::Engine::Analyzers::ParserError): `python2 /usr/src/app/lib/cc/engine/analyzers/python/parser.py` exited with code 1:
Traceback (most recent call last):
  File "/usr/src/app/lib/cc/engine/analyzers/python/parser.py", line 51, in <module>
    print(json.dumps(to_json(ast.parse(source))))
  File "/usr/local/python2/lib/python2.7/ast.py", line 37, in parse
    return compile(source, filename, mode, PyCF_ONLY_AST)
  File "<unknown>", line 14
    def acknowledge(self, *uuids: str) -> None:
                                ^
SyntaxError: invalid syntax


I, [2024-06-07T06:21:56.387891 #1]  INFO -- : Skipping file ./smok/extras/event_database/null.py due to exception (CC::Engine::Analyzers::ParserError): `python2 /usr/src/app/lib/cc/engine/analyzers/python/parser.py` exited with code 1:
Traceback (most recent call last):
  File "/usr/src/app/lib/cc/engine/analyzers/python/parser.py", line 51, in <module>
    print(json.dumps(to_json(ast.parse(source))))
  File "/usr/local/python2/lib/python2.7/ast.py", line 37, in parse
    return compile(source, filename, mode, PyCF_ONLY_AST)
  File "<unknown>", line 12
    def on_predicate_deleted(self, predicate_id: str) -> None:
                                               ^
SyntaxError: invalid syntax


I, [2024-06-07T06:21:56.398745 #1]  INFO -- : Skipping file ./smok/extras/pp_database/base.py due to exception (CC::Engine::Analyzers::ParserError): `python2 /usr/src/app/lib/cc/engine/analyzers/python/parser.py` exited with code 1:
Traceback (most recent call last):
  File "/usr/src/app/lib/cc/engine/analyzers/python/parser.py", line 51, in <module>
    print(json.dumps(to_json(ast.parse(source))))
  File "/usr/local/python2/lib/python2.7/ast.py", line 37, in parse
    return compile(source, filename, mode, PyCF_ONLY_AST)
  File "<unknown>", line 9
    class BaseDataToSynchronize(metaclass=ABCMeta):
                                         ^
SyntaxError: invalid syntax


I, [2024-06-07T06:21:56.403741 #1]  INFO -- : Skipping file ./smok/extras/pp_database/in_memory.py due to exception (CC::Engine::Analyzers::ParserError): `python2 /usr/src/app/lib/cc/engine/analyzers/python/parser.py` exited with code 1:
Traceback (most recent call last):
  File "/usr/src/app/lib/cc/engine/analyzers/python/parser.py", line 51, in <module>
    print(json.dumps(to_json(ast.parse(source))))
  File "/usr/local/python2/lib/python2.7/ast.py", line 37, in parse
    return compile(source, filename, mode, PyCF_ONLY_AST)
  File "<unknown>", line 13
    def negative_acknowledge(self) -> None:
                                   ^
SyntaxError: invalid syntax


I, [2024-06-07T06:21:56.414957 #1]  INFO -- : Skipping file ./smok/extras/pp_database/pickling.py due to exception (CC::Engine::Analyzers::ParserError): `python2 /usr/src/app/lib/cc/engine/analyzers/python/parser.py` exited with code 1:
Traceback (most recent call last):
  File "/usr/src/app/lib/cc/engine/analyzers/python/parser.py", line 51, in <module>
    print(json.dumps(to_json(ast.parse(source))))
  File "/usr/local/python2/lib/python2.7/ast.py", line 37, in parse
    return compile(source, filename, mode, PyCF_ONLY_AST)
  File "<unknown>", line 22
    def __init__(self, path: str):
                           ^
SyntaxError: invalid syntax


I, [2024-06-07T06:21:56.421492 #1]  INFO -- : Skipping file ./smok/extras/sensor_write_database/base.py due to exception (CC::Engine::Analyzers::ParserError): `python2 /usr/src/app/lib/cc/engine/analyzers/python/parser.py` exited with code 1:
Traceback (most recent call last):
  File "/usr/src/app/lib/cc/engine/analyzers/python/parser.py", line 51, in <module>
    print(json.dumps(to_json(ast.parse(source))))
  File "/usr/local/python2/lib/python2.7/ast.py", line 37, in parse
    return compile(source, filename, mode, PyCF_ONLY_AST)
  File "<unknown>", line 15
    def __init__(self, events: tp.List[SensorWriteEvent], swdb: 'BaseSensorWriteDatabase'):
                             ^
SyntaxError: invalid syntax


I, [2024-06-07T06:21:56.425983 #1]  INFO -- : Skipping file ./smok/extras/sensor_write_database/in_memory.py due to exception (CC::Engine::Analyzers::ParserError): `python2 /usr/src/app/lib/cc/engine/analyzers/python/parser.py` exited with code 1:
Traceback (most recent call last):
  File "/usr/src/app/lib/cc/engine/analyzers/python/parser.py", line 51, in <module>
    print(json.dumps(to_json(ast.parse(source))))
  File "/usr/local/python2/lib/python2.7/ast.py", line 37, in parse
    return compile(source, filename, mode, PyCF_ONLY_AST)
  File "<unknown>", line 9
    def on_synced_sw(self, event: SensorWriteEvent):
                                ^
SyntaxError: invalid syntax


I, [2024-06-07T06:21:56.437185 #1]  INFO -- : Skipping file ./smok/extras/sensor_write_database/pickling.py due to exception (CC::Engine::Analyzers::ParserError): `python2 /usr/src/app/lib/cc/engine/analyzers/python/parser.py` exited with code 1:
Traceback (most recent call last):
  File "/usr/src/app/lib/cc/engine/analyzers/python/parser.py", line 51, in <module>
    print(json.dumps(to_json(ast.parse(source))))
  File "/usr/local/python2/lib/python2.7/ast.py", line 37, in parse
    return compile(source, filename, mode, PyCF_ONLY_AST)
  File "<unknown>", line 9
    def __init__(self, pickle_addr: str):
                                  ^
SyntaxError: invalid syntax


I, [2024-06-07T06:21:56.443567 #1]  INFO -- : Skipping file ./smok/baob.py due to exception (CC::Engine::Analyzers::ParserError): `python2 /usr/src/app/lib/cc/engine/analyzers/python/parser.py` exited with code 1:
Traceback (most recent call last):
  File "/usr/src/app/lib/cc/engine/analyzers/python/parser.py", line 51, in <module>
    print(json.dumps(to_json(ast.parse(source))))
  File "/usr/local/python2/lib/python2.7/ast.py", line 37, in parse
    return compile(source, filename, mode, PyCF_ONLY_AST)
  File "<unknown>", line 16
    def __init__(self, device: 'SMOKDevice', key: str):
                             ^
SyntaxError: invalid syntax


I, [2024-06-07T06:21:56.450514 #1]  INFO -- : Skipping file ./smok/metadata.py due to exception (CC::Engine::Analyzers::ParserError): `python2 /usr/src/app/lib/cc/engine/analyzers/python/parser.py` exited with code 1:
Traceback (most recent call last):
  File "/usr/src/app/lib/cc/engine/analyzers/python/parser.py", line 51, in <module>
    print(json.dumps(to_json(ast.parse(source))))
  File "/usr/local/python2/lib/python2.7/ast.py", line 37, in parse
    return compile(source, filename, mode, PyCF_ONLY_AST)
  File "<unknown>", line 17
    def __init__(self, device: 'SMOKDevice'):
                             ^
SyntaxError: invalid syntax


I, [2024-06-07T06:21:56.454610 #1]  INFO -- : Skipping file ./smok/threads/communicator.py due to exception (CC::Engine::Analyzers::ParserError): `python2 /usr/src/app/lib/cc/engine/analyzers/python/parser.py` exited with code 1:
Traceback (most recent call last):
  File "/usr/src/app/lib/cc/engine/analyzers/python/parser.py", line 51, in <module>
    print(json.dumps(to_json(ast.parse(source))))
  File "/usr/local/python2/lib/python2.7/ast.py", line 37, in parse
    return compile(source, filename, mode, PyCF_ONLY_AST)
  File "<unknown>", line 31
    def pathpoints_to_json(pps: tp.Iterable[Pathpoint]) -> list:
                              ^
SyntaxError: invalid syntax


I, [2024-06-07T06:21:56.461509 #1]  INFO -- : Skipping file ./smok/threads/executor.py due to exception (CC::Engine::Analyzers::ParserError): `python2 /usr/src/app/lib/cc/engine/analyzers/python/parser.py` exited with code 1:
Traceback (most recent call last):
  File "/usr/src/app/lib/cc/engine/analyzers/python/parser.py", line 51, in <module>
    print(json.dumps(to_json(ast.parse(source))))
  File "/usr/local/python2/lib/python2.7/ast.py", line 37, in parse
    return compile(source, filename, mode, PyCF_ONLY_AST)
  File "<unknown>", line 22
    def on_read_completed_factory(pp: Pathpoint) -> tp.Callable[[Future], None]:
                                    ^
SyntaxError: invalid syntax


I, [2024-06-07T06:21:56.465273 #1]  INFO -- : Skipping file ./smok/threads/archives_and_macros/archive.py due to exception (CC::Engine::Analyzers::ParserError): `python2 /usr/src/app/lib/cc/engine/analyzers/python/parser.py` exited with code 1:
Traceback (most recent call last):
  File "/usr/src/app/lib/cc/engine/analyzers/python/parser.py", line 51, in <module>
    print(json.dumps(to_json(ast.parse(source))))
  File "/usr/local/python2/lib/python2.7/ast.py", line 37, in parse
    return compile(source, filename, mode, PyCF_ONLY_AST)
  File "<unknown>", line 21
    def provide(client, pp_name: str, interval: Number) -> ArchivingEntry:
                               ^
SyntaxError: invalid syntax


I, [2024-06-07T06:21:56.476345 #1]  INFO -- : Skipping file ./smok/threads/archives_and_macros/thread.py due to exception (CC::Engine::Analyzers::ParserError): `python2 /usr/src/app/lib/cc/engine/analyzers/python/parser.py` exited with code 1:
Traceback (most recent call last):
  File "/usr/src/app/lib/cc/engine/analyzers/python/parser.py", line 51, in <module>
    print(json.dumps(to_json(ast.parse(source))))
  File "/usr/local/python2/lib/python2.7/ast.py", line 37, in parse
    return compile(source, filename, mode, PyCF_ONLY_AST)
  File "<unknown>", line 21
    def __init__(self, device: 'SMOKDevice', order_queue: PeekableQueue, dont_do_macros,
                             ^
SyntaxError: invalid syntax


I, [2024-06-07T06:21:56.485046 #1]  INFO -- : Skipping file ./smok/threads/log_publisher.py due to exception (CC::Engine::Analyzers::ParserError): `python2 /usr/src/app/lib/cc/engine/analyzers/python/parser.py` exited with code 1:
Traceback (most recent call last):
  File "/usr/src/app/lib/cc/engine/analyzers/python/parser.py", line 51, in <module>
    print(json.dumps(to_json(ast.parse(source))))
  File "/usr/local/python2/lib/python2.7/ast.py", line 37, in parse
    return compile(source, filename, mode, PyCF_ONLY_AST)
  File "<unknown>", line 22
    def __init__(self, device: 'SMOKDevice'):
                             ^
SyntaxError: invalid syntax


I, [2024-06-07T06:21:56.495861 #1]  INFO -- : Skipping file ./smok/predicate/event.py due to exception (CC::Engine::Analyzers::ParserError): `python2 /usr/src/app/lib/cc/engine/analyzers/python/parser.py` exited with code 1:
Traceback (most recent call last):
  File "/usr/src/app/lib/cc/engine/analyzers/python/parser.py", line 51, in <module>
    print(json.dumps(to_json(ast.parse(source))))
  File "/usr/local/python2/lib/python2.7/ast.py", line 37, in parse
    return compile(source, filename, mode, PyCF_ONLY_AST)
  File "<unknown>", line 40
    def to_pickle(self) -> bytes:
                        ^
SyntaxError: invalid syntax


I, [2024-06-07T06:21:56.498672 #1]  INFO -- : Skipping file ./smok/predicate/base.py due to exception (CC::Engine::Analyzers::ParserError): `python2 /usr/src/app/lib/cc/engine/analyzers/python/parser.py` exited with code 1:
Traceback (most recent call last):
  File "/usr/src/app/lib/cc/engine/analyzers/python/parser.py", line 51, in <module>
    print(json.dumps(to_json(ast.parse(source))))
  File "/usr/local/python2/lib/python2.7/ast.py", line 37, in parse
    return compile(source, filename, mode, PyCF_ONLY_AST)
  File "<unknown>", line 25
    def __init__(self, day_of_week: int, hour: int, minute: int):
                                  ^
SyntaxError: invalid syntax


I, [2024-06-07T06:21:56.506872 #1]  INFO -- : Skipping file ./smok/predicate/registration.py due to exception (CC::Engine::Analyzers::ParserError): `python2 /usr/src/app/lib/cc/engine/analyzers/python/parser.py` exited with code 1:
Traceback (most recent call last):
  File "/usr/src/app/lib/cc/engine/analyzers/python/parser.py", line 51, in <module>
    print(json.dumps(to_json(ast.parse(source))))
  File "/usr/local/python2/lib/python2.7/ast.py", line 37, in parse
    return compile(source, filename, mode, PyCF_ONLY_AST)
  File "<unknown>", line 12
    def __init__(self, matcher: tp.Callable[[str, tp.Dict], bool],
                              ^
SyntaxError: invalid syntax


I, [2024-06-07T06:21:56.517740 #1]  INFO -- : Skipping file ./smok/predicate/undefined.py due to exception (CC::Engine::Analyzers::ParserError): `python2 /usr/src/app/lib/cc/engine/analyzers/python/parser.py` exited with code 1:
Traceback (most recent call last):
  File "/usr/src/app/lib/cc/engine/analyzers/python/parser.py", line 51, in <module>
    print(json.dumps(to_json(ast.parse(source))))
  File "/usr/local/python2/lib/python2.7/ast.py", line 37, in parse
    return compile(source, filename, mode, PyCF_ONLY_AST)
  File "<unknown>", line 18
    def initialize(self, cls: tp.Type[BaseStatistic]):
                            ^
SyntaxError: invalid syntax


I, [2024-06-07T06:21:56.520812 #1]  INFO -- : Skipping file ./smok/client/slave.py due to exception (CC::Engine::Analyzers::ParserError): `python2 /usr/src/app/lib/cc/engine/analyzers/python/parser.py` exited with code 1:
Traceback (most recent call last):
  File "/usr/src/app/lib/cc/engine/analyzers/python/parser.py", line 51, in <module>
    print(json.dumps(to_json(ast.parse(source))))
  File "/usr/local/python2/lib/python2.7/ast.py", line 37, in parse
    return compile(source, filename, mode, PyCF_ONLY_AST)
  File "<unknown>", line 20
    def __init__(self, sd: 'SMOKDevice', data: SlaveDeviceInfo):
                         ^
SyntaxError: invalid syntax


I, [2024-06-07T06:21:56.528644 #1]  INFO -- : Skipping file ./smok/client/api.py due to exception (CC::Engine::Analyzers::ParserError): `python2 /usr/src/app/lib/cc/engine/analyzers/python/parser.py` exited with code 1:
Traceback (most recent call last):
  File "/usr/src/app/lib/cc/engine/analyzers/python/parser.py", line 51, in <module>
    print(json.dumps(to_json(ast.parse(source))))
  File "/usr/local/python2/lib/python2.7/ast.py", line 37, in parse
    return compile(source, filename, mode, PyCF_ONLY_AST)
  File "<unknown>", line 34
    def request(self, request_type: str, url: str,
                                  ^
SyntaxError: invalid syntax


I, [2024-06-07T06:21:56.531780 #1]  INFO -- : Skipping file ./smok/client/certificate.py due to exception (CC::Engine::Analyzers::ParserError): `python2 /usr/src/app/lib/cc/engine/analyzers/python/parser.py` exited with code 1:
Traceback (most recent call last):
  File "/usr/src/app/lib/cc/engine/analyzers/python/parser.py", line 51, in <module>
    print(json.dumps(to_json(ast.parse(source))))
  File "/usr/local/python2/lib/python2.7/ast.py", line 37, in parse
    return compile(source, filename, mode, PyCF_ONLY_AST)
  File "<unknown>", line 23
    def get_root_cert() -> bytes:
                        ^
SyntaxError: invalid syntax


I, [2024-06-07T06:21:56.539923 #1]  INFO -- : Skipping file ./smok/client/client.py due to exception (CC::Engine::Analyzers::ParserError): `python2 /usr/src/app/lib/cc/engine/analyzers/python/parser.py` exited with code 1:
Traceback (most recent call last):
  File "/usr/src/app/lib/cc/engine/analyzers/python/parser.py", line 51, in <module>
    print(json.dumps(to_json(ast.parse(source))))
  File "/usr/local/python2/lib/python2.7/ast.py", line 37, in parse
    return compile(source, filename, mode, PyCF_ONLY_AST)
  File "<unknown>", line 64
    class SMOKDevice(Closeable, metaclass=ABCMeta):
                                         ^
SyntaxError: invalid syntax


I, [2024-06-07T06:21:56.550783 #1]  INFO -- : Skipping file ./smok/sensor/reparse.py due to exception (CC::Engine::Analyzers::ParserError): `python2 /usr/src/app/lib/cc/engine/analyzers/python/parser.py` exited with code 1:
Traceback (most recent call last):
  File "/usr/src/app/lib/cc/engine/analyzers/python/parser.py", line 51, in <module>
    print(json.dumps(to_json(ast.parse(source))))
  File "/usr/local/python2/lib/python2.7/ast.py", line 37, in parse
    return compile(source, filename, mode, PyCF_ONLY_AST)
  File "<unknown>", line 4
    def parse(invocation: str) -> tp.Tuple[str, tp.List[str]]:  # Parse Reparse-Point-type invocation
                        ^
SyntaxError: invalid syntax


I, [2024-06-07T06:21:56.553709 #1]  INFO -- : Skipping file ./smok/sensor/types.py due to exception (CC::Engine::Analyzers::ParserError): `python2 /usr/src/app/lib/cc/engine/analyzers/python/parser.py` exited with code 1:
Traceback (most recent call last):
  File "/usr/src/app/lib/cc/engine/analyzers/python/parser.py", line 51, in <module>
    print(json.dumps(to_json(ast.parse(source))))
  File "/usr/local/python2/lib/python2.7/ast.py", line 37, in parse
    return compile(source, filename, mode, PyCF_ONLY_AST)
  File "<unknown>", line 11
    class BasicType(metaclass=ABCMeta):
                             ^
SyntaxError: invalid syntax


I, [2024-06-07T06:21:56.561811 #1]  INFO -- : Skipping file ./smok/sensor/sensor.py due to exception (CC::Engine::Analyzers::ParserError): `python2 /usr/src/app/lib/cc/engine/analyzers/python/parser.py` exited with code 1:
Traceback (most recent call last):
  File "/usr/src/app/lib/cc/engine/analyzers/python/parser.py", line 51, in <module>
    print(json.dumps(to_json(ast.parse(source))))
  File "/usr/local/python2/lib/python2.7/ast.py", line 37, in parse
    return compile(source, filename, mode, PyCF_ONLY_AST)
  File "<unknown>", line 17
    def fqtsify(tag_name: tp.Union[str, tp.Set[str]]) -> str:
                        ^
SyntaxError: invalid syntax


I, [2024-06-07T06:21:56.564648 #1]  INFO -- : Skipping file ./smok/sensor/write_logs.py due to exception (CC::Engine::Analyzers::ParserError): `python2 /usr/src/app/lib/cc/engine/analyzers/python/parser.py` exited with code 1:
Traceback (most recent call last):
  File "/usr/src/app/lib/cc/engine/analyzers/python/parser.py", line 51, in <module>
    print(json.dumps(to_json(ast.parse(source))))
  File "/usr/local/python2/lib/python2.7/ast.py", line 37, in parse
    return compile(source, filename, mode, PyCF_ONLY_AST)
  File "<unknown>", line 16
    def __init__(self, timestamp: int, who: str, hr_sensor: str, hr_value: str,
                                ^
SyntaxError: invalid syntax


I, [2024-06-07T06:21:56.573019 #1]  INFO -- : Skipping file ./smok/sensor/reparse_funs.py due to exception (CC::Engine::Analyzers::ParserError): `python2 /usr/src/app/lib/cc/engine/analyzers/python/parser.py` exited with code 1:
Traceback (most recent call last):
  File "/usr/src/app/lib/cc/engine/analyzers/python/parser.py", line 51, in <module>
    print(json.dumps(to_json(ast.parse(source))))
  File "/usr/local/python2/lib/python2.7/ast.py", line 37, in parse
    return compile(source, filename, mode, PyCF_ONLY_AST)
  File "<unknown>", line 107
    def _pack_hh(ho, lo) -> bytes:
                         ^
SyntaxError: invalid syntax


I, [2024-06-07T06:21:56.584414 #1]  INFO -- : Skipping file ./smok/logging.py due to exception (CC::Engine::Analyzers::ParserError): `python2 /usr/src/app/lib/cc/engine/analyzers/python/parser.py` exited with code 1:
Traceback (most recent call last):
  File "/usr/src/app/lib/cc/engine/analyzers/python/parser.py", line 51, in <module>
    print(json.dumps(to_json(ast.parse(source))))
  File "/usr/local/python2/lib/python2.7/ast.py", line 37, in parse
    return compile(source, filename, mode, PyCF_ONLY_AST)
  File "<unknown>", line 26
    def __init__(self, device: 'SMOKDevice', service_name: str):
                             ^
SyntaxError: invalid syntax


I, [2024-06-07T06:21:56.587334 #1]  INFO -- : Skipping file ./smok/sync_workers/ngtt.py due to exception (CC::Engine::Analyzers::ParserError): `python2 /usr/src/app/lib/cc/engine/analyzers/python/parser.py` exited with code 1:
Traceback (most recent call last):
  File "/usr/src/app/lib/cc/engine/analyzers/python/parser.py", line 51, in <module>
    print(json.dumps(to_json(ast.parse(source))))
  File "/usr/local/python2/lib/python2.7/ast.py", line 37, in parse
    return compile(source, filename, mode, PyCF_ONLY_AST)
  File "<unknown>", line 17
    def __init__(self, device: 'SMOKDevice'):
                             ^
SyntaxError: invalid syntax


I, [2024-06-07T06:21:56.596206 #1]  INFO -- : Skipping file ./smok/sync_workers/base.py due to exception (CC::Engine::Analyzers::ParserError): `python2 /usr/src/app/lib/cc/engine/analyzers/python/parser.py` exited with code 1:
Traceback (most recent call last):
  File "/usr/src/app/lib/cc/engine/analyzers/python/parser.py", line 51, in <module>
    print(json.dumps(to_json(ast.parse(source))))
  File "/usr/local/python2/lib/python2.7/ast.py", line 37, in parse
    return compile(source, filename, mode, PyCF_ONLY_AST)
  File "<unknown>", line 10
    def __init__(self, is_no_link: bool = True, is_clients_fault: bool = False):
                                 ^
SyntaxError: invalid syntax


I, [2024-06-07T06:21:56.598218 #1]  INFO -- : Skipping file ./smok/sync_workers/http.py due to exception (CC::Engine::Analyzers::ParserError): `python2 /usr/src/app/lib/cc/engine/analyzers/python/parser.py` exited with code 1:
Traceback (most recent call last):
  File "/usr/src/app/lib/cc/engine/analyzers/python/parser.py", line 51, in <module>
    print(json.dumps(to_json(ast.parse(source))))
  File "/usr/local/python2/lib/python2.7/ast.py", line 37, in parse
    return compile(source, filename, mode, PyCF_ONLY_AST)
  File "<unknown>", line 12
    def sync_pathpoints(self, data: tp.List[dict]):
                                  ^
SyntaxError: invalid syntax


I, [2024-06-07T06:21:56.609453 #1]  INFO -- : Skipping file ./smok/basics.py due to exception (CC::Engine::Analyzers::ParserError): `python2 /usr/src/app/lib/cc/engine/analyzers/python/parser.py` exited with code 1:
Traceback (most recent call last):
  File "/usr/src/app/lib/cc/engine/analyzers/python/parser.py", line 51, in <module>
    print(json.dumps(to_json(ast.parse(source))))
  File "/usr/local/python2/lib/python2.7/ast.py", line 37, in parse
    return compile(source, filename, mode, PyCF_ONLY_AST)
  File "<unknown>", line 23
    def __or__(self, other: 'StorageLevel') -> 'StorageLevel':
                          ^
SyntaxError: invalid syntax


I, [2024-06-07T06:21:56.620515 #1]  INFO -- : Skipping file ./smok/exceptions.py due to exception (CC::Engine::Analyzers::ParserError): `python2 /usr/src/app/lib/cc/engine/analyzers/python/parser.py` exited with code 1:
Traceback (most recent call last):
  File "/usr/src/app/lib/cc/engine/analyzers/python/parser.py", line 51, in <module>
    print(json.dumps(to_json(ast.parse(source))))
  File "/usr/local/python2/lib/python2.7/ast.py", line 37, in parse
    return compile(source, filename, mode, PyCF_ONLY_AST)
  File "<unknown>", line 41
    def __str__(self) -> str:
                      ^
SyntaxError: invalid syntax


I, [2024-06-07T06:21:56.629194 #1]  INFO -- : Skipping file ./smok/pathpoint/reparse.py due to exception (CC::Engine::Analyzers::ParserError): `python2 /usr/src/app/lib/cc/engine/analyzers/python/parser.py` exited with code 1:
Traceback (most recent call last):
  File "/usr/src/app/lib/cc/engine/analyzers/python/parser.py", line 51, in <module>
    print(json.dumps(to_json(ast.parse(source))))
  File "/usr/local/python2/lib/python2.7/ast.py", line 37, in parse
    return compile(source, filename, mode, PyCF_ONLY_AST)
  File "<unknown>", line 34
    def __init__(self, device: tp.Optional['SMOKDevice'], name: str,
                             ^
SyntaxError: invalid syntax


I, [2024-06-07T06:21:56.631701 #1]  INFO -- : Skipping file ./smok/pathpoint/typing.py due to exception (CC::Engine::Analyzers::ParserError): `python2 /usr/src/app/lib/cc/engine/analyzers/python/parser.py` exited with code 1:
Traceback (most recent call last):
  File "/usr/src/app/lib/cc/engine/analyzers/python/parser.py", line 51, in <module>
    print(json.dumps(to_json(ast.parse(source))))
  File "/usr/local/python2/lib/python2.7/ast.py", line 37, in parse
    return compile(source, filename, mode, PyCF_ONLY_AST)
  File "<unknown>", line 22
    def get_type(path: str) -> 'PathpointType':
                     ^
SyntaxError: invalid syntax


I, [2024-06-07T06:21:56.640275 #1]  INFO -- : Skipping file ./smok/pathpoint/pathpoint.py due to exception (CC::Engine::Analyzers::ParserError): `python2 /usr/src/app/lib/cc/engine/analyzers/python/parser.py` exited with code 1:
Traceback (most recent call last):
  File "/usr/src/app/lib/cc/engine/analyzers/python/parser.py", line 51, in <module>
    print(json.dumps(to_json(ast.parse(source))))
  File "/usr/local/python2/lib/python2.7/ast.py", line 37, in parse
    return compile(source, filename, mode, PyCF_ONLY_AST)
  File "<unknown>", line 57
    def __init__(self, device: tp.Optional['SMOKDevice'], name: str,
                             ^
SyntaxError: invalid syntax


I, [2024-06-07T06:21:56.642871 #1]  INFO -- : Skipping file ./smok/pathpoint/orders.py due to exception (CC::Engine::Analyzers::ParserError): `python2 /usr/src/app/lib/cc/engine/analyzers/python/parser.py` exited with code 1:
Traceback (most recent call last):
  File "/usr/src/app/lib/cc/engine/analyzers/python/parser.py", line 51, in <module>
    print(json.dumps(to_json(ast.parse(source))))
  File "/usr/local/python2/lib/python2.7/ast.py", line 37, in parse
    return compile(source, filename, mode, PyCF_ONLY_AST)
  File "<unknown>", line 39
    def __init__(self, op_type: str, op_args: str):
                              ^
SyntaxError: invalid syntax


I, [2024-06-07T06:21:56.653790 #1]  INFO -- : Skipping file ./smok/macro/macro.py due to exception (CC::Engine::Analyzers::ParserError): `python2 /usr/src/app/lib/cc/engine/analyzers/python/parser.py` exited with code 1:
Traceback (most recent call last):
  File "/usr/src/app/lib/cc/engine/analyzers/python/parser.py", line 51, in <module>
    print(json.dumps(to_json(ast.parse(source))))
  File "/usr/local/python2/lib/python2.7/ast.py", line 37, in parse
    return compile(source, filename, mode, PyCF_ONLY_AST)
  File "<unknown>", line 19
    def from_json(cls, dct: dict) -> 'Macro':
                          ^
SyntaxError: invalid syntax


I, [2024-06-07T06:21:56.674864 #1]  INFO -- : Skipping file ./ngtt/uplink/connection.py due to exception (CC::Engine::Analyzers::ParserError): `python2 /usr/src/app/lib/cc/engine/analyzers/python/parser.py` exited with code 1:
Traceback (most recent call last):
  File "/usr/src/app/lib/cc/engine/analyzers/python/parser.py", line 51, in <module>
    print(json.dumps(to_json(ast.parse(source))))
  File "/usr/local/python2/lib/python2.7/ast.py", line 37, in parse
    return compile(source, filename, mode, PyCF_ONLY_AST)
  File "<unknown>", line 34
    def wants_write(self) -> bool:
                          ^
SyntaxError: invalid syntax


I, [2024-06-07T06:21:56.686066 #1]  INFO -- : Skipping file ./ngtt/uplink/thread.py due to exception (CC::Engine::Analyzers::ParserError): `python2 /usr/src/app/lib/cc/engine/analyzers/python/parser.py` exited with code 1:
Traceback (most recent call last):
  File "/usr/src/app/lib/cc/engine/analyzers/python/parser.py", line 51, in <module>
    print(json.dumps(to_json(ast.parse(source))))
  File "/usr/local/python2/lib/python2.7/ast.py", line 37, in parse
    return compile(source, filename, mode, PyCF_ONLY_AST)
  File "<unknown>", line 51
    def __init__(self, cert_file: str, key_file: str,
                                ^
SyntaxError: invalid syntax


I, [2024-06-07T06:21:56.689302 #1]  INFO -- : Skipping file ./ngtt/orders.py due to exception (CC::Engine::Analyzers::ParserError): `python2 /usr/src/app/lib/cc/engine/analyzers/python/parser.py` exited with code 1:
Traceback (most recent call last):
  File "/usr/src/app/lib/cc/engine/analyzers/python/parser.py", line 51, in <module>
    print(json.dumps(to_json(ast.parse(source))))
  File "/usr/local/python2/lib/python2.7/ast.py", line 37, in parse
    return compile(source, filename, mode, PyCF_ONLY_AST)
  File "<unknown>", line 18
    def __init__(self, data: tp.List[dict], tid: int, sock: 'NGTTSocket'):
                           ^
SyntaxError: invalid syntax


I, [2024-06-07T06:21:56.697023 #1]  INFO -- : Skipping file ./ngtt/protocol.py due to exception (CC::Engine::Analyzers::ParserError): `python2 /usr/src/app/lib/cc/engine/analyzers/python/parser.py` exited with code 1:
Traceback (most recent call last):
  File "/usr/src/app/lib/cc/engine/analyzers/python/parser.py", line 51, in <module>
    print(json.dumps(to_json(ast.parse(source))))
  File "/usr/local/python2/lib/python2.7/ast.py", line 37, in parse
    return compile(source, filename, mode, PyCF_ONLY_AST)
  File "<unknown>", line 39
    def __init__(self, tid: int, packet_type: NGTTHeaderType, data=b''):
                          ^
SyntaxError: invalid syntax


I, [2024-06-07T06:21:56.708013 #1]  INFO -- : Skipping file ./ngtt/exceptions.py due to exception (CC::Engine::Analyzers::ParserError): `python2 /usr/src/app/lib/cc/engine/analyzers/python/parser.py` exited with code 1:
Traceback (most recent call last):
  File "/usr/src/app/lib/cc/engine/analyzers/python/parser.py", line 51, in <module>
    print(json.dumps(to_json(ast.parse(source))))
  File "/usr/local/python2/lib/python2.7/ast.py", line 37, in parse
    return compile(source, filename, mode, PyCF_ONLY_AST)
  File "<unknown>", line 16
    def __init__(self, is_due_to_no_internet: bool = False, *args):
                                            ^
SyntaxError: invalid syntax
7
fixme
fixme engine documentation
8
markdownlint
markdownlint engine documentation
View output
/usr/local/bundle/gems/posix-spawn-0.3.11/lib/posix/spawn.rb:467: warning: constant ::Fixnum is deprecated
9
pep8
pep8 engine documentation
View output
examples/ smok/ setup.py ngtt/