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

room.say(file)报错 #295

Open
przzl opened this issue Aug 14, 2020 · 3 comments
Open

room.say(file)报错 #295

przzl opened this issue Aug 14, 2020 · 3 comments

Comments

@przzl
Copy link

przzl commented Aug 14, 2020

Important:Please file the issue follow the template, or we won't help you to solve the problem.

0. Report Issue Guide

  1. Please run the following command and check whether the problem has been fixed:
npm install wechaty-puppet-padlus@next
  1. Please search in the issue first, and make sure your problem had not been reported before

1. Versions

  • What is your wechaty version?
    Answer:0.46.4"

  • What is your wechaty-puppet-padplus version?
    Answer:0.7.36

  • What is your node version? (run node --version)
    Answer:12.16.1

  • What os are you using
    Answer:windows

2. Describe the bug

room.say(FileBox)报错,代码如下:

var base64Code = fileList[i].fileStr;
var fileName = fileList[i].realFileName;
const fileBox1 = FileBox.fromBase64(base64Code, fileName);
room.say(fileBox1);

其中的base64Code和fileName是机器人通过请求第三方系统得到。报错信息如下:

16:16:56 INFO PadplusManager ready to restart due to receive event: reconnect
16:16:56 ERR can not get response from grpc server
(node:8112) UnhandledPromiseRejectionWarning: Error: no padplus message
at PadplusManager. (E:\Project\getHappy\node_modules\wechaty-puppet-padplus\dist\src\padplus-manager\padplus-manager.js:838:23)
at Generator.next ()
at E:\Project\getHappy\node_modules\wechaty-puppet-padplus\dist\src\padplus-manager\padplus-manager.js:8:71
at new Promise ()
at __awaiter (E:\Project\getHappy\node_modules\wechaty-puppet-padplus\dist\src\padplus-manager\padplus-manager.js:4:12)
at PadplusManager.sendFile (E:\Project\getHappy\node_modules\wechaty-puppet-padplus\dist\src\padplus-manager\padplus-manager.js:835:16)
at PuppetPadplus. (E:\Project\getHappy\node_modules\wechaty-puppet-padplus\dist\src\puppet-padplus.js:1012:56)
at Generator.next ()
at fulfilled (E:\Project\getHappy\node_modules\wechaty-puppet-padplus\dist\src\puppet-padplus.js:5:58)
at processTicksAndRejections (internal/process/task_queues.js:97:5)
(node:8112) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by reje
cting 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: 3)
(node:8112) [DEP0018] DeprecationWarning: Unhandled promise rejections are deprecated. In the future, promise rejections that are not handled will terminate the Node.js process
with a non-zero exit code.

代码跟踪发现在message.ts中的uploadFile方法。
public async uploadFile (fileBox: FileBox): Promise {
log.verbose(PRE, recallMessage)
const data = {
data: await fileBox.toBase64(),
filename: fileBox.name,
}

const res = await this.requestClient.request({
  apiType: ApiType.UPLOAD_FILE,
  data,
})

if (res) {
  const msgDataStr = res.getData()
  if (msgDataStr) {
    const msgData: PadplusUploadFileData = JSON.parse(msgDataStr)
    return msgData.url
  } else {
    log.error(`can not parse message data from grpc`)
  }
} else {
  log.error(`can not get response from grpc server`)
}
return ''

}

res得到为空,导致后续报错。

3. To Reproduce

This part is very important: if you can not provide any reproduce steps, then the problem will be very hard to be recognized.

Steps to reproduce the behavior:

  1. 启动机器人
  2. 群里面@机器人发送一个关键字消息,机器人根据消息内容去第三方系统获取文件(doc、xls等常用办公文件),得到文件的base64code和文件名
  3. 机器人将文件发到群中。

4. Expected behavior

Give a clear and concise description of what you expected to happen.

5. Actual behavior

If applicable, add screenshots to help explain your problem. But do not paste log screenshots here.

6. Full Output Logs

Set env WECHATY_LOG=silly in order to set log level to silly, then we can get the full log (If you dosen't set log env, log level is info as default, we cannot get the full log)

We need full log instead of log screenshot or log fragments!

Show Logs
$ WECHATY_LOG=silly node yourbot.js

Question: Paste your FULL(DO NOT ONLY PROVIDE FRAGMENTS) log messages
Answer:

7. Additional context

Add any other context about the problem here.

[bug]

@su-chang
Copy link
Member

var base64Code = fileList[i].fileStr;
var fileName = fileList[i].realFileName;
const fileBox1 = FileBox.fromBase64(base64Code, fileName);
room.say(fileBox1);

Can you reproduce this problem use this example code?

@przzl
Copy link
Author

przzl commented Aug 17, 2020

var base64Code = fileList[i].fileStr;
var fileName = fileList[i].realFileName;
const fileBox1 = FileBox.fromBase64(base64Code, fileName);
room.say(fileBox1);

您可以使用以下示例代码重现此问题吗?

可以。如下
var base64Code = ‘UEsDBBQABgAIAAAAIQCq91ikegEAABQGAAATAAgCW0NvbnRlbnRfVHlwZXNdLnhtbCCiBAIooAACAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA\n' +
'AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA\n' +
'AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA\n' +
'AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA\n' +
'AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAADMVMlqwzAQvRf6D0bXEitJoZQSJ4cuxzaQ9AMUa2yL2JLQTNLk7zt2FkrIgmmgvdjY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ucmVsc1BLAQItABQABgAIAAAAIQBoIko\n' +
'weQEAAKICAAAYAAAAAAAAAAAAAAAAAIcSAAB4bC93b3Jrc2hlZXRzL3NoZWV0Mi54bWxQSwECLQAUAAYACAAAACEAaCJKMHkBAACiAgAAGAAAAAAAAAAAAAAAAAA2FAAAeGwvd29ya3NoZWV0cy9zaGVldDMueG1sUEsBAi0AFAAGAAgA\n' +
'AAAhAJ1zR+8zBAAAfg8AABgAAAAAAAAAAAAAAAAA5RUAAHhsL3dvcmtzaGVldHMvc2hlZXQxLnhtbFBLAQItABQABgAIAAAAIQCRsz5oeAEAAHAFAAAUAAAAAAAAAAAAAAAAAE4aAAB4bC9zaGFyZWRTdHJpbmdzLnhtbFBLAQItABQAB\n' +
'gAIAAAAIQBFJnRCRQMAAIANAAANAAAAAAAAAAAAAAAAAPgbAAB4bC9zdHlsZXMueG1sUEsBAi0AFAAGAAgAAAAhABtAWtqjAQAARgMAABAAAAAAAAAAAAAAAAAAaB8AAGRvY1Byb3BzL2FwcC54bWxQSwECLQAUAAYACAAAACEAs6cEY0\n' +
'MAAADcAAAAJwAAAAAAAAAAAAAAAABBIgAAeGwvcHJpbnRlclNldHRpbmdzL3ByaW50ZXJTZXR0aW5nczEuYmluUEsBAi0AFAAGAAgAAAAhAMkJaohAAQAAUQIAABEAAAAAAAAAAAAAAAAAySIAAGRvY1Byb3BzL2NvcmUueG1sUEsFBgA\n' +
'AAAAOAA4AsgMAAEAlAAAAAA==’;
var fileName = ‘全场景调度菜单V0.1.xlsx’;
const fileBox1 = FileBox.fromBase64(base64Code, fileName);
room.say(fileBox1);

@przzl
Copy link
Author

przzl commented Aug 18, 2020

是只有我有这个问题?还是这个是BUG?有人能够解答下么?

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