We're sorry Aspose doesn't work properply without JavaScript enabled.

Free Support Forum - aspose.com

Bug in image handling in words.net running on linux with mono

Hi folks, there appears to be a bug in apose.words 13.12. Basically when you try to convert a word file with images to html on linux with mono you get the error message below.

13.7 and previous builds worked ok, the problem is just with the latest build.

System.TypeInitializationException: An exception was thrown by the type initializer for x6c95d9cf46ff5f25.x755940550ade8e52 ---> System.NotSupportedException: CodePage 932 not supported
at System.Text.Encoding.GetEncoding (Int32 codepage) [0x00000] in :0
at x6c95d9cf46ff5f25.x755940550ade8e52..cctor () [0x00000] in :0
--- End of inner exception stack trace ---
at xf989f31a236ff98c.x53dc82a419732f24.xdef7f68a22ec051d (System.IO.Stream xcf18e5243f8d5fd3) [0x00000] in :0
at Aspose.Words.Document.x5d4db34d48fb3129 (System.IO.Stream xcf18e5243f8d5fd3, Aspose.Words.LoadOptions x27aceb70372bde46) [0x00000] in :0
/home/kris/test.DOC
Error : System.TypeInitializationException: An exception was thrown by the type initializer for x6c95d9cf46ff5f25.x755940550ade8e52 ---> System.NotSupportedException: CodePage 932 not supported
at System.Text.Encoding.GetEncoding (Int32 codepage) [0x00000] in :0
at x6c95d9cf46ff5f25.x755940550ade8e52..cctor () [0x00000] in :0
--- End of inner exception stack trace ---
at xf989f31a236ff98c.x53dc82a419732f24.xdef7f68a22ec051d (System.IO.Stream xcf18e5243f8d5fd3) [0x00000] in :0
at Aspose.Words.Document.x5d4db34d48fb3129 (System.IO.Stream xcf18e5243f8d5fd3, Aspose.Words.LoadOptions x27aceb70372bde46) [0x00000] in :0

Hi Brian,


Thanks for your inquiry. After an initial test with Aspose.Words 13.12.0, I was unable to reproduce this issue on my side. Please find attached a DOCX file which I used on my end for testing this scenario. Could you please attach your sample Word document (you’re getting this problem with) here for testing? We will investigate the issue further on our end and provide you more information.

Best regards,

Sure, try these files. Could it be something to do with the image file types? Eg png files?

Hi Brian,

Thanks for your inquiry. I tested the scenario and have managed to reproduce the same problem on my side. An exception occurred on my side during exporting these document to Html format (please see attached error message). For the sake of correction, I have logged this problem in our issue tracking system as WORDSNET-9598. Our development team will further look into the details of this problem and we will keep you updated on the status of correction. We apologize for your inconvenience.

Best regards,

Hi guys is there any news on this issue?


Thanks

Brian

Hi Brian,


Thanks for your inquiry. Unfortunately, your issue is not resolved yet. This issue is pending for analysis and is in the queue. We will inform you via this thread as soon as this issue is resolved. We apologize for your inconvenience.

Best regards,

Hi Brian,


Thanks for being patient. It appears that on your machine Aspose.Words fails to start at all because it cannot find the ‘WINDOWS-31J’ character map (also known as code page 932) and throws an exception. In Mono, only most common encodings are installed by default. Rarely used encodings are distributed in a separate package called ‘mono-locale-extras.rpm’. These include, for example, far-eastern and older Cyrillic encodings. Until we fix the error, you can work around this problem by installing ‘mono-locale-extras.rpm’ on your machine. I hope, this helps.

Best regards,

The issues you have found earlier (filed as WORDSNET-9598) have been fixed in this .NET update and this Java update.


This message was posted using Notification2Forum from Downloads module by aspose.notifier.

The issues you have found earlier (filed as WORDSNET-9674) have been fixed in this .NET update and this Java update.


This message was posted using Notification2Forum from Downloads module by aspose.notifier.