pywpsrpc
pywpsrpc copied to clipboard
Python bindings for WPS Office RPC (for Linux)
**Describe the bug** 通过Documents.Open()方法返回的文档类型为wpsapi._Document,而CompareDocuments需要的参数类型为wpsapi.Document **To Reproduce** ```python def _handle_result(hr): if abort_on_fails and hr != S_OK: raise ConvertException("open file failed", hr) hr, ori_doc = docs.Open(original_file, PasswordDocument='xxx', ReadOnly=True) if hr != S_OK:...
**Describe the bug** arm64系统上使用pip3 install pywpsrpc安装失败 usr/local/lib/python3.8/dist-packages/pkg_resources/__init__.py:116: PkgResourcesDeprecationWarning: 2.0.0kylin2 is an invalid version and will not be supported in a future release warnings.warn( /usr/local/lib/python3.8/dist-packages/pkg_resources/__init__.py:116: PkgResourcesDeprecationWarning: 0.23kylin1 is an invalid version...
I build wheel on mips64 and install it. It gets err when using getWpsApplication() part of code is def openwpsapp(self, visible): if(self.wpsapp!=None): return print("openwpsapp") hr, wpsrpc = createWpsRpcInstance() if hr...
资源没有释放
当调用:hr, app = rpc.getWpsApplication() 失败的时候,wps进程不会被自动杀死。 所以,如果因为某些原因无法成功执行上面的操作,系统就会存在越来越多的wps进程,但是因为app==None,所以 调用者无法释放。
> Please note that you have to accept the EULA display by WPS Office, otherwise you may failed to run pywpsrpc. You can find how to accept it without showing...
试用报错
用 deepin V20 装了WPS (通过商店安装)。用 pip3 install pywpsrpc 安装后,试用,报错如下: icevi@icevi-deepin20:~/downloads/pywpsrpc-master$ python3 Python 3.7.3 (default, Apr 3 2019, 05:39:12) [GCC 8.3.0] on linux Type "help", "copyright", "credits" or "license" for more...
文档签章
I need pywpsrpc aarch64 wheels and mips64el wheels based on python35, but I have no enviroment to build them from source code, Is there anyone has built the wheel? please...
读取wps内容
问一下 是否存在读取 .wps .et 等wps特定格式的文件方法,相关文档太少,找不到。