-
Notifications
You must be signed in to change notification settings - Fork 959
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
.artist() query hanging #1032
Labels
Comments
I think I might be having a similar issue, no matter what I try to do with the client object after creating it, the subsequent call just hangs. Keyboard interrupt doesn't seem to do anything, presumably because it wont get through until the sleep timer ends. |
Related? #913 |
I figured my issue out. It was a simple case of Spotify limiting the amount
of queries you can perform. I was able to confirm this because my code
worked just fine with a friend's dev account, but not with mine. They then
seemed to lift the limit after 24 hours because it started to work again
the next day.
…On Mon, Nov 6, 2023 at 4:42 PM CDeLeon94 ***@***.***> wrote:
Related? #913 <#913>
—
Reply to this email directly, view it on GitHub
<#1032 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AM2R5EX3Z5UBCGXTAJ3LT5DYDFKVXAVCNFSM6AAAAAA6ASNTCOVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTOOJWGU3TGMJSGI>
.
You are receiving this because you authored the thread.Message ID:
***@***.***>
|
Closing as it seems the problem has been solved. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Describe the bug
When trying to query the information of an artist, the query hangs. I thought this could be an issue with rate limits, but I haven't run my code in a while, and I make sure this is the first query I execute. I've tried other queries as well, all which work perfectly. I can extract my playlist and get the songs from my playlist. But the moment I want to get information on the artist, it ceases to work. It just hangs for an indefinite amount of time. The odd part was that nothing in my code changed. It was working perfectly fine one moment, then just stopped working, and hasn't began working again all day. I don't get any errors, but I pasted some of the output when I do a keyboard inturrupt.
Your code
import spotipy
import spotipy.util as util
from spotipy.oauth2 import SpotifyOAuth
username = 'hidden'
token = util.prompt_for_user_token(username)
spotifyObject = spotipy.Spotify(auth=token, requests_timeout=10, retries=10)
artistDetails = spotifyObject.artist('3EgMK920cIH5aLxFnJ6zSi')
Expected behavior
For the last line of code to return information about the artist with their code.
Output
Environment:
The text was updated successfully, but these errors were encountered: