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 uploading a package using the /services/package/install/fileupload endpoint in a version compiled for Sitecore 8, i get the following exception:
Exception Details: System.IO.IOException: The process cannot access the file
'C:\projects\ci\cidevelopment\Website\temp\48ca187f-d7f5-4ad9-adce-02343dd46d53.update' because it is being used by another process.
Source Error:
Line 36: public void Dispose()
Line 37: {
Line 38: File.Delete(_tempPackageFile);
Line 39: }
Line 40: }
Source File: c:\projects\ci\Sitecore.Ship\Sitecore.Ship\src\Sitecore.Ship.Infrastructure\IO\TempPackager.cs Line: 38
It seems that the file is still in use by the Sitecore.Updater at this point.
Update: Apparently the error is related to me making a malformed HTTP Post. I tried posting my update package using curl, and there was no error.
The text was updated successfully, but these errors were encountered:
When uploading a package using the /services/package/install/fileupload endpoint in a version compiled for Sitecore 8, i get the following exception:
Exception Details: System.IO.IOException: The process cannot access the file
'C:\projects\ci\cidevelopment\Website\temp\48ca187f-d7f5-4ad9-adce-02343dd46d53.update' because it is being used by another process.
Source Error:
Line 36: public void Dispose()
Line 37: {
Line 38: File.Delete(_tempPackageFile);
Line 39: }
Line 40: }
Source File: c:\projects\ci\Sitecore.Ship\Sitecore.Ship\src\Sitecore.Ship.Infrastructure\IO\TempPackager.cs Line: 38
It seems that the file is still in use by the Sitecore.Updater at this point.
—
Reply to this email directly or view it on GitHub.
I'm going to treat this as a bug as the issue is the exception originating out of the Ship code failing to handle the File.Delete error case appropriately. I will push thin as a fix into the 0.4.0 release.
When uploading a package using the /services/package/install/fileupload endpoint in a version compiled for Sitecore 8, i get the following exception:
Exception Details: System.IO.IOException: The process cannot access the file
'C:\projects\ci\cidevelopment\Website\temp\48ca187f-d7f5-4ad9-adce-02343dd46d53.update' because it is being used by another process.
Source Error:
Line 36: public void Dispose()
Line 37: {
Line 38: File.Delete(_tempPackageFile);
Line 39: }
Line 40: }
Source File: c:\projects\ci\Sitecore.Ship\Sitecore.Ship\src\Sitecore.Ship.Infrastructure\IO\TempPackager.cs Line: 38
It seems that the file is still in use by the Sitecore.Updater at this point.
Update: Apparently the error is related to me making a malformed HTTP Post. I tried posting my update package using curl, and there was no error.
The text was updated successfully, but these errors were encountered: