-
Notifications
You must be signed in to change notification settings - Fork 3
Open
Description
I've found an error while parsing a subset of the RINF data together with some of its shapes.
The error I've got is the following:
Traceback (most recent call last):
File "/home/user/GitHub/ERA-SHACL-Benchmark/engines/trav_shacl/validate.py", line 60, in <module>
trav_shacl_validate(args.data, args.shapes, args.report)
File "/home/user/GitHub/ERA-SHACL-Benchmark/engines/trav_shacl/validate.py", line 29, in trav_shacl_validate
shape_schema = ShapeSchema(
File "/home/user/.local/lib/python3.10/site-packages/TravSHACL/core/ShapeSchema.py", line 50, in __init__
self.shapes = ShapeParser().parse_ttl(
File "/home/user/.local/lib/python3.10/site-packages/TravSHACL/core/ShapeParser.py", line 176, in parse_ttl
constraints = self.parse_constraints_ttl(const_array, target_def, id_)
File "/home/user/.local/lib/python3.10/site-packages/TravSHACL/core/ShapeParser.py", line 461, in parse_constraints_ttl
constraints.extend(self.parse_constraint(var_generator, constraint, constraints_id + '_c' + str(i + 1), target_def, None))
TypeError: 'NoneType' object is not iterableYou can find attached below the data, script, and shapes used to reproduce the error.
shacl_parsing_bug.zip
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels