You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When opening an AASX file, some errors are reported and printed to console, but there's no exception thrown.
Example:
an AASX file made with Package Explorer suffering from Bug 681 results in the following output.
ValueError: {https://admin-shell.io/aas/3/0}reference on line 12 is of type <class 'basyx.aas.model.base.ExternalReference'>, expected <class 'basyx.aas.model.base.ModelReference'>!
-> Failed to construct {https://admin-shell.io/aas/3/0}reference on line 12 using _construct_submodel_reference!
Even if a ValueError is reported, I get an object_store and no exception is thrown.
Some other errors result in an exception, e.g. an AASX file made with Package Explorer suffering from Bug 666 throws a ValueError which I can catch.
When opening an AASX file, some errors are reported and printed to console, but there's no exception thrown.
Example:
an AASX file made with Package Explorer suffering from Bug 681 results in the following output.
Even if a
ValueError
is reported, I get an object_store and no exception is thrown.Some other errors result in an exception, e.g. an AASX file made with Package Explorer suffering from Bug 666 throws a
ValueError
which I can catch.My code is the same in both cases:
How can I find out that there were errors during import?
The text was updated successfully, but these errors were encountered: