Skip to content
This repository has been archived by the owner on Apr 24, 2022. It is now read-only.

测试失败 #123

Closed
NianBroken opened this issue Mar 17, 2022 · 3 comments
Closed

测试失败 #123

NianBroken opened this issue Mar 17, 2022 · 3 comments
Labels
缺少依赖 云函数: 没绑定层或上传的依赖文件不对 | 其他: 没安装依赖

Comments

@NianBroken
Copy link

START RequestId: 81c1b0f0-09f4-40a5-b363-9068a4300272

Init Report RequestId: 81c1b0f0-09f4-40a5-b363-9068a4300272 Coldstart: 474ms (PullCode: 7ms InitRuntime: 4ms InitFunction: 463ms) Memory: 128MB MemUsage: 16.38MB

ERROR RequestId: 81c1b0f0-09f4-40a5-b363-9068a4300272 Result: {"errorCode": -1, "errorMessage": "Traceback (most recent call last): File "/var/runtime/python3/bootstrap.py", line 133, in init_handler func_handler = get_func_handler(file.rsplit(".", 1)[0], func) File "/var/runtime/python3/bootstrap.py", line 159, in get_func_handler mod = imp.load_module(mname, *imp.find_module(mname)) File "/var/lang/python3/lib/python3.6/imp.py", line 234, in load_module return load_source(name, filename, file) File "/var/lang/python3/lib/python3.6/imp.py", line 172, in load_source module = _load(spec) File "", line 675, in _load File "", line 655, in _load_unlocked File "", line 678, in exec_module File "", line 205, in _call_with_frames_removed File "/var/user/index.py", line 6, in import json5 ModuleNotFoundError: No module named 'json5'", "statusCode": 443}

END RequestId: 81c1b0f0-09f4-40a5-b363-9068a4300272

Report RequestId: 81c1b0f0-09f4-40a5-b363-9068a4300272 Duration: 0ms Memory: 128MB MemUsage: 16.38MB

START RequestId:81c1b0f0-09f4-40a5-b363-9068a4300272

ERROR RequestId:81c1b0f0-09f4-40a5-b363-9068a4300272 Result:{"errorCode":-1,"errorMessage":"Traceback (most recent call last):\n File "/var/runtime/python3/bootstrap.py", line 133, in init_handler\n func_handler = get_func_handler(file.rsplit(".", 1)[0], func)\n File "/var/runtime/python3/bootstrap.py", line 159, in get_func_handler\n mod = imp.load_module(mname, *imp.find_module(mname))\n File "/var/lang/python3/lib/python3.6/imp.py", line 234, in load_module\n return load_source(name, filename, file)\n File "/var/lang/python3/lib/python3.6/imp.py", line 172, in load_source\n module = _load(spec)\n File "\u003cfrozen importlib._bootstrap\u003e", line 675, in _load\n File "\u003cfrozen importlib._bootstrap\u003e", line 655, in _load_unlocked\n File "\u003cfrozen importlib._bootstrap_external\u003e", line 678, in exec_module\n File "\u003cfrozen importlib._bootstrap\u003e", line 205, in _call_with_frames_removed\n File "/var/user/index.py", line 6, in \u003cmodule\u003e\n import json5\nModuleNotFoundError: No module named 'json5'","statusCode":443}

END RequestId:81c1b0f0-09f4-40a5-b363-9068a4300272

Report RequestId:81c1b0f0-09f4-40a5-b363-9068a4300272 Duration:0ms Memory:128MB MemUsage:0.000000MB

@chen310
Copy link
Owner

chen310 commented Mar 17, 2022

Duplicate of #28

@chen310 chen310 marked this as a duplicate of #28 Mar 17, 2022
@chen310
Copy link
Owner

chen310 commented Mar 17, 2022

没有绑定层

@chen310 chen310 closed this as completed Mar 17, 2022
@NianBroken
Copy link
Author

image
image
添加依赖后依然错误

@chen310 chen310 added the 缺少依赖 云函数: 没绑定层或上传的依赖文件不对 | 其他: 没安装依赖 label Mar 22, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
缺少依赖 云函数: 没绑定层或上传的依赖文件不对 | 其他: 没安装依赖
Projects
None yet
Development

No branches or pull requests

2 participants