12
Parser process id: 12
codeclimate-parser socket not present
waiting 1s...
I, [2024-10-16T12:13:53.735648 #1] INFO -- : Skipping file ./app/controllers/user_controller.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
'success': f"You have successfully been logged in as {username}",
^
SyntaxError: invalid syntax
I, [2024-10-16T12:13:53.736179 #1] INFO -- : Skipping file ./app/controllers/parcel_controller.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
return jsonify({'message':f"There are no parcels delivery orders created by user {user_id}"}), 200
^
SyntaxError: invalid syntax
I, [2024-10-16T12:13:53.800263 #1] INFO -- : Skipping file ./app/validator.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
return jsonify({"message":f"Status can only be {statuses}"}), 400
^
SyntaxError: invalid syntax
|