Hello,
I have a license for “Aspose.Total For Java” for version 24.6
Here are the details of my license:
LicenseType - "Developer OEM"
LicenseNote - "1 Developer And Unlimited Deployment Locations"
OEM - "This is a redistributable license"
EditionType - "Professional"
LicenseVersion - "3.0"
I am now using the aspose-cells python package (version 24.6.0) to develop a utility.
When I try to register my existing license with aspose-cells python package, I am get the following error:
com.aspose.cells.com.aspose.cells.CellsException: com.aspose.cells.CellsException: The license is not valid for this product.
But when I edit my license file by changing the “Product” from “Aspose.Total for Java” to “Aspose.Cells for Python via Java” (which by the way is the product name for python APIs for Java Aspose.Cells), I am able to register the license successfully and I am also able to fetch the images from Excel file and store it without any watermark, which would mean the license is accepted.
product_name_before.png (5.5 KB)
product_name_after.png (6.3 KB)
The aspose-cells python library is just an API wrapper which ultimately calls the java functions from the aspose-cells.jar files of the specific version which we install, which in my case is the 24.6 version for which I already have the license under the “Aspose.Total for Java” product.
aspose-cells-python_leveraging_aspose-cells-24.6.jar_file.png (22.2 KB)
So is it alright if I continue to use this updated license file for my python utility?
@AnonymousABC
It’s great to hear that you’ve successfully registered your license for the Aspose.Cells Python package by modifying the product name in the license file. However, altering the license file can lead to potential issues, as it may not be officially supported by Aspose.
Cause: Modifying the license file can create compliance risks and may not align with Aspose’s licensing terms.
Solution: To ensure compliance, I recommend reaching out to Aspose’s support team directly. They can confirm whether using the modified license file is permissible and provide accurate guidance regarding your specific licensing situation.
Next Steps: Please contact Aspose’s support team for clarification on your license. Additionally, if you encounter any further issues or have questions about using Aspose.Cells in your Python utility, feel free to ask!
Thank you, and I look forward to your update!
@AnonymousABC,
Thanks for the screenshots and details.
Modifying licenses is not allowed and is strongly discouraged. If such modifications are made manually, the license may become invalid or blacklisted. Please note that Aspose.Total for Java and Aspose.Total for Python via Java are separate/distinct packages/products. Therefore, manually changing “Aspose.Total for Java” to “Aspose.Cells for Python via Java” under the “<Product></Product>
” tag in the license file will not work.
For confirmation, I tested a similar scenario using an older Aspose.Cells for Java license. I modified the Java license and attempted to use it with Aspose.Cells for Python via Java v24.9. While the license was applied without throwing an exception, the output files (e.g., PDF, XLSX) contained an evaluation watermark, indicating the license was not valid for this product. Ideally, such modifications should result in an exception, such as “The license is not valid for this product.” In summary, a license for Aspose (Java) APIs cannot be used with Aspose for Python (via Java) APIs and vice versa.
We would be happy to investigate your issue further. Could you please share both licenses, i.e., Aspose.Total for Java and Aspose.Cells for Python via Java (manually updated), via private message? You can refer to the following topic for instructions on how to share your license file securely with the Aspose team: How to Send License File to Support Team.
P.S. Kindly avoid attaching your license file directly in this thread.