Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Getting below error while finding the similar stock #214

Closed
hitendra123 opened this issue Nov 10, 2023 · 1 comment
Closed

Getting below error while finding the similar stock #214

hitendra123 opened this issue Nov 10, 2023 · 1 comment
Labels
bug Something isn't working Fixed This issue has been fixed

Comments

@hitendra123
Copy link

2023-11-10 17:37:32 self.run()
2023-11-10 17:37:32 File "/usr/local/lib/python3.10/threading.py", line 953, in run
2023-11-10 17:37:32 self._target(*self._args, **self._kwargs)
2023-11-10 17:37:32 File "/opt/program/src/streamlit_app.py", line 93, in dummy_call
2023-11-10 17:37:32 screenipy_main(execute_inputs=execute_inputs)
2023-11-10 17:37:32 File "/opt/program/src/screenipy.py", line 375, in main
2023-11-10 17:37:32 for stock in listStockCodes]
2023-11-10 17:37:32 UnboundLocalError: local variable 'listStockCodes' referenced before assignment

@pranjal-joshi
Copy link
Owner

pranjal-joshi commented Nov 23, 2023

Fixed this in 78a27ea
It was happening because of the lower version of sqlite3 was causing failure to init chromadb, thus skipping the piece of code that caused this variable referenced before the assignment
Thanks for reporting the bug @hitendra123

@pranjal-joshi pranjal-joshi added bug Something isn't working Fixed This issue has been fixed labels Nov 23, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working Fixed This issue has been fixed
Projects
None yet
Development

No branches or pull requests

2 participants