Sign in to follow this  
MicrowaveHacker

Paint.net not letting me use copy and paste

Recommended Posts

When I use copy and paste it crashes

the crash log says:

Application version: paint.net 4.2.1

System.Runtime.Serialization.SerializationException: Exception thrown by worker thread ---> System.AggregateException: One or more errors occurred. ---> System.IO.Compression.ZLibException: The underlying compression routine could not be loaded correctly. ---> System.TypeInitializationException: The type initializer for 'NativeZLibDLLStub' threw an exception. ---> System.DllNotFoundException: clrcompression.dll
   at System.IO.Compression.ZLibNative.ZLibStreamHandle.NativeZLibDLLStub.LoadZLibDLL()
   at System.IO.Compression.ZLibNative.ZLibStreamHandle.NativeZLibDLLStub..cctor()
   --- End of inner exception stack trace ---
   at System.IO.Compression.ZLibNative.ZLibStreamHandle.DeflateInit2_(CompressionLevel level, Int32 windowBits, Int32 memLevel, CompressionStrategy strategy)
   at System.IO.Compression.DeflaterZLib.DeflateInit(CompressionLevel compressionLevel, Int32 windowBits, Int32 memLevel, CompressionStrategy strategy)
   --- End of inner exception stack trace ---
   at System.IO.Compression.DeflaterZLib.DeflateInit(CompressionLevel compressionLevel, Int32 windowBits, Int32 memLevel, CompressionStrategy strategy)
   at System.IO.Compression.DeflaterZLib..ctor(CompressionLevel compressionLevel)
   at System.IO.Compression.DeflateStream.CreateDeflater(Nullable`1 compressionLevel)
   at System.IO.Compression.DeflateStream..ctor(Stream stream, CompressionMode mode, Boolean leaveOpen)
   at System.IO.Compression.GZipStream..ctor(Stream stream, CompressionMode mode, Boolean leaveOpen)
   at PaintDotNet.Serialization.GZipBlockAccelerator.GetGZipBytes(Byte* pbData, Int64 length) in D:\src\pdn\src\Core\Serialization\GZipBlockAccelerator.cs:line 31
   at PaintDotNet.Serialization.GZipBlockAccelerator.WriteGZipBytesCore(Stream output, Byte* pbData, Int64 length) in D:\src\pdn\src\Core\Serialization\GZipBlockAccelerator.cs:line 87
   at PaintDotNet.MemoryBlock.SerializeChunk(CancellationToken cancelToken, UInt32 chunkNumber, Int64 chunkOffset, UInt32 chunkSize, DeferredFormatter formatter) in D:\src\pdn\src\Core\MemoryBlock.cs:line 892
   at PaintDotNet.MemoryBlock.<>c__DisplayClass51_1.<PaintDotNet.Serialization.IDeferredSerializable.FinishSerialization>b__0() in D:\src\pdn\src\Core\MemoryBlock.cs:line 834
   at System.Threading.Tasks.Task`1.InnerInvoke()
   at System.Threading.Tasks.Task.Execute()
   --- End of inner exception stack trace ---
   at System.Threading.Tasks.Task.ThrowIfExceptional(Boolean includeTaskCanceledExceptions)
   at System.Threading.Tasks.Task.Wait(Int32 millisecondsTimeout, CancellationToken cancellationToken)
   at PaintDotNet.MemoryBlock.PaintDotNet.Serialization.IDeferredSerializable.FinishSerialization(Stream output, DeferredFormatter formatter) in D:\src\pdn\src\Core\MemoryBlock.cs:line 842
   --- End of inner exception stack trace ---
   at PaintDotNet.MemoryBlock.PaintDotNet.Serialization.IDeferredSerializable.FinishSerialization(Stream output, DeferredFormatter formatter) in D:\src\pdn\src\Core\MemoryBlock.cs:line 848
   at PaintDotNet.Serialization.DeferredFormatter.FinishSerialization(Stream output) in D:\src\pdn\src\Core\Serialization\DeferredFormatter.cs:line 122
   at PaintDotNet.Document.SaveToStream(Stream output, IOEventHandler callback) in D:\src\pdn\src\Data\Document.cs:line 1532
   at PaintDotNet.FileType.Save(Document input, Stream output, SaveConfigToken token, Surface scratchSurface, ProgressEventHandler callback, Boolean rememberToken) in D:\src\pdn\src\Data\FileType.cs:line 276
   at PaintDotNet.Controls.DocumentWorkspace.<>c__DisplayClass247_2.<DoSave>b__3() in D:\src\pdn\src\PaintDotNet\Controls\DocumentWorkspace.cs:line 2809
   at PaintDotNet.Functional.Func.Try(Action f) in D:\src\pdn\src\Base\Functional\Func.cs:line 174

Share this post


Link to post
Share on other sites
7 minutes ago, MicrowaveHacker said:

I tried to do this but it just says .NET Framework 4.8 or a later update is already installed on this computer. 

 

You must have Win 10 v1903. In this case, you'll need to run the System File Checker:

https://support.microsoft.com/en-us/help/4026529/windows-10-using-system-file-checker

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Sign in to follow this