Quantcast
Channel: sevenzipsharp Issue Tracker Rss Feed
Viewing all 195 articles
Browse latest View live

Created Unassigned: File Corrupted [13631]

$
0
0
Hi,

I have this exception on extrat file

Invalid archive: open/read error! Is it encrypted and a wrong password was provided? If your archive is an exotic one, it is possible that SevenZipSharp has no signature for its format and thus decided it is TAR by mistake.

If I try extrat file in 7zip Gui I Have "can´t open file"


It´s possible validate file after compress? How?


I send corrupeted file in attach

Created Unassigned: Failed to zip Bif files (300Mb) [13635]

$
0
0
I

I think is better don't attach...

COde:
try
{
SevenZipCompressor.SetLibraryPath(Application.StartupPath + "/Dlls/7za.dll");

SevenZip.SevenZipCompressor szc = new SevenZip.SevenZipCompressor();

//if (File.Exists(outFile))
// szc.CompressionMode = SevenZip.CompressionMode.Append;
//else
//szc.CompressionMode = SevenZip.CompressionMode.Create;

FileStream archive1 = new FileStream(inFile, FileMode.Open);

string file = archive1.Name.Remove(0, archive1.Name.LastIndexOf('\\') + 1);

FileStream archive2 = new FileStream(outFile, FileMode.Create);

try
{
szc.DirectoryStructure = true;
szc.EncryptHeaders = true;
szc.DefaultItemName = file;
szc.CompressionLevel = CompressionLevel.Ultra;
//if the full path given the folders are also created

if (string.IsNullOrEmpty(password)) { szc.CompressStream(archive1, archive2); }
else { szc.CompressStream(archive1, archive2, password); }
}
catch (Exception)
{
throw;
// Logging.Logflatfile_Ex(e)
}

archive1.Close();
archive2.Close();
}
catch (Exception ex)
{
throw ex;
}

Created Unassigned: exception during archiving [13642]

$
0
0
The execution has failed due to the bug in the SevenZipSharp.
Please report about it to http://sevenzipsharp.codeplex.com/WorkItem/List.aspx, post the release number and attach the archive.

Created Unassigned: Lzma ZIP compression exception [13645]

$
0
0
Following exception occurs when OutArchiveFormat is Zip or SevenZip and CompressionMethod.Lzma or Lzma2

Tested in your WPF example.
I need Lzma as it looks like it is the only one provides progress.
```
An unhandled exception of type 'System.Reflection.TargetInvocationException' occurred in mscorlib.dll
```

```
SevenZipSharp.dll!SevenZip.SevenZipBase.AsyncCallbackMethod(System.IAsyncResult ar) Line 80 + 0x71 bytes C#
mscorlib.dll!System.Runtime.Remoting.Messaging.AsyncResult.SyncProcessMessage(System.Runtime.Remoting.Messaging.IMessage msg) + 0x122 bytes
mscorlib.dll!System.Runtime.Remoting.Messaging.StackBuilderSink.AsyncProcessMessage(System.Runtime.Remoting.Messaging.IMessage msg, System.Runtime.Remoting.Messaging.IMessageSink replySink) + 0x300 bytes
mscorlib.dll!System.Runtime.Remoting.Proxies.AgileAsyncWorkerItem.ThreadPoolCallBack(object o) + 0x51 bytes
mscorlib.dll!System.Threading.QueueUserWorkItemCallback.WaitCallback_Context(object state) + 0x3e bytes
mscorlib.dll!System.Threading.ExecutionContext.RunInternal(System.Threading.ExecutionContext executionContext, System.Threading.ContextCallback callback, object state, bool preserveSyncCtx) + 0xa7 bytes
mscorlib.dll!System.Threading.ExecutionContext.Run(System.Threading.ExecutionContext executionContext, System.Threading.ContextCallback callback, object state, bool preserveSyncCtx) + 0x16 bytes
mscorlib.dll!System.Threading.QueueUserWorkItemCallback.System.Threading.IThreadPoolWorkItem.ExecuteWorkItem() + 0x60 bytes
mscorlib.dll!System.Threading.ThreadPoolWorkQueue.Dispatch() + 0x149 bytes
mscorlib.dll!System.Threading._ThreadPoolWaitCallback.PerformWaitCallback() + 0x5 bytes
[Native to Managed Transition]

```

Created Unassigned: Type initialization exception in SevenZip.SevenZip.SevenZipLibraryManager [13693]

$
0
0
Hello!

I found a bug which disallow application developer to embed SevenZip library into his application executable.
After some research in the source code and tests, the source of the problem is ___libraryFileName__ variable.
And exactly, the problems is in __Assembly.GetExecutingAssembly().GetName().CodeBase__ and __Assembly.GetExecutingAssembly().Location__ methods. When application developer embed SevenZip library into his application executable, library still try to get his location, but it's null.

