mirror of
https://github.com/spotipy-dev/spotipy.git
synced 2026-04-27 00:25:54 +03:00
[GH-ISSUE #737] spotifyObject exists but no data is being received. #446
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#446
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 @olsonap on GitHub (Oct 28, 2021).
Original GitHub issue: https://github.com/spotipy-dev/spotipy/issues/737
I can't get any information from the spotify object which I know exists.
For example:
Nothing ever gets printed.
After keyboard interrupt, here's the terminal output.
File "D:\PyCharm Projects\JAMLabs\spotify.py", line 165, in update_device
devices = spotifyObject.devices()
File "D:\PyCharm Projects\JAMLabs\venv\lib\site-packages\spotipy\client.py", line 169
4, in devices
return self._get("me/player/devices")
File "D:\PyCharm Projects\JAMLabs\venv\lib\site-packages\spotipy\client.py", line 297
, in _get
return self._internal_call("GET", url, payload, kwargs)
File "D:\PyCharm Projects\JAMLabs\venv\lib\site-packages\spotipy\client.py", line 240
, in _internal_call
response = self._session.request(
File "D:\PyCharm Projects\JAMLabs\venv\lib\site-packages\requests\sessions.py", line
542, in request
resp = self.send(prep, **send_kwargs)
File "D:\PyCharm Projects\JAMLabs\venv\lib\site-packages\requests\sessions.py", line
655, in send
r = adapter.send(request, **kwargs)
File "D:\PyCharm Projects\JAMLabs\venv\lib\site-packages\requests\adapters.py", line
439, in send
resp = conn.urlopen(
File "D:\PyCharm Projects\JAMLabs\venv\lib\site-packages\urllib3\connectionpool.py", line 844, in urlopen
retries.sleep(response)
File "D:\PyCharm Projects\JAMLabs\venv\lib\site-packages\urllib3\util\retry.py", line 410, in sleep
slept = self.sleep_for_retry(response)
File "D:\PyCharm Projects\JAMLabs\venv\lib\site-packages\urllib3\util\retry.py", line 389, in sleep_for_retry
time.sleep(retry_after)
KeyboardInterrupt
@olsonap commented on GitHub (Oct 28, 2021):
Is anyone else having this issue right now? My entire project is useless now. I don't see how it could be on my end as I didn't change anything.
@olsonap commented on GitHub (Oct 31, 2021):
This is so bizarre. Every evening, my program stops working and I get the same issue. Every morning, it works fine again like nothing ever happened.
File "D:\PyCharm Projects\JAMLabs\spotify.py", line 178, in update_device
devices = spotifyObject.devices()
File "D:\PyCharm Projects\JAMLabs\venv\lib\site-packages\spotipy\client.py", line 1694, in devices
return self._get("me/player/devices")
File "D:\PyCharm Projects\JAMLabs\venv\lib\site-packages\spotipy\client.py", line 297, in _get
return self._internal_call("GET", url, payload, kwargs)
Does the Spotify API stop working at night? I don't understand.
@Peter-Schorn commented on GitHub (Oct 31, 2021):
It may be an issue with your internet connection. Are you sure it stops in
self._internal_call("GET", url, payload, kwargs)? Is this the full stack trace?@dieser-niko commented on GitHub (May 23, 2024):
Closing as there is no activity or reply from the author.