Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

不能获取app #21

Closed
aixuedegege opened this issue Jan 5, 2021 · 10 comments
Closed

不能获取app #21

aixuedegege opened this issue Jan 5, 2021 · 10 comments
Assignees
Labels
bug Something isn't working

Comments

@aixuedegege
Copy link

您好,请问我

hr, rpc = createWpsRpcInstance()
rpc.getWpsApplication()```

返回一个负数和None请问是为什么应该如何解决
@aixuedegege aixuedegege added the bug Something isn't working label Jan 5, 2021
@timxx
Copy link
Owner

timxx commented Jan 5, 2021

什么环境?安装WPS的WPS能否正常起来

@aixuedegege
Copy link
Author

centos7 服务器上安装的”wps-office-11.1.0.9719-1.x86_64.rpm“这个。没有gui界面,纯command的。

@timxx
Copy link
Owner

timxx commented Jan 5, 2021

pywpsrpc依赖WPS,而WPS依赖GUI,在服务器是不能跑的
如果你想折腾可以参考README 在服务器上运行

@aixuedegege
Copy link
Author

好的 多谢

@suqi95716aa
Copy link

suqi95716aa commented Jun 8, 2023

你好,我遇到了同样的问题,下面是我的环境:
操作系统:UOS
Pywpsrpc版本:2.3.3
WPS版本:linux 2019 deb 有界面

在安装2019版本后,出现WPS2019、WPS文字、WPS表格、WPS PDF等,但是每次调用这两行命令返回的app都是空,而打开的app都是wps而不是wps文字,这个系统是重装过后的,之前也在同一个镜像的系统上运行了这几行命令(当时不确定下载的是不是这个版本的安装包,是上个月WPS Linux最新版本的),当时没有任何问题

@suqi95716aa
Copy link

切换到多组件模式已解决,设置多组件模式流程:打开wps → 右上角设置按钮 → Settings → Others → Change window manage mode… → 选择【Multi-Module Mode】

@Una-zh
Copy link

Una-zh commented Apr 15, 2024

您好,请问我

hr, rpc = createWpsRpcInstance()
rpc.getWpsApplication()```

返回一个负数和None请问是为什么应该如何解决

请问您解决了吗?我现在也遇到相同的问题,centos7

@aixuedegege
Copy link
Author

您好,请问我

hr, rpc = createWpsRpcInstance()
rpc.getWpsApplication()```

返回一个负数和None请问是为什么应该如何解决

请问您解决了吗?我现在也遇到相同的问题,centos7

楼上说了服务器跑不起来 就没折腾啦

@Una-zh
Copy link

Una-zh commented Apr 15, 2024

您好,请问我

hr, rpc = createWpsRpcInstance()
rpc.getWpsApplication()```

返回一个负数和None请问是为什么应该如何解决

请问您解决了吗?我现在也遇到相同的问题,centos7

楼上说了服务器跑不起来 就没折腾啦

我今天下午给折腾出来了😂

@SilentMoebuta
Copy link

您好,请问我

hr, rpc = createWpsRpcInstance()
rpc.getWpsApplication()```

返回一个负数和None请问是为什么应该如何解决

请问您解决了吗?我现在也遇到相同的问题,centos7

楼上说了服务器跑不起来 就没折腾啦

我今天下午给折腾出来了😂

怎么搞的 求教一下

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

5 participants