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

'Thread' object has no attribute 'isAlive' #328

Open
EBoiSha opened this issue Mar 14, 2022 · 0 comments
Open

'Thread' object has no attribute 'isAlive' #328

EBoiSha opened this issue Mar 14, 2022 · 0 comments

Comments

@EBoiSha
Copy link

EBoiSha commented Mar 14, 2022

Hi!

In "/usr/local/lib/python3.9/site-packages/pattern/web/init.py" we have isAlive() in line 224. Running the asynchronous requests example from pattern web it throws:

Traceback (most recent call last):
File "/Users/eyoshi/Python/Pattern/pattern_web_example.py", line 20, in
while not request.done:
File "/usr/local/lib/python3.9/site-packages/pattern/web/init.py", line 224, in done
return not self._thread.isAlive()
AttributeError: 'Thread' object has no attribute 'isAlive'

isAlive needs to be changed to is_alive() here.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant