Closed 111100001 closed 3 weeks ago
same problem very annoying.
Can you please launch the 'Nvidia chatrtx.exe' from cmd and share me the cmd logs the exe is located at: C:\Program Files\NVIDIA Corporation\ChatRTX\RAG\trt-llm-rag-windows-ChatRTX_0.4.0\ChatRTXUI\dist\win-unpacked
are you installing though the NvAPP ?
yes
yea I have the exact same issue
UPDATE: i have fixed the issue by launching the app_launch.py from the CMD (admin mode) python3 app_launch.py
and i got an error that said no module named win32process was found
i looked it up and found similar issue in another software but the solution was to install pypiwin32
using pip
and tried running the app again and it worked
pip install -U pypiwin32
still not working for me
edit: nope, it's working, thanks bro.
UPDATE: i have fixed the issue by launching the app_launch.py from the CMD (admin mode)
python3 app_launch.py
and i got an error that said no module named win32process was foundi looked it up and found similar issue in another software but the solution was to install
pypiwin32
usingpip
and tried running the app again and it worked
pip install -U pypiwin32
@111100001 I don't think this issue should be closes. While you found a workaround/the underlying cause, this is still an issue with the default installation.
UPDATE: i have fixed the issue by launching the app_launch.py from the CMD (admin mode)
python3 app_launch.py
and i got an error that said no module named win32process was foundi looked it up and found similar issue in another software but the solution was to install
pypiwin32
usingpip
and tried running the app again and it worked
pip install -U pypiwin32
Didn't work for me. I'm still stuck on loading screen.
UPDATE: i have fixed the issue by launching the app_launch.py from the CMD (admin mode)
python3 app_launch.py
and i got an error that said no module named win32process was found i looked it up and found similar issue in another software but the solution was to installpypiwin32
usingpip
and tried running the app again and it workedpip install -U pypiwin32
Didn't work for me. I'm still stuck on loading screen.
In addition to installing the depencency, try running the application as administrator.
UPDATE: i have fixed the issue by launching the app_launch.py from the CMD (admin mode)
python3 app_launch.py
and i got an error that said no module named win32process was found i looked it up and found similar issue in another software but the solution was to installpypiwin32
usingpip
and tried running the app again and it workedpip install -U pypiwin32
Didn't work for me. I'm still stuck on loading screen.
In addition to installing the depencency, try running the application as administrator.
Didn't work.
22:52:26.958 > Error while loading C:\Program Files\NVIDIA Corporation\ChatRTX\RAG\trt-llm-rag-windows-ChatRTX_0.4.0\ChatRTXUI\engine\ChatRTXUIEngine.py PY Python Error Call to 'fileImport' failed:
chatbot = await python(pyfile)
at async initializeChatbot (C:\Program Files\NVIDIA Corporation\ChatRTX\RAG\trt-llm-rag-windows-ChatRTX_0.4.0\ChatRTXUI\dist\win-unpacked\resources\app.asar\build\bridge_commands\chatbot\chatbot.js:33:19) at async initializeBridgeCommands (C:\Program Files\NVIDIA Corporation\ChatRTX\RAG\trt-llm-rag-windows-ChatRTX_0.4.0\ChatRTXUI\dist\win-unpacked\resources\app.asar\build\bridge_commands\index.js:21:18)
... across the bridge ...
nltk.data.find("tokenizers/punkt") at init (C:\Program Files\NVIDIA Corporation\ChatRTX\env_nvd_rag\lib\site-packages\llama_index\core\utils.py:65) raise LookupError(resource_not_found) at find (C:\Program Files\NVIDIA Corporation\ChatRTX\env_nvd_rag\lib\site-packages\nltk\data.py:579) at exec_module (
:883) at _call_with_frames_removed ( :241) from backend import Backend, Mode at (C:\Program Files\NVIDIA Corporation\ChatRTX\RAG\trt-llm-rag-windows-ChatRTX_0.4.0\ChatRTXUI\engine\ChatRTXUIEngine.py:33) from ChatRTX.chatrtx import ChatRTX at (C:\Program Files\NVIDIA Corporation\ChatRTX\RAG\trt-llm-rag-windows-ChatRTX_0.4.0\ChatRTXUI\engine\backend.py:2) from ChatRTX.inference.pytorch.CLIP import ClipInference at (C:\Program Files\NVIDIA Corporation\ChatRTX\env_nvd_rag\lib\site-packages\ChatRTX\chatrtx.py:23) from llama_index.core.schema import TextNode at (C:\Program Files\NVIDIA Corporation\ChatRTX\env_nvd_rag\lib\site-packages\ChatRTX\inference\pytorch\CLIP.py:26) from llama_index.core.base.response.schema import Response at (C:\Program Files\NVIDIA Corporation\ChatRTX\env_nvd_rag\lib\site-packages\llama_index\core__init__.py:10) from llama_index.core.schema import NodeWithScore at (C:\Program Files\NVIDIA Corporation\ChatRTX\env_nvd_rag\lib\site-packages\llama_index\core\base\response\schema.py:9) from llama_index.core.utils import SAMPLE_TEXT, truncate_text at (C:\Program Files\NVIDIA Corporation\ChatRTX\env_nvd_rag\lib\site-packages\llama_index\core\schema.py:18) globals_helper = GlobalsHelper() at (C:\Program Files\NVIDIA Corporation\ChatRTX\env_nvd_rag\lib\site-packages\llama_index\core\utils.py:89) nltk.download("punkt_tab", download_dir=self._nltk_data_dir) at init (C:\Program Files\NVIDIA Corporation\ChatRTX\env_nvd_rag\lib\site-packages\llama_index\core\utils.py:67) for msg in self.incr_download(info_or_id, download_dir, force): at download (C:\Program Files\NVIDIA Corporation\ChatRTX\env_nvd_rag\lib\site-packages\nltk\downloader.py:774) yield from self._download_package(info, download_dir, force) at incr_download (C:\Program Files\NVIDIA Corporation\ChatRTX\env_nvd_rag\lib\site-packages\nltk\downloader.py:642) os.makedirs(os.path.join(download_dir, info.subdir), exist_ok=True) at _download_package (C:\Program Files\NVIDIA Corporation\ChatRTX\env_nvd_rag\lib\site-packages\nltk\downloader.py:699) at makedirs (os.py:225) JS PermissionError: [WinError 5] Access is denied: 'C:\Program Files\NVIDIA Corporation\ChatRTX\env_nvd_rag\lib\site-packages\llama_index\core\_static/nltk_cache\tokenizers' 22:52:26.959 > Error while getting bridge commands TypeError: Cannot read properties of undefined (reading 'ChatBot') at new Chatbot (C:\Program Files\NVIDIA Corporation\ChatRTX\RAG\trt-llm-rag-windows-ChatRTX_0.4.0\ChatRTXUI\dist\win-unpacked\resources\app.asar\build\bridge_commands\chatbot\chatbot.js:79:27) at Chatbot.init (C:\Program Files\NVIDIA Corporation\ChatRTX\RAG\trt-llm-rag-windows-ChatRTX_0.4.0\ChatRTXUI\dist\win-unpacked\resources\app.asar.unpacked\node_modules\pythonia\src\pythonia\Bridge.js:48:18) at initializeChatbot (C:\Program Files\NVIDIA Corporation\ChatRTX\RAG\trt-llm-rag-windows-ChatRTX_0.4.0\ChatRTXUI\dist\win-unpacked\resources\app.asar\build\bridge_commands\chatbot\chatbot.js:227:38) at process.processTicksAndRejections (node:internal/process/task_queues:95:5) at async initializeBridgeCommands (C:\Program Files\NVIDIA Corporation\ChatRTX\RAG\trt-llm-rag-windows-ChatRTX_0.4.0\ChatRTXUI\dist\win-unpacked\resources\app.asar\build\bridge_commands\index.js:21:18)
Same error here
Once I've started powershell as admin Nvidia chatrtx.exe
works
i reinstalled multiple times and that didn't fix it. someone on reddit comments reported the same issue (op is me)