ExtractionException Occurred #558

Closed
opened 2026-01-29 22:13:42 +00:00 by claunia · 5 comments
Owner

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?
DirectoryDoesNotExist

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? ![DirectoryDoesNotExist](https://user-images.githubusercontent.com/117801555/213107731-5659e896-02da-4269-9eeb-b515bc71dadd.PNG)
claunia added the bugquestionup for grabs labels 2026-01-29 22:13:42 +00:00
Author
Owner

@adamhathcock commented on GitHub (Jan 18, 2023):

You tell me.

Exceptions and code are needed. Not a screenshot.

@adamhathcock commented on GitHub (Jan 18, 2023): You tell me. Exceptions and code are needed. Not a screenshot.
Author
Owner

@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 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
Author
Owner

@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

@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
Author
Owner

@adamhathcock commented on GitHub (Mar 1, 2023):

Does it make any directories? Been out of it for personal reasons.

@adamhathcock commented on GitHub (Mar 1, 2023): Does it make any directories? Been out of it for personal reasons.
Author
Owner

@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:

Does it make any directories? Been out of it for personal reasons.


Reply to this email directly, view it on GitHub
https://github.com/adamhathcock/sharpcompress/issues/720#issuecomment-1449562896,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/A4CYEUYSUJVBXQJKBHTZAX3WZ4CZVANCNFSM6AAAAAAT6XIMPI
.
You are receiving this because you authored the thread.Message ID:
@.***>

@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: > Does it make any directories? Been out of it for personal reasons. > > — > Reply to this email directly, view it on GitHub > <https://github.com/adamhathcock/sharpcompress/issues/720#issuecomment-1449562896>, > or unsubscribe > <https://github.com/notifications/unsubscribe-auth/A4CYEUYSUJVBXQJKBHTZAX3WZ4CZVANCNFSM6AAAAAAT6XIMPI> > . > You are receiving this because you authored the thread.Message ID: > ***@***.***> >
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/sharpcompress#558