You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Windows 10. Running locally. The error appears after generating chat
Full text:
2023-10-25 01:46:49.561 Uncaught app exception
Traceback (most recent call last):
File "C:\Users\exore\anaconda3\envs\ArxivChatGuru\lib\site-packages\streamlit\runtime\caching\cache_utils.py", line 263, in _get_or_create_cached_value
cached_result = cache.read_result(value_key)
File "C:\Users\exore\anaconda3\envs\ArxivChatGuru\lib\site-packages\streamlit\runtime\caching\cache_resource_api.py", line 500, in read_result
raise CacheKeyNotFoundError()
streamlit.runtime.caching.cache_errors.CacheKeyNotFoundError
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "C:\Users\exore\anaconda3\envs\ArxivChatGuru\lib\site-packages\streamlit\runtime\caching\cache_utils.py", line 311, in _handle_cache_miss
cached_result = cache.read_result(value_key)
File "C:\Users\exore\anaconda3\envs\ArxivChatGuru\lib\site-packages\streamlit\runtime\caching\cache_resource_api.py", line 500, in read_result
raise CacheKeyNotFoundError()
streamlit.runtime.caching.cache_errors.CacheKeyNotFoundError
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "C:\Users\exore\anaconda3\envs\ArxivChatGuru\lib\site-packages\redis\connection.py", line 264, in connect
sock = self.retry.call_with_retry(
File "C:\Users\exore\anaconda3\envs\ArxivChatGuru\lib\site-packages\redis\retry.py", line 46, in call_with_retry
return do()
File "C:\Users\exore\anaconda3\envs\ArxivChatGuru\lib\site-packages\redis\connection.py", line 265, in <lambda>
lambda: self._connect(), lambda error: self.disconnect(error)
File "C:\Users\exore\anaconda3\envs\ArxivChatGuru\lib\site-packages\redis\connection.py", line 628, in _connect
raise err
File "C:\Users\exore\anaconda3\envs\ArxivChatGuru\lib\site-packages\redis\connection.py", line 616, in _connect
sock.connect(socket_address)
ConnectionRefusedError: [WinError 10061] No connection could be made because the target machine actively refused it
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "C:\Users\exore\anaconda3\envs\ArxivChatGuru\lib\site-packages\streamlit\runtime\scriptrunner\script_runner.py", line 541, in _run_script
exec(code, module.__dict__)
File "C:\Users\exore\Desktop\ArxivChatGuru\app\app.py", line 116, in <module>
create_arxiv_index(st.session_state['arxiv_topic'], st.session_state['num_papers'], prompt)
File "C:\Users\exore\anaconda3\envs\ArxivChatGuru\lib\site-packages\streamlit\runtime\caching\cache_utils.py", line 211, in wrapper
return cached_func(*args, **kwargs)
File "C:\Users\exore\anaconda3\envs\ArxivChatGuru\lib\site-packages\streamlit\runtime\caching\cache_utils.py", line 240, in __call__
return self._get_or_create_cached_value(args, kwargs)
File "C:\Users\exore\anaconda3\envs\ArxivChatGuru\lib\site-packages\streamlit\runtime\caching\cache_utils.py", line 266, in _get_or_create_cached_value
return self._handle_cache_miss(cache, value_key, func_args, func_kwargs)
File "C:\Users\exore\anaconda3\envs\ArxivChatGuru\lib\site-packages\streamlit\runtime\caching\cache_utils.py", line 320, in _handle_cache_miss
computed_value = self._info.func(*func_args, **func_kwargs)
File "C:\Users\exore\Desktop\ArxivChatGuru\app\app.py", line 26, in create_arxiv_index
arxiv_db = get_vectorstore(arxiv_documents)
File "C:\Users\exore\Desktop\ArxivChatGuru\app\qna\db.py", line 43, in get_vectorstore
vectorstore = RedisVDB.from_documents(
File "C:\Users\exore\anaconda3\envs\ArxivChatGuru\lib\site-packages\langchain\schema\vectorstore.py", line 438, in from_documents
return cls.from_texts(texts, embedding, metadatas=metadatas, **kwargs)
File "C:\Users\exore\anaconda3\envs\ArxivChatGuru\lib\site-packages\langchain\vectorstores\redis\base.py", line 497, in from_texts
instance, _ = cls.from_texts_return_keys(
File "C:\Users\exore\anaconda3\envs\ArxivChatGuru\lib\site-packages\langchain\vectorstores\redis\base.py", line 414, in from_texts_return_keys
instance = cls(
File "C:\Users\exore\anaconda3\envs\ArxivChatGuru\lib\site-packages\langchain\vectorstores\redis\base.py", line 280, in __init__
check_redis_module_exist(redis_client, REDIS_REQUIRED_MODULES)
File "C:\Users\exore\anaconda3\envs\ArxivChatGuru\lib\site-packages\langchain\utilities\redis.py", line 49, in check_redis_module_exist
installed_modules = client.module_list()
File "C:\Users\exore\anaconda3\envs\ArxivChatGuru\lib\site-packages\redis\commands\core.py", line 5885, in module_list
return self.execute_command("MODULE LIST")
File "C:\Users\exore\anaconda3\envs\ArxivChatGuru\lib\site-packages\redis\client.py", line 533, in execute_command
conn = self.connection or pool.get_connection(command_name, **options)
File "C:\Users\exore\anaconda3\envs\ArxivChatGuru\lib\site-packages\redis\connection.py", line 1087, in get_connection
connection.connect()
File "C:\Users\exore\anaconda3\envs\ArxivChatGuru\lib\site-packages\redis\connection.py", line 270, in connect
raise ConnectionError(self._error_message(e))
redis.exceptions.ConnectionError: Error 10061 connecting to localhost:6379. No connection could be made because the target machine actively refused it.
The text was updated successfully, but these errors were encountered:
Windows 10. Running locally. The error appears after generating chat
Full text:
The text was updated successfully, but these errors were encountered: