eclipse-aaspe / package-explorer

AASX Package Explorer
Other
64 stars 19 forks source link

Can not open aasx file which make with basyx-python-sdk-main/basyx/aas/examples/tutorial_aasx.py #163

Open SpicyYeol opened 12 months ago

SpicyYeol commented 12 months ago

Describe the bug A clear and concise description of what the bug is.

To Reproduce Steps to reproduce the behavior:

  1. Excecute 'basyx-python-sdk-main/basyx/aas/examples/tutorial_aasx.py'
  2. Open MyAASXPacage.aasx file in AASX Package Explorer V3.0
  3. Expected behavior A clear and concise description of what you expected to happen.

Screenshots If applicable, add screenshots to help explain your problem. Error: while receiving file drop to window: PackageCentral: while performing load from C:\Users\knuser\Downloads\basyx-python-sdk-main\basyx-python-sdk-main\basyx\aas\examples\MyAASXPackage.aasx at \PackageCentral.cs:line 83 gave: One or more errors occurred. (While opening aasx C:\Users\knuser\AppData\Local\Temp\tmp96B3.aasx from source local file: C:\Users\knuser\Downloads\basyx-python-sdk-main\basyx-python-sdk-main\basyx\aas\examples\MyAASXPackage.aasx buffered to: C:\Users\knuser\AppData\Local\Temp\tmp96B3.aasx at \AdminShellPackageEnv.cs:line 456 gave: While reading the AASX C:\Users\knuser\AppData\Local\Temp\tmp96B3.aasx at \AdminShellPackageEnv.cs:line 393 gave: Unable to find AASX origin. Aborting!) PackageCentral: while performing load from C:\Users\knuser\Downloads\basyx-python-sdk-main\basyx-python-sdk-main\basyx\aas\examples\MyAASXPackage.aasx at \PackageCentral.cs:line 83 gave: One or more errors occurred. (While opening aasx C:\Users\knuser\AppData\Local\Temp\tmp96B3.aasx from source local file: C:\Users\knuser\Downloads\basyx-python-sdk-main\basyx-python-sdk-main\basyx\aas\examples\MyAASXPackage.aasx buffered to: C:\Users\knuser\AppData\Local\Temp\tmp96B3.aasx at \AdminShellPackageEnv.cs:line 456 gave: While reading the AASX C:\Users\knuser\AppData\Local\Temp\tmp96B3.aasx at \AdminShellPackageEnv.cs:line 393 gave: Unable to find AASX origin. Aborting!) InnerException: One or more errors occurred. (While opening aasx C:\Users\knuser\AppData\Local\Temp\tmp96B3.aasx from source local file: C:\Users\knuser\Downloads\basyx-python-sdk-main\basyx-python-sdk-main\basyx\aas\examples\MyAASXPackage.aasx buffered to: C:\Users\knuser\AppData\Local\Temp\tmp96B3.aasx at \AdminShellPackageEnv.cs:line 456 gave: While reading the AASX C:\Users\knuser\AppData\Local\Temp\tmp96B3.aasx at \AdminShellPackageEnv.cs:line 393 gave: Unable to find AASX origin. Aborting!) InnerException: While opening aasx C:\Users\knuser\AppData\Local\Temp\tmp96B3.aasx from source local file: C:\Users\knuser\Downloads\basyx-python-sdk-main\basyx-python-sdk-main\basyx\aas\examples\MyAASXPackage.aasx buffered to: C:\Users\knuser\AppData\Local\Temp\tmp96B3.aasx at \AdminShellPackageEnv.cs:line 456 gave: While reading the AASX C:\Users\knuser\AppData\Local\Temp\tmp96B3.aasx at \AdminShellPackageEnv.cs:line 393 gave: Unable to find AASX origin. Aborting! at at AasxPackageLogic.PackageCentral.PackageCentralItem.Load(PackageCentral packageCentral, String location, String fullItemLocation, Boolean overrideLoadResident, PackageContainerOptionsBase containerOptions, PackCntRuntimeOptions runtimeOptions) in D:\a\aasx-package-explorer\aasx-package-explorer\src\AasxPackageLogic\PackageCentral\PackageCentral.cs:line 102 at AasxPackageExplorer.MainWindow.UiLoadPackageWithNew(PackageCentralItem packItem, AdminShellPackageEnv takeOverEnv, String loadLocalFilename, String info, Boolean onlyAuxiliary, Boolean doNotNavigateAfterLoaded, PackageContainerBase takeOverContainer, String storeFnToLRU, Boolean indexItems) in D:\a\aasx-package-explorer\aasx-package-explorer\src\AasxPackageExplorer\MainWindow.xaml.cs:line 376 at AasxPackageExplorer.MainWindow.Window_Drop(Object sender, DragEventArgs e) in D:\a\aasx-package-explorer\aasx-package-explorer\src\AasxPackageExplorer\MainWindow.xaml.cs:line 3364.Inner message: One or more errors occurred. (While opening aasx C:\Users\knuser\AppData\Local\Temp\tmp96B3.aasx from source local file: C:\Users\knuser\Downloads\basyx-python-sdk-main\basyx-python-sdk-main\basyx\aas\examples\MyAASXPackage.aasx buffered to: C:\Users\knuser\AppData\Local\Temp\tmp96B3.aasx at \AdminShellPackageEnv.cs:line 456 gave: While reading the AASX C:\Users\knuser\AppData\Local\Temp\tmp96B3.aasx at \AdminShellPackageEnv.cs:line 393 gave: Unable to find AASX origin. Aborting!) Inner message: While opening aasx C:\Users\knuser\AppData\Local\Temp\tmp96B3.aasx from source local file: C:\Users\knuser\Downloads\basyx-python-sdk-main\basyx-python-sdk-main\basyx\aas\examples\MyAASXPackage.aasx buffered to: C:\Users\knuser\AppData\Local\Temp\tmp96B3.aasx at \AdminShellPackageEnv.cs:line 456 gave: While reading the AASX C:\Users\knuser\AppData\Local\Temp\tmp96B3.aasx at \AdminShellPackageEnv.cs:line 393 gave: Unable to find AASX origin. Aborting!

FrankSchnicke commented 11 months ago

Hi, this is most likely related to https://github.com/admin-shell-io/temp-aasx-package-explorer/issues/124