mirror of
https://github.com/adamhathcock/sharpcompress.git
synced 2026-02-03 21:23:38 +00:00
ExtractionException Occurred #558
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @MikeP0911 on GitHub (Jan 18, 2023).
We updated the SharpCompression version 31 to 32.

After the update, we get an extraction Exception.
Is there any changes?
@adamhathcock commented on GitHub (Jan 18, 2023):
You tell me.
Exceptions and code are needed. Not a screenshot.
@MikeP0911 commented on GitHub (Jan 19, 2023):
SharpCompress.Common.ExtractionException: Directory does not exist to extract to: /var/mobile/Containers/Data/Application/34A0A246-983F-4A14-9742-12F33EB7295C/tmp/unzip/
at Xxx.iOS.ZipService.GetFullPath (Xxx.ArchiveFileInfo afi) [0x00129] in C:\TFS__SOURCE\License Kanri\xxxx\xxx\xxxx.iOS\xxx.cs:375
at Xxx.ListPage.ItemTapped (System.Object sender, Xamarin.Forms.ItemTappedEventArgs e) [0x001f6] in C:\TFS__SOURCE\License Kanri\Xxx\Xxx\Xxx\Views\ListPage.xaml.cs:547 Directory does not exist to extract to: /var/mobile/Containers/Data/Application/34A0A246-983F-4A14-9742-12F33EB7295C/tmp/unzip/ at Xxx.iOS.ZipService.GetFullPath (Xxx.ArchiveFileInfo afi) [0x00129] in C:\TFS__SOURCE\License Kanri\Xxx\Xxx\Xxx.iOS\ZipService.cs:375
at Xxx.ListPage.ItemTapped (System.Object sender, Xamarin.Forms.ItemTappedEventArgs e) [0x001f6] in C:\TFS__SOURCE\License Kanri\xxx
SharpCompress.Common.ExtractionException: Directory does not exist to extract to: /var/mobile/Containers/Data/Application/34A0A246-983F-4A14-9742-12F33EB7295C/tmp/unzip/
at SharpCompress.Common.ExtractionMethods.WriteEntryToDirectory (SharpCompress.Common.IEntry entry, System.String destinationDirectory, SharpCompress.Common.ExtractionOptions options, System.Action`2[T1,T2] write) [0x00047] in C:\TFS__SOURCE\License Kanri\Xxx\Xxx\SharpCompress\Common\ExtractionMethods.cs:27
at SharpCompress.Archives.IArchiveEntryExtensions.WriteToDirectory (SharpCompress.Archives.IArchiveEntry entry, System.String destinationDirectory, SharpCompress.Common.ExtractionOptions options) [0x00001] in C:\TFS__SOURCE\License Kanri\Xxx\Xxx\SharpCompress\Archives\IArchiveEntryExtensions.cs:41
at Xxx.iOS.ZipService.GetFullPath (Xxx.ArchiveFileInfo afi) [0x00076] in C:\TFS__SOURCE\License Kanri\Xxx\Xxx\Xxx.iOS\ZipService.cs:356 Directory does not exist
@MikeP0911 commented on GitHub (Jan 24, 2023):
From our application we haven`t made any changes. if we use the old version we do not get any errors.
But when the new version is used, we get errors.
Thank you
@adamhathcock commented on GitHub (Mar 1, 2023):
Does it make any directories? Been out of it for personal reasons.
@MikeP0911 commented on GitHub (Mar 3, 2023):
We have commented the if loop to avoid the error and we continue using it.
We are not aware why that loop is throwing error
On Wed, Mar 1, 2023 at 5:34 PM Adam Hathcock @.***>
wrote: