snorklerjoe/CubeServer

View on GitHub
Merge pull request #330 from Windham-High-School/329-add-devcontainer-dev-server-scripts-to-devcontainer-path #162
Joseph Freeston authored b55d8b80
complete00:00:17
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
No errors or warnings found in .codeclimate.json.
3
codeclimate prepare
View output
codeclimate prepare
4
builder pull-engines
View output
determining required images
5
structure
View output
13
Parser process id: 13
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-10-29T06:20:39.154055 #1]  INFO -- : Skipping file ./src/CubeServer-api/cubeserver_api/beacon_resources.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 37
    logging.debug(f"Next message get req from {auth.username()}")
                                                               ^
SyntaxError: invalid syntax


I, [2024-10-29T06:20:39.169393 #1]  INFO -- : Skipping file ./src/CubeServer-api/cubeserver_api/auth.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_team_secret(team_name: str) -> str:
                                 ^
SyntaxError: invalid syntax


I, [2024-10-29T06:20:39.179419 #1]  INFO -- : Skipping file ./src/CubeServer-api/cubeserver_api/team_resources.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
    logging.debug(f"Data post req from {auth.username()}")
                                                        ^
SyntaxError: invalid syntax


I, [2024-10-29T06:20:39.227057 #1]  INFO -- : Skipping file ./src/CubeServer-app/cubeserver_app/blueprints/admin/email_form.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
    f"There was an issue with your recipient list: {exception}"
                                                              ^
SyntaxError: invalid syntax


I, [2024-10-29T06:20:39.243774 #1]  INFO -- : Skipping file ./src/CubeServer-app/cubeserver_app/blueprints/admin/multiplier_form.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
    [f'{volUnit.name}: {volUnit.value}" cube' for volUnit in VolumeUnit], VolumeUnit
                                            ^
SyntaxError: invalid syntax


I, [2024-10-29T06:20:39.247260 #1]  INFO -- : Skipping file ./src/CubeServer-app/cubeserver_app/blueprints/admin/__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 113
    conf_form.smtp_credentials.data = f"{db_conf.smtp_user}:{db_conf.smtp_pass}"
                                                                               ^
SyntaxError: invalid syntax


I, [2024-10-29T06:20:39.263134 #1]  INFO -- : Skipping file ./src/CubeServer-app/cubeserver_app/blueprints/team/__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 37
    ValueError(f"Cannot use reserved name {form.team_name.data}"),
                                                               ^
SyntaxError: invalid syntax


I, [2024-10-29T06:20:39.269815 #1]  INFO -- : Skipping file ./src/CubeServer-app/cubeserver_app/blueprints/team/registration_form.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
    message=f"Please provide a team name under {config.TEAM_MAX_CHARS} characters.",
                                                                                  ^
SyntaxError: invalid syntax


I, [2024-10-29T06:20:39.275348 #1]  INFO -- : Skipping file ./src/CubeServer-app/cubeserver_app/blueprints/client_setup/__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 39
    logging.info(f"Rendering client_config.py for {team_name}")
                                                             ^
SyntaxError: invalid syntax


I, [2024-10-29T06:20:39.309618 #1]  INFO -- : Skipping file ./src/CubeServer-app/cubeserver_app/blueprints/home/__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 45
    def leaderboard(sel_div: str = ""):
                           ^
SyntaxError: invalid syntax


I, [2024-10-29T06:20:39.314431 #1]  INFO -- : Skipping file ./src/CubeServer-app/cubeserver_app/main.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
    logging.debug(f"Unauthorized request to {request.url}; redirecting to login")
                                                                               ^
SyntaxError: invalid syntax


I, [2024-10-29T06:20:39.324821 #1]  INFO -- : Skipping file ./src/CubeServer-app/cubeserver_app/tables/datapoints.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
    def __init__(self, items: List[DataPoint], **kwargs):
                            ^
SyntaxError: invalid syntax


I, [2024-10-29T06:20:39.329403 #1]  INFO -- : Skipping file ./src/CubeServer-app/cubeserver_app/tables/users.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 29
    def __init__(self, items: List[Team], **kwargs):
                            ^
SyntaxError: invalid syntax


I, [2024-10-29T06:20:39.337304 #1]  INFO -- : Skipping file ./src/CubeServer-app/cubeserver_app/tables/beaconmessages.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 __init__(self, items: List[BeaconMessage], **kwargs):
                            ^
SyntaxError: invalid syntax


I, [2024-10-29T06:20:39.356263 #1]  INFO -- : Skipping file ./src/CubeServer-app/cubeserver_app/tables/columns.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
    form: FlaskForm,
        ^
SyntaxError: invalid syntax


I, [2024-10-29T06:20:39.363990 #1]  INFO -- : Skipping file ./src/CubeServer-app/cubeserver_app/tables/team.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 62
    def __init__(self, items: List[Team], **kwargs):
                            ^
SyntaxError: invalid syntax


I, [2024-10-29T06:20:39.381657 #1]  INFO -- : Skipping file ./src/CubeServer-app/cubeserver_app/command.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 45
    logging.debug(f"DataPoint object: {point}")
                                             ^
SyntaxError: invalid syntax


I, [2024-10-29T06:20:39.409421 #1]  INFO -- : Skipping file ./src/CubeServer-app/cubeserver_app/errorviews.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
    logging.error(f"ERROR 500: Internal server error: {e}")
                                                         ^
SyntaxError: invalid syntax


I, [2024-10-29T06:20:39.414827 #1]  INFO -- : Skipping file ./src/CubeServer-app/cubeserver_app/__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 47
    PyMongoModel.update_mongo_client(...)
                                     ^
SyntaxError: invalid syntax


I, [2024-10-29T06:20:39.426755 #1]  INFO -- : Skipping file ./src/CubeServer-common/cubeserver_common/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 15
    AUTHORS: dict = safe_load(CONTRIBUTORS_YAML)
           ^
SyntaxError: invalid syntax


I, [2024-10-29T06:20:39.439604 #1]  INFO -- : Skipping file ./src/CubeServer-common/cubeserver_common/models/mail.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
    from_name: str = "",
             ^
SyntaxError: invalid syntax


I, [2024-10-29T06:20:39.440319 #1]  INFO -- : Skipping file ./src/CubeServer-common/cubeserver_common/models/multiplier.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_subclass__(cls, *, amt_codec=DummyCodec(float)) -> None:
                                ^
SyntaxError: invalid syntax


I, [2024-10-29T06:20:39.451965 #1]  INFO -- : Skipping file ./src/CubeServer-common/cubeserver_common/models/utils/complexdictcodec.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
    self, key_codec: TypeCodec = DummyCodec, value_codec: TypeCodec = DummyCodec
                   ^
SyntaxError: invalid syntax


I, [2024-10-29T06:20:39.452660 #1]  INFO -- : Skipping file ./src/CubeServer-common/cubeserver_common/models/utils/modelutils.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 _locatable_name(type_to_name: type) -> str:
                                    ^
SyntaxError: invalid syntax


I, [2024-10-29T06:20:39.465409 #1]  INFO -- : Skipping file ./src/CubeServer-common/cubeserver_common/models/utils/listcodec.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 __init__(self, type_codec: Optional[TypeCodec] = None):
                                 ^
SyntaxError: invalid syntax


I, [2024-10-29T06:20:39.482958 #1]  INFO -- : Skipping file ./src/CubeServer-common/cubeserver_common/models/utils/enumcodec.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, enum_class: Type[Enum], value_class: type = ...):
                                 ^
SyntaxError: invalid syntax


I, [2024-10-29T06:20:39.483012 #1]  INFO -- : Skipping file ./src/CubeServer-common/cubeserver_common/models/utils/dummycodec.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, type_class: Type[Any] = str):
                                 ^
SyntaxError: invalid syntax


I, [2024-10-29T06:20:39.497260 #1]  INFO -- : Skipping file ./src/CubeServer-common/cubeserver_common/models/datapoint.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 datatype(self) -> type:
                       ^
SyntaxError: invalid syntax


I, [2024-10-29T06:20:39.521981 #1]  INFO -- : Skipping file ./src/CubeServer-common/cubeserver_common/models/team.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 _filter_nonetype_from_list(l: list[Any]) -> list:
                                    ^
SyntaxError: invalid syntax


I, [2024-10-29T06:20:39.531969 #1]  INFO -- : Skipping file ./src/CubeServer-common/cubeserver_common/models/config/rules.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
    offsets: List[int] = [],
           ^
SyntaxError: invalid syntax


I, [2024-10-29T06:20:39.537827 #1]  INFO -- : Skipping file ./src/CubeServer-common/cubeserver_common/models/config/conf.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 27
    registration_open: bool = False,
                     ^
SyntaxError: invalid syntax


I, [2024-10-29T06:20:39.552509 #1]  INFO -- : Skipping file ./src/CubeServer-common/cubeserver_common/models/beaconmessage.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
    MAX_INT_BYTES: int = 256
                 ^
SyntaxError: invalid syntax


I, [2024-10-29T06:20:39.558311 #1]  INFO -- : Skipping file ./src/CubeServer-common/cubeserver_common/models/user.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
    name: str = "",
        ^
SyntaxError: invalid syntax


I, [2024-10-29T06:20:39.581564 #1]  INFO -- : Skipping file ./src/CubeServer-common/cubeserver_common/config.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
    LOGGING_LEVEL: int = logging.DEBUG
                 ^
SyntaxError: invalid syntax


I, [2024-10-29T06:20:39.591149 #1]  INFO -- : Skipping file ./src/CubeServer-common/cubeserver_common/__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 15
    100, f"CubeServer loglevel is {logging.getLevelName(config.LOGGING_LEVEL)}"
                                                                              ^
SyntaxError: invalid syntax


I, [2024-10-29T06:20:39.608860 #1]  INFO -- : Skipping file config.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
    LOGGING_LEVEL: int = logging.DEBUG
                 ^
SyntaxError: invalid syntax


I, [2024-10-29T06:20:39.621179 #1]  INFO -- : Skipping file ./Docker/CubeServer/CubeServer-app/gunicorn.conf.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
    bind = [f'0.0.0.0:{os.environ.get("PORT", 443)}']
                                                   ^
SyntaxError: invalid syntax


I, [2024-10-29T06:20:39.624583 #1]  INFO -- : Skipping file ./Docker/CubeServer/CubeServer-api/gunicorn.conf.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
    bind = [f'0.0.0.0:{os.environ.get("PORT", 443)}']
                                                   ^
SyntaxError: invalid syntax
7
git-legal
git-legal engine documentation
8
pep8
pep8 engine documentation
View output
.github/ src/CubeServer-api/ src/CubeServer-app/ src/CubeServer-common/cubeserver_common/ .vscode/ .devcontainer/ docs/ config.py Docker/ tools/