Unknown image format:Invalid Parameter While Opening ODS File

I'm getting a System.ArgumentException while opening the attached ODS file.

System.ArgumentException was caught
Message=Unknown image format:Invalid parameter.
Source=Aspose.Cells
StackTrace:
em ხ.ᄑ.ڏ(Stream Ԡ)
em ხ.֑.ᄏ(Int32 ᄐ, Stream Ԡ)
em ხ.Ⴔ.ჷ(Shape ้, Stream ص)
em Aspose.Cells.Drawing.ShapeCollection.ڏ(Shape ้, Stream ص)
em Aspose.Cells.Drawing.ShapeCollection.AddPicture(Int32 upperLeftRow, Int32 upperLeftColumn, Stream stream, Int32 widthScale, Int32 heightScale)
em 䢸.䧧.䧫(Worksheet ׼, String 䧬, Int32 ض, Int32 ط, Hashtable 䧨)
em 䢸.䧧.㚅(Worksheet ׼, String Ⴝ, Int32 ض, Int32 ط, XmlTextReader ฐ)
em 䢸.䧔.⮞(Int32 䦼, Int32 䧙, Boolean 䧚)
em 䢸.䧔.⮜()
em 䢸.䧔.ं(XmlTextReader ฐ, 䦽 䦪)
em 䢸.䦢.䦨()
em 䢸.䦢.䦧()
em 䢸.䦢.䦦(ᛸ 㛚)
em 䢸.䢷.䢺(Boolean 䢻)
em 䢸.䢷.ं(ᛸ 㛚)
em 䢸.䢷.ं(Stream Ԡ)
em Aspose.Cells.Workbook.Open(Stream stream, FileFormatType type)
em Aspose.Cells.Workbook.Open(String fileName)

My code is:

Workbook xls = new Workbook();
                    xls.Open(pFileName);

Any ideas?

Hi,

Thanks for reporting this. We are able to reproduce this exception using the fix release of Aspose.Cells for .Net v5.3.2.8. Also, We have logged it in our Bug Tracking System under ID CELLSNET-27097.

We will look into it very soon and will keep you updated.

Any updates on this Bug? How can I track it status?

Hi,

I am afraid, this bug is still unresolved. Anyway, I have added a comment to fix this bug as soon as possible.

Thank you for your support.

Can you give me a data to resolve this bug?

Hi,

I have tested your bug with the latest version of Aspose.Cells for .NET and found, it has been fixed. Please download Aspose.Cells
for .NET v5.3.3.1
.

Below is my code.

C#


string fpath = @“F:\Downloads\MODELO±+Acordo+Intersetorial.ods”;

Workbook workbook = new Workbook(fpath);