This repository has been archived by the owner on Apr 16, 2024. It is now read-only.
Saving the example aas-file not possible #698
Unanswered
nofrillsdev
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I wanted to save the example AASX file that is provided in the repo (Example_AAS_ServoDCMotor_21.aasx) in another folder and tinker with it.
But I am unable to save it unmodified in another location - in the log the following entries appear:
Loading new AASX from: C:\x\AasxPackageExplorer\content-for-demo\Example_AAS_ServoDCMotor_21.aasx as auxiliary False ..
AASX C:\x\AasxPackageExplorer\content-for-demo\Example_AAS_ServoDCMotor_21.aasx loaded.
Error: when saving AASX: PackageCentral: while saving local file: C:\x\demofile.aasx buffered to: C:\myuserfolder\AppData\Local\Temp\tmp8BF1.aasx with new filename C:\x\demofile.aasxat \PackageContainerLocalFile.cs:line 202 gave: While indirect-saving aasx to source local file: C:\x\demofile.aasx buffered to: C:\myuserfolder\AppData\Local\Temp\tmp8BF1.aasx at \AdminShellPackageEnv.cs:line 1157 gave: The process cannot access the file ' C:\myuserfolder\AppData\Local\Temp\tmp8BF1.aasx' because it is being used by another process. PackageCentral: while saving local file: C:\x\demofile.aasx buffered to: C:\myuserfolder\AppData\Local\Temp\tmp8BF1.aasx with new filename C:\x\demofile.aasxat \PackageContainerLocalFile.cs:line 202 gave: While indirect-saving aasx to source local file: C:\x\demofile.aasx buffered to: C:\myuserfolder\AppData\Local\Temp\tmp8BF1.aasx at \AdminShellPackageEnv.cs:line 1157 gave: The process cannot access the file ' C:\myuserfolder\AppData\Local\Temp\tmp8BF1.aasx' because it is being used by another process. at at AasxPackageLogic.PackageCentral.PackageCentralItem.SaveAsAsync(String saveAsNewFileName, SerializationFormat prefFmt, PackCntRuntimeOptions runtimeOptions, Boolean doNotRememberLocation) in D:\a\aasx-package-explorer\aasx-package-explorer\src\AasxPackageLogic\PackageCentral\PackageCentral.cs:line 174
at AasxPackageLogic.MainWindowAnyUiDialogs.CommandBinding_GeneralDispatchAnyUiDialogs(String cmd, AasxMenuItemBase menuItem, AasxMenuActionTicket ticket) in D:\a\aasx-package-explorer\aasx-package-explorer\src\AasxPackageLogic\MainWindowAnyUiDialogs.cs:line 294.
Stacktrace: at AasxPackageLogic.PackageCentral.PackageCentralItem.SaveAsAsync(String saveAsNewFileName, SerializationFormat prefFmt, PackCntRuntimeOptions runtimeOptions, Boolean doNotRememberLocation) in D:\a\aasx-package-explorer\aasx-package-explorer\src\AasxPackageLogic\PackageCentral\PackageCentral.cs:line 174
at AasxPackageLogic.MainWindowAnyUiDialogs.CommandBinding_GeneralDispatchAnyUiDialogs(String cmd, AasxMenuItemBase menuItem, AasxMenuActionTicket ticket) in D:\a\aasx-package-explorer\aasx-package-explorer\src\AasxPackageLogic\MainWindowAnyUiDialogs.cs:line 294
Any ideas what went wrong? I am using the latest version of the explorer (aasx-package-explorer.2024-02-27.alpha) under Win 10 Pro.
Beta Was this translation helpful? Give feedback.
All reactions