mirror of
https://github.com/spotipy-dev/spotipy.git
synced 2026-04-26 16:15:51 +03:00
[GH-ISSUE #908] Possible bug, sp.next() freezes async bot. #546
Labels
No labels
api-bug
bug
dependencies
documentation
duplicate
enhancement
external-ide
headless-mode
implicit-grant-flow
invalid
missing-endpoint
pr-welcome
private-api
pull-request
question
spotipy3
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/spotipy#546
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @BEMZ01 on GitHub (Nov 30, 2022).
Original GitHub issue: https://github.com/spotipy-dev/spotipy/issues/908
Hi there,
This segment of code has been giving me a headache for the last couple of days, whenever I call sp.next() my script freezes up as if it enters an infinate loop.
Not too sure if it's me overlooking something or a genuine bug, as the terminal isnt spitting any errors. I've looked through pottential issues
@dieser-niko commented on GitHub (May 23, 2024):
Does it suddenly freeze or right at the beginning? I suspect you might have hit a request limit. urllib is then trying to wait until the rate limit is gone. However, this can take hours for some particular reason.
If you want to get an error instead, then you could do something like this:
@dieser-niko commented on GitHub (Jan 3, 2025):
Hi @BEMZ01, just a quick heads up, we have released a new version (2.25.0) that prints a warning when a limit is reached. I'm not sure if you're using
retries=0, but if not, this change will warn you when you reach a limit.Also I'm going to close this issue as there's no activity.