Skip to content

Debugging code #118

Answered by pranjal-joshi
anuphw asked this question in Q&A
Discussion options

You must be logged in to vote

Hi @anuphw,

I'm glad that you find the tools useful and that you are looking forward to contribute.
Try adding exception printing in the following line before an if statement:

except Exception as e:
if printCounter:
print(colorText.FAIL +
("\n[+] Exception Occured while Screening %s! Skipping this stock.." % stock) + colorText.END)

Also, You can try to debug by forcing multiprocessing to run only one child process by setting totalConsumer=1 for easy debugging.

Screeni-py/src/screenipy.py

Lines 257 to 258 in 6d9f406

if configManager.cacheEnabled is True and multiprocessing.c…

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by anuphw
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
help wanted Extra attention is needed question Further information is requested
2 participants