Closed avinayshah closed 2 years ago
@pranjal-joshi help is appreciated. Thanks in advance.
Describe the bug Downloaded the latest code and did pip install -r requirements.txt and when running the screenipy.py with any individual stock or group of stock, I see an exception. While debugging I found that while executing with alive_bar there seems to be an exception.
with alive_bar(numStocks, bar=bar, spinner=spinner) as progressbar: while numStocks: result = results_queue.get() if result is not None: screenResults = screenResults.append( result[0], ignore_index=True) saveResults = saveResults.append( result[1], ignore_index=True) numStocks -= 1 progressbar.text(colorText.BOLD + colorText.GREEN + f'Found {screenResultsCounter.value} Stocks' + colorText.END) progressbar() except KeyboardInterrupt:
Please post the exception thrown.
@pranjal-joshi
Make sure that you've installed it correctly.
Run pip install alive-progress
.
If the error persist, share the traceback of exception thrown in the terminal.
I believe it is installed.
I commented the dots_recur to let it use the waves and it seem to not throw the error
Read the alive progress documentation.
Choose the spinner animation that works with your OS.
If you're planning to use it for Screening instead of modifying the features, you can download the screenipy.exe
from the Release section to save the hassle of dependency installation.
This Issue is marked as Stale due to Inactivity. This Issue will be Closed soon.
Describe the bug Downloaded the latest code and did pip install -r requirements.txt and when running the screenipy.py with any individual stock or group of stock, I see an exception. While debugging I found that while executing with alive_bar there seems to be an exception.
with alive_bar(numStocks, bar=bar, spinner=spinner) as progressbar: while numStocks: result = results_queue.get() if result is not None: screenResults = screenResults.append( result[0], ignore_index=True) saveResults = saveResults.append( result[1], ignore_index=True) numStocks -= 1 progressbar.text(colorText.BOLD + colorText.GREEN + f'Found {screenResultsCounter.value} Stocks' + colorText.END) progressbar() except KeyboardInterrupt: