本地部署后报错Error: Error invoking remote method 'model/addModel': TypeError: SQLite3 can only bind numbers, strings, bigints, buffers, and null
上传完原视频,点击提交定制后过一会报错 Error: Error invoking remote method 'model/addModel': TypeError: SQLite3 can only bind numbers, strings, bigints, buffers, and null
软件日志里是这个内容
2025-05-22 13:00:36 [info] audio split done 2025-05-22 13:00:36 [debug] ~ preprocessAndTran ~ param: {"format":"wav","reference_audio":"origin_audio/20250522130036373.wav","lang":"zh"} 2025-05-22 13:00:47 [debug] ~ train ~ res: { code: -1, msg: "'NoneType' object has no attribute 'send'" } 2025-05-22 13:00:47 [debug] [SQL Run]: INSERT INTO f2f_model (name, video_path, audio_path, voice_id, created_at) VALUES (?, ?, ?, ?, ?) [ 'i', '20250522130036373.mp4', 'origin_audio\\20250522130036373.wav', false, 1747890047692 ]
docker里heygem-gen-video的运行记录 `[2025-05-22 11:56:02] [_internal.py[line:96]] [INFO] [WARNING: This is a development server. Do not use it in a production deployment. Use a production WSGI server instead.
-
Running on all addresses (0.0.0.0)
-
Running on http://127.0.0.1:8383
-
Running on [http://172.20.0.2:8383]](http://172.20.0.2:8383]/)
[2025-05-22 11:56:02] [_internal.py[line:96]] [INFO] [Press CTRL+C to quit]
[2025-05-22 11:56:03] [_internal.py[line:96]] [INFO] [172.20.0.1 - - [22/May/2025 11:56:03] "GET / HTTP/1.1" 404 -]
[2025-05-22 11:56:03] [_internal.py[line:96]] [INFO] [172.20.0.1 - - [22/May/2025 11:56:03] "GET /favicon.ico HTTP/1.1" 404 -]
[2025-05-22 11:56:16] [process.py[line:108]] [INFO] [>>> 数字人图片处理进程启动]
[2025-05-22 12:59:42] [_internal.py[line:96]] [INFO] [172.20.0.1 - - [22/May/2025 12:59:42] "GET /easy/submit HTTP/1.1" 405 -]`
docker里heygem-asr的运行记录 `If you want to use ffmpeg backend to load audio, please install it by:
sudo apt install ffmpeg # ubuntu
# brew install ffmpeg # mac
transformer is not installed, please install it if you want to use related modules
I20250522 11:56:20.299367 105 funasr-wss-server.cpp:437] Set punc-dir : /workspace/models/damo/punc_ct-transformer_cn-en-common-vocab471067-large-onnx
I20250522 11:56:20.299465 105 funasr-wss-server.cpp:466] hotword path: /workspace/FunASR/runtime/websocket/hotwords.txt
I20250522 11:56:20.300415 105 util.cpp:1013] hotwords:
I20250522 11:56:20.301033 105 util.cpp:1042] 阿里巴巴 : 20
I20250522 11:56:20.301122 105 util.cpp:1042] 通义实验室 : 30
I20250522 11:56:20.305137 105 funasr-wss-server.cpp:497] SSL is closed!
I20250522 11:56:20.397949 105 fsmn-vad.cpp:58] Successfully load model from /workspace/models/damo/speech_fsmn_vad_zh-cn-16k-common-onnx/model_quant.onnx
I20250522 11:56:20.476506 105 paraformer-torch.cpp:41] CUDA is available, running on GPU
I20250522 11:56:29.613196 105 paraformer-torch.cpp:52] Successfully load model from /workspace/models/damo/speech_paraformer-large-vad-punc_asr_nat-zh-cn-16k-common-vocab8404-pytorch/model_blade.torchscript`
docker里heygem-ttso的运行记录 ` 3%|▎ | 29/1023 [00:06<04:17, 3.86it/s]
3%|▎ | 30/1023 [00:06<04:17, 3.85it/s]
3%|▎ | 31/1023 [00:06<04:16, 3.86it/s]
3%|▎ | 32/1023 [00:06<04:22, 3.77it/s]
3%|▎ | 33/1023 [00:07<04:19, 3.81it/s]
3%|▎ | 34/1023 [00:07<04:18, 3.83it/s]
3%|▎ | 34/1023 [00:07<03:42, 4.44it/s]
size= 377kB time=00:00:12.05 bitrate= 256.1kbits/s speed= 243x
size= 377kB time=00:00:12.03 bitrate= 256.5kbits/s speed= 404x
size= 377kB time=00:00:12.05 bitrate= 256.1kbits/s speed= 241x
size= 377kB time=00:00:12.03 bitrate= 256.5kbits/s speed= 413x `
硬件配置 cpu:20核40线程 内存:64G 硬盘:500G 显卡:gtx3060,12G显存版 系统win10 wsl安装最新版了 显卡驱动最新 docker最新版 node最新版
请问如何解决这个问题正常能使用,感谢大佬解惑
我也是这个问题,看日志是指docker环境下没有装ffmpeg,但我看配置文件,项目里面是有ffmpeg的,而且权限也是正常,但还是报这个同样的错误
楼主解决了吗
安装一下 nodejs 就行了
安装一下 nodejs 就行了
试了不行