Skip to content

Error occurs when importing Submodels/SubModelElements exported from iec-cdd. #12

@JS-Aibel

Description

@JS-Aibel

Describe the bug
Not able to import Submodels/SubModelElements exported from iec-cdd.
Aasx Package Explorer v3 Version v2023-11-17

To Reproduce
By following this screencast Import_IEC_CDD_Class_Export

Steps to reproduce the behavior:

  1. Download iec-cdd excel-files
  2. Place them in a folder AasxPackageExplorer\iec-cdd\export 2024-01-01
  3. Select an AAS in Package Explorer
  4. Import Submodel from Dictionary
  5. Select the iec-cdd “Source” in the “Dictionary Import” menu, an error occurs.
  6. See error

Same error messages occurs when importing as SubModelElements.

Error

Error: Unhandled exception in AasxPackageExplorer v1.0.0.0: No data is available for encoding 1252.
For information on defining a custom encoding, see the documentation for the Encoding.RegisterProvider method. No data is available for encoding 1252. For information on defining a custom encoding, see the documentation for the Encoding.RegisterProvider method. at at System.Text.Encoding.GetEncoding(Int32 codepage) at ExcelDataReader.ExcelReaderConfiguration..ctor() at ExcelDataReader.ExcelReaderFactory.CreateReader(Stream fileStream, ExcelReaderConfiguration configuration)...

Metadata

Metadata

Assignees

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