jan icon indicating copy to clipboard operation
jan copied to clipboard

bug: 3221225781 on windows

Open gibaoxi opened this issue 1 year ago • 5 comments

在window软件上模型下载不了,我只能复制model里的下载地址浏览器下载,然后改名移动到modeljs所在文件夹,我一问问题就出现apologies......反正一大串 image 是我自己配置出错了吗,如下图 image image

gibaoxi avatar Jan 23 '24 13:01 gibaoxi

是限制地区中国用不了吗

gibaoxi avatar Jan 23 '24 13:01 gibaoxi

hi @gibaoxi, can you try this? https://jan.ai/troubleshooting/somethings-amiss/ and / or try turing on the VPN

if the issue is not resolved, please give us the app.log https://jan.ai/troubleshooting/how-to-get-error-logs/

If the issue still not resolved, it's most likely related special charactor in the file path https://github.com/janhq/jan/issues/1713

Van-QA avatar Jan 23 '24 15:01 Van-QA

这是app log,开了vpn,难道不是把模型下载到本地就能用吗,还得去什么地方获取类似于openaikey之类的吗,我下载了这两个最小的模型 image

2024-01-23T12:53:12.000Z [NITRO]::Debug: Request to kill Nitro 2024-01-23T12:53:12.204Z [NITRO]::Debug: Nitro process is terminated 2024-01-23T12:53:52.577Z [NITRO]::CPU informations - 4 2024-01-23T12:53:52.581Z [NITRO]::Debug: Request to kill Nitro 2024-01-23T12:53:52.765Z [NITRO]::Debug: Nitro process is terminated 2024-01-23T12:53:53.271Z [NITRO]::Debug: Spawning Nitro subprocess... 2024-01-23T12:53:54.860Z [NITRO]::Debug: Nitro exited with code: 3221225794 2024-01-23T12:53:54.862Z [NITRO]::Error: child process exited with code 3221225794 2024-01-23T12:53:55.946Z [APP]::Error: Failed to fetch 2024-01-23T12:58:31.536Z [NITRO]::Debug: Request to kill Nitro 2024-01-23T12:59:05.899Z [NITRO]::Debug: Request to kill Nitro 2024-01-23T12:59:05.895Z [NITRO]::CPU informations - 4 2024-01-23T12:59:06.107Z [NITRO]::Debug: Nitro process is terminated 2024-01-23T12:59:06.616Z [NITRO]::Debug: Spawning Nitro subprocess... 2024-01-23T12:59:08.111Z [NITRO]::Debug: Nitro exited with code: 3221225794 2024-01-23T12:59:08.113Z [NITRO]::Error: child process exited with code 3221225794 2024-01-23T12:59:09.213Z [APP]::Error: Failed to fetch 2024-01-23T12:59:32.509Z [APP]::Error: Failed to fetch 2024-01-23T13:00:08.605Z [NITRO]::Debug: Request to kill Nitro 2024-01-23T13:00:08.616Z [NITRO]::Debug: Nitro process is terminated 2024-01-23T13:13:54.835Z [NITRO]::CPU informations - 4 2024-01-23T13:13:54.837Z [NITRO]::Debug: Request to kill Nitro 2024-01-23T13:13:54.868Z [NITRO]::Debug: Nitro process is terminated 2024-01-23T13:13:55.425Z [NITRO]::Debug: Spawning Nitro subprocess... 2024-01-23T13:13:56.906Z [NITRO]::Debug: Nitro exited with code: 3221225794 2024-01-23T13:13:56.907Z [NITRO]::Error: child process exited with code 3221225794 2024-01-23T13:13:58.010Z [APP]::Error: Failed to fetch 2024-01-23T13:23:50.709Z [NITRO]::Debug: Request to kill Nitro 2024-01-23T13:24:48.250Z [NITRO]::CPU informations - 4 2024-01-23T13:24:48.257Z [NITRO]::Debug: Request to kill Nitro 2024-01-23T13:24:48.471Z [NITRO]::Debug: Nitro process is terminated 2024-01-23T13:24:49.017Z [NITRO]::Debug: Spawning Nitro subprocess... 2024-01-23T13:24:49.020Z [NITRO]::Debug: Spawn nitro at path: C:\Users\Administrator\jan\extensions@janhq\inference-nitro-extension\dist\bin\win-cpu\nitro.exe, and args: 1,127.0.0.1,3928 2024-01-23T13:24:50.779Z [NITRO]::Debug: Nitro exited with code: 3221225794 2024-01-23T13:24:50.782Z [NITRO]::Error: child process exited with code 3221225794 2024-01-23T13:25:47.928Z [NITRO]::Debug: Request to kill Nitro 2024-01-24T05:58:03.342Z [NITRO]::CPU informations - 4 2024-01-24T05:58:03.349Z [NITRO]::Debug: Request to kill Nitro 2024-01-24T05:58:03.574Z [NITRO]::Debug: Nitro process is terminated 2024-01-24T05:58:04.096Z [NITRO]::Debug: Spawning Nitro subprocess... 2024-01-24T05:58:04.099Z [NITRO]::Debug: Spawn nitro at path: C:\Users\Administrator\jan\extensions@janhq\inference-nitro-extension\dist\bin\win-cpu\nitro.exe, and args: 1,127.0.0.1,3928 2024-01-24T05:58:05.890Z [NITRO]::Debug: Nitro exited with code: 3221225794 2024-01-24T05:58:05.892Z [NITRO]::Error: child process exited with code 3221225794 2024-01-24T05:58:17.661Z [NITRO]::Debug: Request to kill Nitro 2024-01-24T06:00:34.405Z [NITRO]::CPU informations - 4 2024-01-24T06:00:34.411Z [NITRO]::Debug: Request to kill Nitro 2024-01-24T06:00:34.617Z [NITRO]::Debug: Nitro process is terminated 2024-01-24T06:00:35.129Z [NITRO]::Debug: Spawning Nitro subprocess... 2024-01-24T06:00:36.745Z [NITRO]::Debug: Nitro exited with code: 3221225794 2024-01-24T06:00:36.747Z [NITRO]::Error: child process exited with code 3221225794 2024-01-24T06:00:37.843Z [APP]::Error: Failed to fetch 2024-01-24T06:00:40.605Z [NITRO]::Debug: Request to kill Nitro 2024-01-24T06:02:20.653Z [NITRO]::CPU informations - 4 2024-01-24T06:02:20.659Z [NITRO]::Debug: Request to kill Nitro 2024-01-24T06:02:20.877Z [NITRO]::Debug: Nitro process is terminated 2024-01-24T06:02:21.396Z [NITRO]::Debug: Spawning Nitro subprocess... 2024-01-24T06:02:22.856Z [NITRO]::Debug: Nitro exited with code: 3221225794 2024-01-24T06:02:22.858Z [NITRO]::Error: child process exited with code 3221225794 2024-01-24T06:02:24.095Z [APP]::Error: Failed to fetch 2024-01-24T06:07:37.800Z [NITRO]::CPU informations - 4 2024-01-24T06:07:37.804Z [NITRO]::Debug: Request to kill Nitro 2024-01-24T06:07:37.853Z [NITRO]::Debug: Nitro process is terminated 2024-01-24T06:07:38.365Z [NITRO]::Debug: Spawning Nitro subprocess... 2024-01-24T06:07:38.675Z [NITRO]::Debug: Nitro exited with code: 3221225781 2024-01-24T06:07:38.676Z [NITRO]::Error: child process exited with code 3221225781 2024-01-24T06:07:39.857Z [APP]::Error: Failed to fetch 2024-01-24T06:09:25.937Z [NITRO]::CPU informations - 4 2024-01-24T06:09:25.939Z [NITRO]::Debug: Request to kill Nitro 2024-01-24T06:09:25.957Z [NITRO]::Debug: Nitro process is terminated 2024-01-24T06:09:26.466Z [NITRO]::Debug: Spawning Nitro subprocess... 2024-01-24T06:09:26.591Z [NITRO]::Debug: Nitro exited with code: 3221225781 2024-01-24T06:09:26.592Z [NITRO]::Error: child process exited with code 3221225781 2024-01-24T06:09:27.738Z [APP]::Error: Failed to fetch

