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

云函数运行报错 #28

Description

@suimingpro

START RequestId: c78ca8ea14a3677c71692407657bace3

Init Report RequestId: c78ca8ea14a3677c71692407657bace3 Coldstart: 838ms (PullCode: 113ms InitRuntime: 11ms InitFunction: 714ms) Memory: 128MB MemUsage: 16.73MB

ERROR RequestId: c78ca8ea14a3677c71692407657bace3 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: c78ca8ea14a3677c71692407657bace3

Report RequestId: c78ca8ea14a3677c71692407657bace3 Duration: 0ms Memory: 128MB MemUsage: 16.73MB

START RequestId:c78ca8ea14a3677c71692407657bace3

ERROR RequestId:c78ca8ea14a3677c71692407657bace3 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:c78ca8ea14a3677c71692407657bace3

Report RequestId:c78ca8ea14a3677c71692407657bace3 Duration:0ms Memory:128MB MemUsage:0.000000MB

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    缺少依赖云函数: 没绑定层或上传的依赖文件不对 | 其他: 没安装依赖

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions