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

[bug] : Ubuntu 中桌面端无法正常启动 #124

Open
toulzx opened this issue Nov 12, 2023 · 1 comment
Open

[bug] : Ubuntu 中桌面端无法正常启动 #124

toulzx opened this issue Nov 12, 2023 · 1 comment
Assignees

Comments

@toulzx
Copy link

toulzx commented Nov 12, 2023

环境描述

系统: Ubuntu 20.04.6 64位
浏览器:Chrome
OCS版本:2.5.2
补充:VMware 虚拟机环境下

BUG 描述

桌面端 appImage 无法正常启动。(已给权限)

桌面端报错内容:

remote 模块错误
TypeError: target[property] is not a function
未捕获的异步错误
TypeError: target[property] is not a function

终端报错内容:

./ocs-2.5.2-setup-linux-x86_64.AppImage 
[信息] //省略一部分内容
[信息] 2023/11/12 16:53:30 	 OCS启动程序  耗时: 1448
[错误] 2023/11/12 16:53:30 	 unhandledRejection Error: Request failed with status code 400
    at createError (/tmp/.mount_ocs-2.E1f5TD/resources/app/node_modules/axios/lib/core/createError.js:16:15)
    at settle (/tmp/.mount_ocs-2.E1f5TD/resources/app/node_modules/axios/lib/core/settle.js:17:12)
    at IncomingMessage.handleStreamEnd (/tmp/.mount_ocs-2.E1f5TD/resources/app/node_modules/axios/lib/adapters/http.js:312:11)
    at IncomingMessage.emit (node:events:525:35)
    at endReadableNT (node:internal/streams/readable:1359:12)
    at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
  config: {,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,} //省略内容
(node:24683) UnhandledPromiseRejectionWarning: Error: Request failed with status code 400
    at createError (/tmp/.mount_ocs-2.E1f5TD/resources/app/node_modules/axios/lib/core/createError.js:16:15)
    at settle (/tmp/.mount_ocs-2.E1f5TD/resources/app/node_modules/axios/lib/core/settle.js:17:12)
    at IncomingMessage.handleStreamEnd (/tmp/.mount_ocs-2.E1f5TD/resources/app/node_modules/axios/lib/adapters/http.js:312:11)
    at IncomingMessage.emit (node:events:525:35)
    at endReadableNT (node:internal/streams/readable:1359:12)
    at process.processTicksAndRejections (node:internal/process/task_queues:82:21)
(Use `ocs desktop --trace-warnings ...` to show where the warning was created)
(node:24683) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). To terminate the node process on unhandled promise rejection, use the CLI flag `--unhandled-rejections=strict` (see https://nodejs.org/api/cli.html#cli_unhandled_rejections_mode). (rejection id: 2)
[信息] 2023/11/12 16:53:30 	 render store init
[错误] 2023/11/12 16:53:30 	 未捕获的异步错误 TypeError: target[property] is not a function

报错截图

Ubuntu 20 04 6 64 位-2023-11-12-17-04-11
注意到界面按钮加载不完全(如窗口最小化、关闭按钮)。
并且随后的初始化无法检测到系统中的 Chrome,默认浏览器不可选。

重现方法

  1. 下载 OCS客户端
  2. 允许文件作为程序执行
  3. 终端执行 ./ocs-2.5.2-setup-linux-x86_64.AppImage 或双击程序执行
  4. 看到此 BUG

已尝试过的方案:关闭/打开代理(无效)。

预期行为

正常打开客户端界面,检测

解决方案

暂无

@toulzx toulzx changed the title [bug] : Ubuntu 中客户端无法正常启动 [bug] : Ubuntu 中桌面端无法正常启动 Nov 12, 2023
@enncy
Copy link
Collaborator

enncy commented Nov 14, 2023

群里找我远程看一下

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants