讨论 问题反馈 视频合成报Token not found错误

视频合成报Token not found错误

ztyq555 发表于    阅读:104    回复:1

oken not found

Error: Token not found

    at Object.videoGen (file:///E:/Program%20Files/AigcPanel/resources/app.asar/dist-electron/main/index.js:14700:19)

    at process.processTicksAndRejections (node:internal/process/task_queues:95:5)

    at async file:///E:/Program%20Files/AigcPanel/resources/app.asar/dist-electron/main/index.js:14989:12

    at async WebContents.<anonymous> (node:electron/js2c/browser_init:2:78381)

日志:

2025-02-19 09:24:35 - INFO - App.spawnShell.stop

2025-02-19 09:24:35 - INFO - App.spawnShell.exit - 1

2025-02-19 09:24:35 - INFO - App.spawnShell.stop.taskkill - {"err":null,"stdout":"成功: 已终止 PID 26472 (属于 PID 5404 子进程)的进程。\r\n成功: 已终止 PID 12856 (属于 PID 13344 子进程)的进程。\r\n成功: 已终止 PID 5404 (属于 PID 13344 子进程)的进程。\r\n成功: 已终止 PID 13344 (属于 PID 21976 子进程)的进程。\r\n","stderr":""}

2025-02-19 09:24:36 - INFO - App.spawnShell.stop

2025-02-19 09:24:37 - INFO - App.spawnShell.exit - 1

2025-02-19 09:24:37 - INFO - App.spawnShell.stop.taskkill - {"err":null,"stdout":"成功: 已终止 PID 16336 (属于 PID 25152 子进程)的进程。\r\n成功: 已终止 PID 11740 (属于 PID 25152 子进程)的进程。\r\n成功: 已终止 PID 25152 (属于 PID 21976 子进程)的进程。\r\n","stderr":""}

2025-02-19 09:25:58 - INFO - Starting

2025-02-19 09:25:58 - INFO - LaunchInfo - {"isPackaged":true,"userData":"C:\\Users\\ztyq5\\AppData\\Roaming\\aigcpanel"}

2025-02-19 09:25:59 - INFO - Migrating to version 2

2025-02-19 09:26:10 - INFO - App.spawnShell - {"commandEntry":"\"E:\\AigcPanel\\aigcpanel-server-cosyvoice-win-x86-v0.1.0/launcher\"","args":[],"option":{"cwd":"E:\\AigcPanel\\aigcpanel-server-cosyvoice-win-x86-v0.1.0","outputEncoding":"cp936"}}

2025-02-19 09:26:10 - INFO - App.spawnShell.stdout - time="2025-02-19T09:26:10+08:00" level=info msg="server starting" buildTime="2025-02-06 17:44:13" mode=api version=0.0.1


2025-02-19 09:26:11 - INFO - App.spawnShell.stdout - time="2025-02-19T09:26:11+08:00" level=info msg="command starting"


2025-02-19 09:26:11 - INFO - App.spawnShell.stdout - time="2025-02-19T09:26:11+08:00" level=info msg="Failed to kill existing process:failed to find process: OpenProcess: The parameter is incorrect."


2025-02-19 09:26:11 - INFO - App.spawnShell.stdout - time="2025-02-19T09:26:11+08:00" level=info msg="Started process with PID:26700"


2025-02-19 09:26:12 - INFO - App.spawnShell - {"commandEntry":"\"E:\\AigcPanel\\aigcpanel-server-musetalk-win-x86-v0.2.0/launcher\"","args":["--env=LAUNCHER_PORT=50619"],"option":{"cwd":"E:\\AigcPanel\\aigcpanel-server-musetalk-win-x86-v0.2.0","outputEncoding":"cp936"}}

2025-02-19 09:26:12 - INFO - App.spawnShell.stdout - time="2025-02-19T09:26:12+08:00" level=info msg="server starting" buildTime="2025-02-06 17:44:13" mode=api version=0.0.1


2025-02-19 09:26:13 - INFO - App.spawnShell.stdout - time="2025-02-19T09:26:13+08:00" level=info msg="api starting"

[GIN-debug] [WARNING] Creating an Engine instance with the Logger and Recovery middleware already attached.


[GIN-debug] [WARNING] Running in "debug" mode. Switch to "release" mode in production.

 - using env: export GIN_MODE=release

 - using code: gin.SetMode(gin.ReleaseMode)



2025-02-19 09:26:15 - INFO - App.spawnShell.stdout - [GIN] 2025/02/19 - 09:26:15 | 200 |            0s |             ::1 | GET      "/ping"


2025-02-19 09:26:15 - INFO - App.spawnShell.stderr - 2025-02-19 09:26:15,993 - modelscope - INFO - PyTorch version 2.4.1+cu118 Found.


2025-02-19 09:26:15 - INFO - App.spawnShell.stderr - 2025-02-19 09:26:15,994 - modelscope - INFO - Loading ast index from E:\AigcPanel\aigcpanel-server-cosyvoice-win-x86-v0.1.0\.cache\modelscope\ast_indexer


2025-02-19 09:26:16 - INFO - App.spawnShell.stderr - 2025-02-19 09:26:16,038 - modelscope - INFO - Loading done! Current index file version is 1.15.0, with md5 3ffaf6b0bfe5a9178822c925c62803ec and a total number of 980 components indexed


2025-02-19 09:26:16 - INFO - App.spawnShell.stdout - transformer is not installed, please install it if you want to use related modules


2025-02-19 09:26:17 - INFO - App.spawnShell.stdout - failed to import ttsfrd, use WeTextProcessing instead


2025-02-19 09:26:17 - INFO - App.spawnShell.stdout - args.port 50618

useGPU True

##################### MSBrick Info #####################

root: E:\AigcPanel\aigcpanel-server-cosyvoice-win-x86-v0.1.0

args: Namespace(gpu_mode='', model_dir='E:\\AigcPanel\\aigcpanel-server-cosyvoice-win-x86-v0.1.0\\pretrained_models/CosyVoice-300M', port=50618)

######################################################


2025-02-19 09:26:20 - INFO - App.spawnShell.stderr - E:\AigcPanel\aigcpanel-server-cosyvoice-win-x86-v0.1.0\_aienv\lib\site-packages\diffusers\models\lora.py:393: FutureWarning: `LoRACompatibleLinear` is deprecated and will be removed in version 1.0.0. Use of `LoRACompatibleLinear` is deprecated. Please switch to PEFT backend by installing PEFT: `pip install peft`.

  deprecate("LoRACompatibleLinear", "1.0.0", deprecation_message)


2025-02-19 09:26:21 - INFO - App.spawnShell.stderr - 2025-02-19 09:26:21,326 INFO input frame rate=50


2025-02-19 09:26:21 - INFO - App.spawnShell.stderr - E:\AigcPanel\aigcpanel-server-cosyvoice-win-x86-v0.1.0\_aienv\lib\site-packages\torch\nn\utils\weight_norm.py:134: FutureWarning: `torch.nn.utils.weight_norm` is deprecated in favor of `torch.nn.utils.parametrizations.weight_norm`.

  WeightNorm.apply(module, name, dim)


2025-02-19 09:26:21 - INFO - App.spawnShell.stderr - E:\AigcPanel\aigcpanel-server-cosyvoice-win-x86-v0.1.0\cosyvoice\dataset\processor.py:24: UserWarning: torchaudio._backend.set_audio_backend has been deprecated. With dispatcher enabled, this function is no-op. You can remove the function call.

  torchaudio.set_audio_backend('soundfile')


2025-02-19 09:26:22 - INFO - App.spawnShell.stderr - E:\AigcPanel\aigcpanel-server-cosyvoice-win-x86-v0.1.0\_aienv\lib\site-packages\onnxruntime\capi\onnxruntime_inference_collection.py:69: UserWarning: Specified provider 'CUDAExecutionProvider' is not in available provider names.Available providers: 'AzureExecutionProvider, CPUExecutionProvider'

  warnings.warn(


2025-02-19 09:26:22 - INFO - App.spawnShell.stderr - E:\AigcPanel\aigcpanel-server-cosyvoice-win-x86-v0.1.0\cosyvoice\cli\frontend.py:57: FutureWarning: You are using `torch.load` with `weights_only=False` (the current default value), which uses the default pickle module implicitly. It is possible to construct malicious pickle data which will execute arbitrary code during unpickling (See https://github.com/pytorch/pytorch/blob/main/SECURITY.md#untrusted-models for more details). In a future release, the default value for `weights_only` will be flipped to `True`. This limits the functions that could be executed during unpickling. Arbitrary objects will no longer be allowed to be loaded via this mode unless they are explicitly allowlisted by the user via `torch.serialization.add_safe_globals`. We recommend you start setting `weights_only=True` for any use case where you don't have full control of the loaded file. Please open an issue on GitHub for any issues related to this experimental feature.

  self.spk2info = torch.load(spk2info, map_location=self.device)


2025-02-19 09:26:22 - INFO - App.spawnShell.stderr - 2025-02-19 09:26:22,915 WETEXT INFO found existing fst: E:\AigcPanel\aigcpanel-server-cosyvoice-win-x86-v0.1.0\_aienv\lib\site-packages\tn\zh_tn_tagger.fst

2025-02-19 09:26:22,915 INFO found existing fst: E:\AigcPanel\aigcpanel-server-cosyvoice-win-x86-v0.1.0\_aienv\lib\site-packages\tn\zh_tn_tagger.fst

2025-02-19 09:26:22,915 WETEXT INFO                     E:\AigcPanel\aigcpanel-server-cosyvoice-win-x86-v0.1.0\_aienv\lib\site-packages\tn\zh_tn_verbalizer.fst

2025-02-19 09:26:22,915 INFO                     E:\AigcPanel\aigcpanel-server-cosyvoice-win-x86-v0.1.0\_aienv\lib\site-packages\tn\zh_tn_verbalizer.fst

2025-02-19 09:26:22,915 WETEXT INFO skip building fst for zh_normalizer ...

2025-02-19 09:26:22,915 INFO skip building fst for zh_normalizer ...


2025-02-19 09:26:23 - INFO - App.spawnShell.stderr - 2025-02-19 09:26:23,244 WETEXT INFO found existing fst: E:\AigcPanel\aigcpanel-server-cosyvoice-win-x86-v0.1.0\_aienv\lib\site-packages\tn\en_tn_tagger.fst

2025-02-19 09:26:23,244 INFO found existing fst: E:\AigcPanel\aigcpanel-server-cosyvoice-win-x86-v0.1.0\_aienv\lib\site-packages\tn\en_tn_tagger.fst

2025-02-19 09:26:23,244 WETEXT INFO                     E:\AigcPanel\aigcpanel-server-cosyvoice-win-x86-v0.1.0\_aienv\lib\site-packages\tn\en_tn_verbalizer.fst

2025-02-19 09:26:23,244 INFO                     E:\AigcPanel\aigcpanel-server-cosyvoice-win-x86-v0.1.0\_aienv\lib\site-packages\tn\en_tn_verbalizer.fst

2025-02-19 09:26:23,244 WETEXT INFO skip building fst for en_normalizer ...

2025-02-19 09:26:23,244 INFO skip building fst for en_normalizer ...


2025-02-19 09:26:23 - INFO - App.spawnShell.stderr - E:\AigcPanel\aigcpanel-server-cosyvoice-win-x86-v0.1.0\cosyvoice\cli\model.py:57: FutureWarning: You are using `torch.load` with `weights_only=False` (the current default value), which uses the default pickle module implicitly. It is possible to construct malicious pickle data which will execute arbitrary code during unpickling (See https://github.com/pytorch/pytorch/blob/main/SECURITY.md#untrusted-models for more details). In a future release, the default value for `weights_only` will be flipped to `True`. This limits the functions that could be executed during unpickling. Arbitrary objects will no longer be allowed to be loaded via this mode unless they are explicitly allowlisted by the user via `torch.serialization.add_safe_globals`. We recommend you start setting `weights_only=True` for any use case where you don't have full control of the loaded file. Please open an issue on GitHub for any issues related to this experimental feature.

  self.llm.load_state_dict(torch.load(llm_model, map_location=self.device))


2025-02-19 09:26:26 - INFO - App.spawnShell.stderr - E:\AigcPanel\aigcpanel-server-cosyvoice-win-x86-v0.1.0\cosyvoice\cli\model.py:60: FutureWarning: You are using `torch.load` with `weights_only=False` (the current default value), which uses the default pickle module implicitly. It is possible to construct malicious pickle data which will execute arbitrary code during unpickling (See https://github.com/pytorch/pytorch/blob/main/SECURITY.md#untrusted-models for more details). In a future release, the default value for `weights_only` will be flipped to `True`. This limits the functions that could be executed during unpickling. Arbitrary objects will no longer be allowed to be loaded via this mode unless they are explicitly allowlisted by the user via `torch.serialization.add_safe_globals`. We recommend you start setting `weights_only=True` for any use case where you don't have full control of the loaded file. Please open an issue on GitHub for any issues related to this experimental feature.

  self.flow.load_state_dict(torch.load(flow_model, map_location=self.device))


2025-02-19 09:26:26 - INFO - App.spawnShell.stderr - E:\AigcPanel\aigcpanel-server-cosyvoice-win-x86-v0.1.0\cosyvoice\cli\model.py:62: FutureWarning: You are using `torch.load` with `weights_only=False` (the current default value), which uses the default pickle module implicitly. It is possible to construct malicious pickle data which will execute arbitrary code during unpickling (See https://github.com/pytorch/pytorch/blob/main/SECURITY.md#untrusted-models for more details). In a future release, the default value for `weights_only` will be flipped to `True`. This limits the functions that could be executed during unpickling. Arbitrary objects will no longer be allowed to be loaded via this mode unless they are explicitly allowlisted by the user via `torch.serialization.add_safe_globals`. We recommend you start setting `weights_only=True` for any use case where you don't have full control of the loaded file. Please open an issue on GitHub for any issues related to this experimental feature.

  self.hift.load_state_dict(torch.load(hift_model, map_location=self.device))


2025-02-19 09:26:28 - INFO - App.spawnShell.stderr - E:\AigcPanel\aigcpanel-server-cosyvoice-win-x86-v0.1.0\_aienv\lib\site-packages\gradio\components\base.py:190: UserWarning: 'scale' value should be an integer. Using 0.5 will cause issues.

  warnings.warn(


2025-02-19 09:26:28 - INFO - App.spawnShell.stderr - E:\AigcPanel\aigcpanel-server-cosyvoice-win-x86-v0.1.0\_aienv\lib\site-packages\gradio\components\base.py:190: UserWarning: 'scale' value should be an integer. Using 0.25 will cause issues.

  warnings.warn(

E:\AigcPanel\aigcpanel-server-cosyvoice-win-x86-v0.1.0\_aienv\lib\site-packages\gradio\layouts\column.py:55: UserWarning: 'scale' value should be an integer. Using 0.25 will cause issues.

  warnings.warn(


2025-02-19 09:26:28 - INFO - App.spawnShell.stderr - INFO:     Started server process [26700]

INFO:     Waiting for application startup.


2025-02-19 09:26:28 - INFO - App.spawnShell.stderr - INFO:     Application startup complete.

INFO:     Uvicorn running on http://127.0.0.1:50618 (Press CTRL+C to quit)


2025-02-19 09:26:28 - INFO - App.spawnShell.stdout - INFO:     127.0.0.1:54995 - "GET /config HTTP/1.1" 200 OK


2025-02-19 09:26:28 - INFO - App.spawnShell.stdout - INFO:     127.0.0.1:54996 - "GET /info HTTP/1.1" 200 OK


2025-02-19 09:26:28 - INFO - App.spawnShell.stdout - INFO:     127.0.0.1:54995 - "POST /queue/join HTTP/1.1" 200 OK


2025-02-19 09:26:28 - INFO - App.spawnShell.stdout - INFO:     127.0.0.1:54996 - "GET /queue/data?session_hash=ztbomu0uad HTTP/1.1" 200 OK


2025-02-19 09:27:00 - INFO - App.spawnShell.stdout - [GIN] 2025/02/19 - 09:27:00 | 200 |     10.0347ms |             ::1 | POST     "/submit"


2025-02-19 09:27:05 - INFO - App.spawnShell.stdout - [GIN] 2025/02/19 - 09:27:05 | 200 |            0s |             ::1 | POST     "/query"


2025-02-19 09:27:10 - INFO - App.spawnShell.stdout - [GIN] 2025/02/19 - 09:27:10 | 200 |            0s |             ::1 | POST     "/query"


2025-02-19 09:27:15 - INFO - App.spawnShell.stdout - [GIN] 2025/02/19 - 09:27:15 | 200 |            0s |             ::1 | POST     "/query"


2025-02-19 09:27:20 - INFO - App.spawnShell.stdout - [GIN] 2025/02/19 - 09:27:20 | 200 |            0s |             ::1 | POST     "/query"


2025-02-19 09:27:23 - INFO - App.spawnShell.stdout - time="2025-02-19T09:27:23+08:00" level=error msg="Command execution failed:exit status 1"


2025-02-19 09:27:25 - INFO - App.spawnShell.stdout - [GIN] 2025/02/19 - 09:27:25 | 200 |            0s |             ::1 | POST     "/query"


2025-02-19 09:27:30 - INFO - App.spawnShell.stdout - [GIN] 2025/02/19 - 09:27:30 | 200 |            0s |             ::1 | POST     "/query"


2025-02-19 09:27:30 - ERROR - mapi.server.callFunction.error - {"type":"object","error":"Token not found\nError: Token not found\n    at Object.videoGen (file:///E:/Program%20Files/AigcPanel/resources/app.asar/dist-electron/main/index.js:14700:19)\n    at process.processTicksAndRejections (node:internal/process/task_queues:95:5)\n    at async file:///E:/Program%20Files/AigcPanel/resources/app.asar/dist-electron/main/index.js:14989:12\n    at async WebContents.<anonymous> (node:electron/js2c/browser_init:2:78381)"}

2025-02-19 09:27:30 - ERROR - Task.RunFunc.Error - Token not found

Error: Token not found

    at Object.videoGen (file:///E:/Program%20Files/AigcPanel/resources/app.asar/dist-electron/main/index.js:14700:19)

    at process.processTicksAndRejections (node:internal/process/task_queues:95:5)

    at async file:///E:/Program%20Files/AigcPanel/resources/app.asar/dist-electron/main/index.js:14989:12

    at async WebContents.<anonymous> (node:electron/js2c/browser_init:2:78381)


评论

这个是之前的模型失败了服务重启了,重新启动后找不到记录的问题,重新合成试一下

 
1
我来评论
语言
QQ
微信客服
微信群
客服