Hi, guys.
I call converter.convert in rest api interface, always return an error.
File "/home/liubo/project/python/xulan-server/app/api/api_v1/printer/printer.py", line 52, in max_upload
conv = converter.UnoConverter()
File "/home/liubo/project/python/xulan-server/app/extends/unoserver/converter.py", line 69, in init
self.resolver = self.local_context.ServiceManager.createInstanceWithContext(
SystemError: pyuno runtime is not initialized, (the pyuno.bootstrap needs to be called before using any uno classes)
However, it is normal for me to execute unoconvert on the command line
Hi, guys. I call converter.convert in rest api interface, always return an error. File "/home/liubo/project/python/xulan-server/app/api/api_v1/printer/printer.py", line 52, in max_upload conv = converter.UnoConverter() File "/home/liubo/project/python/xulan-server/app/extends/unoserver/converter.py", line 69, in init self.resolver = self.local_context.ServiceManager.createInstanceWithContext( SystemError: pyuno runtime is not initialized, (the pyuno.bootstrap needs to be called before using any uno classes)
However, it is normal for me to execute unoconvert on the command line