gibaoxi avatar Jan 24 '24 06:01 gibaoxi

@gibaoxi Usually, VPN is not required, you only need to turn it on if you are facing any issues while downloading. After downloaded, you can use any model offline (no internet required). Can you help provide more details about the hardware / RAM that you are using?

Regarding the OpenAI API key, you can receive it after purchasing a subscription from OpenAI. https://e0de418f.jan-qn8.pages.dev/guides/using-models/integrate-with-remote-server/#2-configure-openai-api-keys

Van-QA avatar Jan 24 '24 07:01 Van-QA

Closing the nitro.exe process with code 3221225781 suggests the absence of the VC++ redistributables component in Windows. If this is the case, it would be a good idea to add a check for this component in Jan's installer to exclude the possibility of repeating this issue and give users the opportunity to fix this problem themselves.

Glashkoff avatar Jan 24 '24 14:01 Glashkoff

Closing the nitro.exe process with code 3221225781 suggests the absence of the VC++ redistributables component in Windows. If this is the case, it would be a good idea to add a check for this component in Jan's installer to exclude the possibility of repeating this issue and give users the opportunity to fix this problem themselves.

Thank you for the suggestion, we will work on this soon.

louis-jan avatar Feb 11 '24 02:02 louis-jan

Addressed in Jan v0.4.6-273, @gibaoxi, could you please double check?

Van-QA avatar Feb 18 '24 09:02 Van-QA

Closing the nitro.exe process with code 3221225781 suggests the absence of the VC++ redistributables component in Windows. If this is the case, it would be a good idea to add a check for this component in Jan's installer to exclude the possibility of repeating this issue and give users the opportunity to fix this problem themselves.

Thank you for the suggestion, we will work on this soon.

fyi, we have added the missing DLLs to the nightly build. The fix will be released soon. We will no longer depend on the VC++ redistributable components then.

louis-jan avatar Feb 19 '24 16:02 louis-jan

Closing this as we resolved the issue of missing DLLs as of 0.4.7. Other issues with similar error code 3221225781, please follow up here: https://github.com/janhq/jan/issues/2165 (Missing NVIDIA driver when using GPU)

Van-QA avatar Feb 27 '24 04:02 Van-QA