DefinetlyNotAI/Logicytics

View on GitHub
Fixed minor bugs #330
Shahm Najeeb authored 04eec595
complete00:00:23
1
git clone
2
codeclimate validate-config
View output
codeclimate validate-config
WARNING: unknown engine or channel <codescan:stable>
WARNING: unknown engine or channel <cody:stable>
WARNING: unknown engine or channel <isort:stable>
WARNING: unknown engine or channel <proselint:stable>
WARNING: unknown engine or channel <protobuf:stable>
WARNING: unknown engine or channel <rustfmt:stable>
WARNING: unknown engine or channel <tfsec:stable>
3
codeclimate prepare
View output
codeclimate prepare
4
builder pull-engines
View output
determining required images
docker pull codeclimate/codeclimate-git-legal:b626
b626: Pulling from codeclimate/codeclimate-git-legal
90f4dba627d6: Already exists
98c1a7514ba6: Pulling fs layer
e970acb20b34: Pulling fs layer
37b763b54c24: Pulling fs layer
fda57ec1751e: Pulling fs layer
4c6564efa402: Pulling fs layer
d9d2999a61cb: Pulling fs layer
580a7c85932d: Pulling fs layer
14042ef0ceb7: Pulling fs layer
a176c29021cd: Pulling fs layer
fb61bdd6c9e5: Pulling fs layer
5902f4e6bfdf: Pulling fs layer
01d61cd90194: Pulling fs layer
bfd3418a31a7: Pulling fs layer
fda57ec1751e: Waiting
4c6564efa402: Waiting
d9d2999a61cb: Waiting
580a7c85932d: Waiting
14042ef0ceb7: Waiting
a176c29021cd: Waiting
fb61bdd6c9e5: Waiting
5902f4e6bfdf: Waiting
01d61cd90194: Waiting
bfd3418a31a7: Waiting
98c1a7514ba6: Verifying Checksum
98c1a7514ba6: Download complete
37b763b54c24: Download complete
98c1a7514ba6: Pull complete
fda57ec1751e: Verifying Checksum
fda57ec1751e: Download complete
4c6564efa402: Verifying Checksum
4c6564efa402: Download complete
d9d2999a61cb: Verifying Checksum
d9d2999a61cb: Download complete
e970acb20b34: Download complete
580a7c85932d: Verifying Checksum
580a7c85932d: Download complete
14042ef0ceb7: Verifying Checksum
14042ef0ceb7: Download complete
fb61bdd6c9e5: Verifying Checksum
fb61bdd6c9e5: Download complete
01d61cd90194: Verifying Checksum
01d61cd90194: Download complete
bfd3418a31a7: Verifying Checksum
bfd3418a31a7: Download complete
a176c29021cd: Verifying Checksum
a176c29021cd: Download complete
e970acb20b34: Pull complete
5902f4e6bfdf: Verifying Checksum
5902f4e6bfdf: Download complete
37b763b54c24: Pull complete
fda57ec1751e: Pull complete
4c6564efa402: Pull complete
d9d2999a61cb: Pull complete
580a7c85932d: Pull complete
14042ef0ceb7: Pull complete
a176c29021cd: Pull complete
fb61bdd6c9e5: Pull complete
5902f4e6bfdf: Pull complete
01d61cd90194: Pull complete
bfd3418a31a7: Pull complete
Digest: sha256:61138dd4b61200e7b5250841c2bccf3128018ff186d011cb1ee6041f41403c4d
Status: Downloaded newer image for registry.prod.codeclimate.net/codeclimate/codeclimate-git-legal:b626
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-12-18T06:13:04.679045 #1]  INFO -- : Skipping file CODE/wmic.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
    log.info(f"Executing Command Number {i + 1}: {wmic_commands[i]}")
                                                                   ^
SyntaxError: invalid syntax


