We are encountering an Exception loading an existing XLSX file into a Workbook. We are following the guidance on this page Different Ways to Open Files|Documentation (aspose.com)](https://docs.aspose.com/cells/python-java/different-ways-to-open-files/#opening-a-file-via-a-stream)
from java_client import java_client # starting java, not relevant for this question
from jpype import java
java_client.install_jre()
import jpype
import asposecells
java_client.start_jvm()
from asposecells.api import *
fis = java.io.FileInputStream(“template.xlsx”) # Error raised - below
logging.info(“file read”)
workbook = Workbook(fis)
Exception:
Exception: TypeError: object.init() takes exactly one argument (the instance to initialize)
…
line 47, in test_function workbook = Workbook(fis) File “/home/site/wwwroot/.python_packages/lib/site-packages/asposecells/api.py”, line 2992, in init super(Workbook, self).init(*args)
Platform: Debian
Python 3.9