I try to run the python example as supplied on your website (Python|Aspose.Words for Java), but when I try to run the example I get the following error:
TypeError: duplicate base class com.aspose.words.ë6$$Static
This exception is thrown when the class DocumentBuilder is being loaded. Other classes like Document are successfully loaded.
I use Ubuntu 13.10 and tried several version of Java (1.6, 1.7, 1.8), Python (2.6, 2.7) and JPype but all result in the same exception.
Hi Wouter,
We are investigating this issue and will update you soon.
Best Regards,
For my current project I’m also trying to use the Aspose.Word library in combination with JPype.
As soon as the DocumentBuilder class is mapped using DocumentBuilder = jpype.JClass(“com.aspose.words.DocumentBuilder”) a TypeError is raised (TypeError: duplicate base class com.aspose.words.ë5$$Static)
Hi Bram,
This is working on Windows. We will try at Ubuntu and let you know. It will take one more day. Sorry for the inconvenience.
Best Regards,
Hi Muhammed,
Hi Bram,
I have set up the same environment and testing this scenario. I will update you about my findings shortly.
Sorry for the delay.
Best Regards,
Hi Bram,
I was able to reproduce this issue on the same environment. We are working on this issue and share a workaround soon. Sorry for the inconvenience.
Best Regards,
Hi Bram,
Sorry for the delay. Some more testing is required. We will share more details with you tomorrow.
Best Regards,
[quote user=“muhammad.ijaz”]
Hi Bram,
Sorry for the delay. Some more testing is required. We will share more details with you tomorrow.
Best Regards,
[/quote]Hi Bram,
Sorry for the delay. I was not able to reproduce this issue with the latest version. Can you please try the latest version and let us know if you still see this issue?
Best Regards,