Skip to content

[Bug]: Error opening IDTA submodel sample for technical data #51

Description

@mhmmi

Contact Details

hoppen@mmi.rwth-aachen.de

What happened?

I tried to open this submodel sample https://github.com/admin-shell-io/submodel-templates/blob/main/published/Technical_Data/2/0/IDTA%2002003_Template_TechnicalData.json with AAS Manager 0.4.9 and it gives me an error (see log output).

Relevant log output

Traceback (most recent call last):
  File "widgets\treeview_pack.py", line 543, in openPack
  File "package.py", line 35, in __init__
  File "package.py", line 75, in _read
  File "basyx\aas\adapter\json\json_deserialization.py", line 859, in read_aas_json_file_into
  File "json\__init__.py", line 293, in load
  File "json\__init__.py", line 359, in loads
  File "json\decoder.py", line 338, in decode
  File "json\decoder.py", line 354, in raw_decode
  File "basyx\aas\adapter\json\json_deserialization.py", line 221, in object_hook
  File "basyx\aas\adapter\json\json_deserialization.py", line 464, in _construct_asset_administration_shell
  File "basyx\aas\adapter\json\json_deserialization.py", line 455, in _construct_asset_information
  File "basyx\aas\model\_string_constraints.py", line 137, in _setter
  File "basyx\aas\model\_string_constraints.py", line 71, in check_identifier
  File "basyx\aas\model\_string_constraints.py", line 50, in check
ValueError: Identifier has a minimum length of 1! (length: 0)

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions