eclipse-aaspe / package-explorer

AASX Package Explorer
Other
41 stars 12 forks source link

[BUG] IEC CDD Import - open EULA raises an exception. #208

Open JS-Aibel opened 1 month ago

JS-Aibel commented 1 month ago

Describe the bug An exception is raised when selecting Yes to open the EULA in the IEC CDD Import warning message. Aasx Package Explorer v3 Version v2024-05-08

To Reproduce 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”.
  6. Select the checkbox Import all attributes from the IEC CDD.
  7. Click yes in the IEC CDD Import warning message, an error occurs.

Error Error: Unhandled exception in AasxPackageExplorer v1.0.0.0: Could not find a part of the path 'C:\[…]\Temp\aasx.import\cache.index.xml'. at Microsoft.Win32.SafeHandles.SafeFileHandle.CreateFile(String fullPath, FileMode mode, FileAccess access, FileShare share, FileOptions options)…