Jump to content

Why does this error keep appearing when I try to open some files from the same folder?

Recommended Posts

This error (which is in Portuguese but I can roughly translate to English as "An unspecified error has happened opening the file") keeps appearing when I try to open a few files from the same folder.

I've been editing a Minecraft resource pack and all of the files opened without any problem, but after closing a file I've edited and trying to open it again, this error kept appearing. Then I tried other files I've edited in the same folder and none of them opened. I tried opening unedited files from the same folder and all of them opened without any problem. Then, I started opening other files I had in other folders from my PC and all of them also opened. It seems like ONLY the edited files from that folder can't open. What exactly is the problem and how can I solve it?




Application version: paint.net v4.2

PaintDotNet.Imaging.ComponentNotFoundException (0x88982F50): D:\src\pdn\src\SystemLayer.Native\Imaging\WICImagingFactory.cpp (903) : hr = m_pImagingFactory->CreateDecoderFromStream( spStream, preferredVendor.HasValue ? &NativeConversions::ToNative(preferredVendor.Value.Guid) : 0, static_cast<WICDecodeOptions>(metadataOptions), &spDecoder);
   em PaintDotNet.Interop.InteropErrorInfo.ThrowIfError() em D:\src\pdn\src\Base\Interop\InteropErrorInfo.cs:line 98
   em PaintDotNet.SystemLayer.Native.x64.NativeUtilities.ThrowOnErrorImpl(Int32 hr, SByte* szHr, IUnknown* pFxErrorInfo)
   em PaintDotNet.SystemLayer.Native.x64.Imaging.WICImagingFactory.CreateDecoderFromStream(Stream stream, BitmapDecodeOptions metadataOptions, Nullable`1 containerFormat, Nullable`1 preferredVendor)
   em PaintDotNet.Data.WicFileTypeHelpers.Load(Stream input, Nullable`1 forcedContainerFormat, Nullable`1 preferredVendor, MetadataTranscoder metadataTranscoder) em D:\src\pdn\src\PaintDotNet\Data\WicFileTypeHelpers.cs:line 61
   em PaintDotNet.Data.PngFileType.OnLoad(Stream input) em D:\src\pdn\src\PaintDotNet\Data\PngFileType.cs:line 137
   em PaintDotNet.FileType.Load(Stream input) em D:\src\pdn\src\Data\FileType.cs:line 482
   em PaintDotNet.Functional.Func.Eval[T1,TRet](Func`2 f, T1 arg1) em D:\src\pdn\src\Base\Functional\Func.cs:line 158

Link to comment
Share on other sites

So long as the files are not objectionable - would it be possible to upload an original file and a saved version of the same thing?

Link to comment
Share on other sites

This topic is now closed to further replies.
  • Create New...