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

First run after installation fails with error "'Thread' object has no attribute 'isAlive'" #89

Open
phunanon opened this issue Mar 2, 2022 · 2 comments

Comments

@phunanon
Copy link

phunanon commented Mar 2, 2022

I installed with pip install spotify-terminal on my Raspberry Pi Linux raspberrypi 5.10.92+ #1514 Mon Jan 17 17:35:21 GMT 2022 armv6l GNU/Linux
Python 3.9.2, pip 20.3.4
I then closed and reopened my terminal and ran spotify-terminal.py -u xxxxx (user ID) and received this output:

... ASCII art ...
   v0.15.3

Exception in thread Thread-2:
Traceback (most recent call last):
  File "/usr/lib/python3.9/threading.py", line 954, in _bootstrap_inner
    self.run()
  File "/usr/lib/python3.9/threading.py", line 892, in run
    self._target(*self._args, **self._kwargs)
  File "/home/pi/.local/lib/python3.9/site-packages/spotify_terminal/authentication.py", line 67, in show_link
    if web_thread.isAlive():
AttributeError: 'Thread' object has no attribute 'isAlive'
@phunanon phunanon changed the title First run after installation fails with error " First run after installation fails with error "'Thread' object has no attribute 'isAlive'" Mar 2, 2022
@marcdjulien
Copy link
Owner

A fix for this was recently merged:
#88

I'll deploy it to pypi later today.

@ghost
Copy link

ghost commented Jul 3, 2022

second run throws a segfault (pip, windows 11)

image

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

2 participants