NeteaseCloudMusicTasks
NeteaseCloudMusicTasks copied to clipboard
运行失败START RequestId: 54f0955b-e7d0-4060-aa8a-2e15f5c8dc17 Init Report RequestId: 54f0955b-e7d0-4060-aa8a-2e15f5c8dc17 Coldstart: 1108ms (PullCode: 176ms InitRuntime: 6ms InitFunction: 926ms) Memory: 128MB MemUsage: 24.07MB ERROR RequestId: 54f0955b-e7d0-4060-aa8a-2e15f5c8dc17 Result: Traceback (most recent call last): File "/var/user/index.py", line 154, in main_handler start(event, context) File "/var/user/index.py", line 52, in start with open('config.json', 'r', encoding='utf-8') as f: FileNotFoundError: [Errno 2] No such file or directory: 'config.json' END RequestId: 54f0955b-e7d0-4060-aa8a-2e15f5c8dc17 Report RequestId: 54f0955b-e7d0-4060-aa8a-2e15f5c8dc17 Duration: 2ms Memory: 128MB MemUsage: 39.18MB
START RequestId: 54f0955b-e7d0-4060-aa8a-2e15f5c8dc17
Init Report RequestId: 54f0955b-e7d0-4060-aa8a-2e15f5c8dc17 Coldstart: 1108ms (PullCode: 176ms InitRuntime: 6ms InitFunction: 926ms) Memory: 128MB MemUsage: 24.07MB
ERROR RequestId: 54f0955b-e7d0-4060-aa8a-2e15f5c8dc17 Result: Traceback (most recent call last): File "/var/user/index.py", line 154, in main_handler start(event, context) File "/var/user/index.py", line 52, in start with open('config.json', 'r', encoding='utf-8') as f: FileNotFoundError: [Errno 2] No such file or directory: 'config.json'
END RequestId: 54f0955b-e7d0-4060-aa8a-2e15f5c8dc17
Report RequestId: 54f0955b-e7d0-4060-aa8a-2e15f5c8dc17 Duration: 2ms Memory: 128MB MemUsage: 39.18MB
@wzzyw 没有config.json
这个文件。你需要把config.example.json
复制为config.json
,并且配置好各种数据