I hope you fix this problem very soon.

Regards,
Soukyan

Commented Unassigned: exception during archiving [13642]

$
0
0
The execution has failed due to the bug in the SevenZipSharp.
Please report about it to http://sevenzipsharp.codeplex.com/WorkItem/List.aspx, post the release number and attach the archive.
Comments: ** Comment from web user: TarunJindal **

Hi,

Even I am getting the same error. My test code is below :

```

`Console.WriteLine("ModelMaps CreateTestModelMaps()");

using (var input = new MemoryStream(Encoding.UTF8.GetBytes(@"ModelMaps.xml")))
using (var output = new MemoryStream())
{
var compressor = new SevenZipCompressor
{
ArchiveFormat = OutArchiveFormat.BZip2,
CompressionMethod = CompressionMethod.Default,
CompressionLevel = CompressionLevel.Normal
};
compressor.CompressStream(input, output);

var temp = output.ToArray();
}``

Commented Unassigned: exception during archiving [13642]

$
0
0
The execution has failed due to the bug in the SevenZipSharp.
Please report about it to http://sevenzipsharp.codeplex.com/WorkItem/List.aspx, post the release number and attach the archive.
Comments: ** Comment from web user: TarunJindal **

Its same as "Item number: 13635"

Commented Unassigned: Failed to zip Big files (300Mb) [13635]

$
0
0
Hello

I think is better don't attach...

COde:
try
{
SevenZipCompressor.SetLibraryPath(Application.StartupPath + "/Dlls/7za.dll");

SevenZip.SevenZipCompressor szc = new SevenZip.SevenZipCompressor();

//if (File.Exists(outFile))
// szc.CompressionMode = SevenZip.CompressionMode.Append;
//else
//szc.CompressionMode = SevenZip.CompressionMode.Create;

FileStream archive1 = new FileStream(inFile, FileMode.Open);

string file = archive1.Name.Remove(0, archive1.Name.LastIndexOf('\\') + 1);

FileStream archive2 = new FileStream(outFile, FileMode.Create);

try
{
szc.DirectoryStructure = true;
szc.EncryptHeaders = true;
szc.DefaultItemName = file;
szc.CompressionLevel = CompressionLevel.Ultra;
//if the full path given the folders are also created

if (string.IsNullOrEmpty(password)) { szc.CompressStream(archive1, archive2); }
else { szc.CompressStream(archive1, archive2, password); }
}
catch (Exception)
{
throw;
// Logging.Logflatfile_Ex(e)
}

archive1.Close();
archive2.Close();
}
catch (Exception ex)
{
throw ex;
}

Error: generic of dll:
The execution has failed due to the bug in the SevenZipSharp.
Please report about it to http://sevenzipsharp.codeplex.com/WorkItem/List.aspx, post the release number and attach the archive.
Comments: ** Comment from web user: TarunJindal **

Its same as "Item number: 13642"


Commented Unassigned: exception during archiving [13642]

$
0
0
The execution has failed due to the bug in the SevenZipSharp.
Please report about it to http://sevenzipsharp.codeplex.com/WorkItem/List.aspx, post the release number and attach the archive.
Comments: ** Comment from web user: MorganPeat **

This appears to have been caused by a change to ArchiveUpdateCallback.IntEventArgsHandler in commit 84075.

The line
```
lock (_files)
```
...may throw a null reference exception (returned as 0x80004003)

Reverting this line back to the previous commit
```
lock (this)
```
.. appears to fix the problem. I am unsure of the wider effect this may have, however...

Created Unassigned: Error installing mod? [13822]

$
0
0
'The execution has failed due to a bug in SevenZipSharp'

One. I don't have SevenZipSharp.. So there cant be a bug, I've used the modding program in the past and not had problems

Two. I don't understand code, so explain in simple terms if you can :)

Created Unassigned: VolumeSize Limit Is Too Low [13830]

$
0
0
__SevenZipCompressor.VolumeSize__ determines the maximum size in bytes of an archive volume. Since this is an __int__ value, the upper limit is 2 GB and does not allow for DVD sizes.

This value should be of type __long__.

Created Unassigned: Handling events [13836]

$
0
0
The events do work. I can see status. However, The events can all fire and the compression is still happening. The events need to be synced a bit better to show the correct status. Maybe add another event for the copy from temp to the ending file.

Created Unassigned: OutOfMemeory exception [13867]

$
0
0
Hi

I am using the SevenZipCompressor to compress a directory to zip file. The directory is huge around 1.5GB. When trying to compress this directory I occasionally get OutOfMemory

I use the following code to create the zip file

SevenZip.SevenZipCompressor.SetLibraryPath( dllPath );

// Create an instance of SevenZipCompressor
SevenZip.SevenZipCompressor compressor = new SevenZip.SevenZipCompressor();
compressor.ArchiveFormat = SevenZip.OutArchiveFormat.Zip;
compressor.CompressionLevel = SevenZip.CompressionLevel.Fast;
compressor.CompressionMethod = SevenZip.CompressionMethod.Default;
compressor.VolumeSize = 0;

compressor.CompressDirectory( sourceDirectory, zipFileName );

How can avoid this OutOfMemory exception
Is there any way I can specify the buffer size that is used internally by the compressor

Commented Unassigned: Error installing mod? [13822]

$
0
0
'The execution has failed due to a bug in SevenZipSharp'

One. I don't have SevenZipSharp.. So there cant be a bug, I've used the modding program in the past and not had problems

Two. I don't understand code, so explain in simple terms if you can :)
Comments: ** Comment from web user: jacelarsen **

I'm having the same problem. Sometimes it comes up with the error other times it works. Doesn't seem to be any difference between when it works and doesn't.

Commented Unassigned: Error installing mod? [13822]

$
0
0
'The execution has failed due to a bug in SevenZipSharp'

One. I don't have SevenZipSharp.. So there cant be a bug, I've used the modding program in the past and not had problems

Two. I don't understand code, so explain in simple terms if you can :)
Comments: ** Comment from web user: Sparhawk **

I had this problem installing a large mod, i seem to have fixed it by clearing space on my C: drive (which was EXTREMELY full) even though everything associated with the mod and game are located on my D: drive, maybe try clearing some space on all your available hard drives.


Created Unassigned: Expand-Archive : The execution has failed due to the bug in the SevenZipSharp. [13904]

$
0
0
We use Expand-Archive to extract files from a zip archive. It used to work before, but right after a Windows update, it started throwing the issue below:

```
Expand-Archive : The execution has failed due to the bug in the SevenZipSharp.
Please report about it to http://sevenzipsharp.codeplex.com/WorkItem/List.aspx, post the release number and attach the archive.
At D:\myscript.ps1:93 char:15
+ Expand-Archive <<<< -Path $Path -OutputPath $dir -ShowProgress
+ CategoryInfo : NotSpecified: (:) [Expand-Archive], SevenZipException
+ FullyQualifiedErrorId : SevenZip.SevenZipException,Pscx.Commands.IO.Compression.ExpandArchiveCommand

```

Help appreciated.

Created Unassigned: SevenZipExtractor causes UnauthorizedAccessException for archives on CDs/DVDs [13908]

$
0
0
I'm trying to extract a .7z.001 file stored on a CD.

If I initialize the SevenZipExtractor with the string-parameter (file path) constructor, I get UnauthorizedAccessException when accessing its properties.

If I instead use the Stream-parameter constructor (with File.OpenRead) everything works fine.

Created Unassigned: DrWeb AV detect trojan in 7zxSD_LZMA2.sfx [13912]

Created Unassigned: NMM 0.5.61 failed install mod from 7z file because bug SevenZipSharp [13918]

$
0
0
(Skyrim, Mod "beyond reach", ultra compressed as .7z, installation failed, the 7z package is 741 MB big, expanded it is 1.9 GB, checked by 7z it's OK)

error message of NMM:
BeyondReach3.2_mit_deutsch_esp_3.3 // A problem occurred during install:
The execution has failed due to the bug in the SevenZipSharp.
Please report about it to http://sevenzipsharp...kItem/List.aspx, post the release number and attach the archive.
The mod was not installed. // Install //

7z version is 16.02 of 2016-05-21 (64 bit)

Commented Unassigned: NMM 0.5.61 failed install mod from 7z file because bug SevenZipSharp [13918]

$
0
0
(Skyrim, Mod "beyond reach", ultra compressed as .7z, installation failed, the 7z package is 741 MB big, expanded it is 1.9 GB, checked by 7z it's OK)

error message of NMM:
BeyondReach3.2_mit_deutsch_esp_3.3 // A problem occurred during install:
The execution has failed due to the bug in the SevenZipSharp.
Please report about it to http://sevenzipsharp...kItem/List.aspx, post the release number and attach the archive.
The mod was not installed. // Install //

7z version is 16.02 of 2016-05-21 (64 bit)
Comments: ** Comment from web user: KageRedux **

I am also having a similar issue with NMM 0.61.23 for a different mod for Skyrim. Could this be caused by the same bug?

Also, how do I upload the archive? I'm completely new to all of this. I just recently learned how to run the command prompt on my pc. (Yes, I am a young person, no I am not super tech savy.

Viewing all 195 articles
Browse latest View live


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>