I, [2024-12-18T06:13:04.679776 #1]  INFO -- : Skipping file CODE/_extra.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 33
    print(f"{i + 1}. {file}")
                           ^
SyntaxError: invalid syntax


I, [2024-12-18T06:13:04.696449 #1]  INFO -- : Skipping file CODE/sensitive_data_miner.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 __search_files_by_keyword(root: Path, keyword: str) -> list:
                                      ^
SyntaxError: invalid syntax


I, [2024-12-18T06:13:04.696691 #1]  INFO -- : Skipping file CODE/_dev.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 _update_ini_file(filename: str, new_data: list | str, key: str) -> None:
                                 ^
SyntaxError: invalid syntax


I, [2024-12-18T06:13:04.713795 #1]  INFO -- : Skipping file CODE/vulnscan.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 28
    def load_model(model_path_to_load: str) -> safe_open | torch.nn.Module:
                                     ^
SyntaxError: invalid syntax


I, [2024-12-18T06:13:04.723902 #1]  INFO -- : Skipping file CODE/registry.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 24
    log.info(f"Registry backed up successfully to {export_path}. Output: {result.stdout}")
                                                                                        ^
SyntaxError: invalid syntax


I, [2024-12-18T06:13:04.729150 #1]  INFO -- : Skipping file CODE/ssh_miner.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 44
    log.error(f"Failed to back up SSH keys and configuration: {e}")
                                                                 ^
SyntaxError: invalid syntax


I, [2024-12-18T06:13:04.743607 #1]  INFO -- : Skipping file CODE/sys_internal.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 36
    command = f"{os.path.join('SysInternal_Suite', executable)}"
                                                               ^
SyntaxError: invalid syntax


I, [2024-12-18T06:13:04.745496 #1]  INFO -- : Skipping file CODE/media_backup.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 __get_default_paths() -> list:
                              ^
SyntaxError: invalid syntax


I, [2024-12-18T06:13:04.757810 #1]  INFO -- : Skipping file ./CODE/VulnScan/v2-deprecated/_train.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 35
    logging.info(f"Using device: {DEVICE}")
                                         ^
SyntaxError: invalid syntax


I, [2024-12-18T06:13:04.764972 #1]  INFO -- : Skipping file CODE/log_miner.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
    cmd = f'Get-EventLog -LogName "{log_type}" | Export-Csv -Path "{backup_file}" -NoTypeInformation'
                                                                                                    ^
SyntaxError: invalid syntax


I, [2024-12-18T06:13:04.774216 #1]  INFO -- : Skipping file ./CODE/VulnScan/v2-deprecated/_generate_data.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 6
    MAX_FILE_SIZE: int = 10 * 1024  # Example: Max file size is 10 KB
                 ^
SyntaxError: invalid syntax


I, [2024-12-18T06:13:04.779969 #1]  INFO -- : Skipping file ./CODE/VulnScan/v3/_train.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 48
    texts_init: list[str],
              ^
SyntaxError: invalid syntax


I, [2024-12-18T06:13:04.790150 #1]  INFO -- : Skipping file ./CODE/VulnScan/v3/_generate_data.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 generate_random_filename(extensions: str, suffix_x: str = '') -> str:
                                           ^
SyntaxError: invalid syntax


I, [2024-12-18T06:13:04.794123 #1]  INFO -- : Skipping file ./CODE/VulnScan/tools/_vectorizer.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 load_data(data_paths: str | os.PathLike) -> list[str]:
                            ^
SyntaxError: invalid syntax


I, [2024-12-18T06:13:04.806364 #1]  INFO -- : Skipping file ./CODE/VulnScan/tools/_test_gpu_acceleration.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
    print(f"Error: Failed to import torch. Please ensure PyTorch is installed correctly: {e}")
                                                                                            ^
SyntaxError: invalid syntax


I, [2024-12-18T06:13:04.810216 #1]  INFO -- : Skipping file ./CODE/VulnScan/tools/_study_network.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 __init__(self, num_samples: int = 100, input_dim: int = 10000):
                                  ^
SyntaxError: invalid syntax


I, [2024-12-18T06:13:04.822628 #1]  INFO -- : Skipping file CODE/tasklist.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 30
    log.error(f"Subprocess Error: {e}")
                                     ^
SyntaxError: invalid syntax


I, [2024-12-18T06:13:04.824368 #1]  INFO -- : Skipping file CODE/wifi_stealer.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 get_password(ssid: str) -> str | None:
                         ^
SyntaxError: invalid syntax


I, [2024-12-18T06:13:04.833850 #1]  INFO -- : Skipping file CODE/bluetooth_details.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
    log.error(f"Error: {e}")
                          ^
SyntaxError: invalid syntax


I, [2024-12-18T06:13:04.840854 #1]  INFO -- : Skipping file CODE/dump_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 38
    f"OS: {platform.system()} {platform.release()}\n"
    ^
SyntaxError: invalid syntax


I, [2024-12-18T06:13:04.847292 #1]  INFO -- : Skipping file CODE/Logicytics.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 backup(directory: str, name: str):
                        ^
SyntaxError: invalid syntax


I, [2024-12-18T06:13:04.855652 #1]  INFO -- : Skipping file CODE/bluetooth_logger.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
    file.write(f"\n{'=' * 50}\n{section_title}\n{'=' * 50}\n")
                                                            ^
SyntaxError: invalid syntax


I, [2024-12-18T06:13:04.860110 #1]  INFO -- : Skipping file CODE/dir_list.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 run_command_threaded(directory: str, file: str, message: str, encoding: str = "UTF-8") -> None:
                                      ^
SyntaxError: invalid syntax


I, [2024-12-18T06:13:04.866900 #1]  INFO -- : Skipping file CODE/_debug.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 __version_tuple(version: str) -> tuple[int, int, int | str, str]:
                               ^
SyntaxError: invalid syntax


I, [2024-12-18T06:13:04.872242 #1]  INFO -- : Skipping file ./CODE/logicytics/Logger.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, config: dict = None):
                             ^
SyntaxError: invalid syntax


I, [2024-12-18T06:13:04.878030 #1]  INFO -- : Skipping file ./CODE/logicytics/FileManagement.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 open_file(file: str, use_full_path: bool = False) -> str | None:
                      ^
SyntaxError: invalid syntax


I, [2024-12-18T06:13:04.887157 #1]  INFO -- : Skipping file ./CODE/logicytics/Get.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 list_of_files(directory: str,
                               ^
SyntaxError: invalid syntax


I, [2024-12-18T06:13:04.891089 #1]  INFO -- : Skipping file ./CODE/logicytics/Flag.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 colorify(cls, text: str, color: str) -> str:
                          ^
SyntaxError: invalid syntax


I, [2024-12-18T06:13:04.901920 #1]  INFO -- : Skipping file ./CODE/logicytics/Checks.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 admin() -> bool:
                ^
SyntaxError: invalid syntax


I, [2024-12-18T06:13:04.908780 #1]  INFO -- : Skipping file ./CODE/logicytics/__init__.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 deprecated(removal_version: str, reason: str) -> callable:
                                  ^
SyntaxError: invalid syntax


I, [2024-12-18T06:13:04.915596 #1]  INFO -- : Skipping file ./CODE/logicytics/Execute.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 script(cls, script_path: str) -> list[list[str]] | None:
                               ^
SyntaxError: invalid syntax


I, [2024-12-18T06:13:04.924069 #1]  INFO -- : Skipping file CODE/cmd_commands.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 8
    def command(file: str, commands: str, message: str, encoding: str = "UTF-8") -> None:
                    ^
SyntaxError: invalid syntax


I, [2024-12-18T06:13:04.930570 #1]  INFO -- : Skipping file CODE/packet_sniffer.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 28
    def log_packet(packet: IP):
                         ^
SyntaxError: invalid syntax


I, [2024-12-18T06:13:04.935260 #1]  INFO -- : Skipping file CODE/event_log.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 parse_event_logs(log_type: str, output_file: str, server: str = 'localhost'):
                                 ^
SyntaxError: invalid syntax
7
fixme
fixme engine documentation
8
git-legal
git-legal engine documentation