You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
E:\SpotifyNow>start.bat
Expecting value: line 1 column 1 (char 0)
Expecting value: line 1 column 1 (char 0)
Expecting value: line 1 column 1 (char 0)
Expecting value: line 1 column 1 (char 0)
Expecting value: line 1 column 1 (char 0)
2023-07-23 14:59:03,676
telegram.utils.promise
An uncaught error was raised while running the promise
Traceback (most recent call last):
File "spotifynow.py", line 135, in nowplaying
r = r.json()
File "E:\SpotifyNow\env\lib\site-packages\requests\models.py", line 898, in json
return complexjson.loads(self.text, **kwargs)
File "C:\Python38\lib\json\__init__.py", line 357, in loads
return _default_decoder.decode(s)
File "C:\Python38\lib\json\decoder.py", line 337, in decode
obj, end = self.raw_decode(s, idx=_w(s, 0).end())
File "C:\Python38\lib\json\decoder.py", line 355, in raw_decode
raise JSONDecodeError("Expecting value", s, err.value) from None
json.decoder.JSONDecodeError: Expecting value: line 1 column 1 (char 0)
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "E:\SpotifyNow\env\lib\site-packages\telegram\utils\promise.py", line 56, in run
self._result = self.pooled_function(*self.args, **self.kwargs)
File "spotifynow.py", line 156, in nowplaying
update.message.reply_text("You're not listening to anything on Spotify at the moment.")
File "E:\SpotifyNow\env\lib\site-packages\telegram\message.py", line 515, in reply_text
return self.bot.send_message(self.chat_id, *args, **kwargs)
File "<decorator-gen-2>", line 2, in send_message
File "E:\SpotifyNow\env\lib\site-packages\telegram\bot.py", line 67, in decorator
result = func(*args, **kwargs)
File "E:\SpotifyNow\env\lib\site-packages\telegram\bot.py", line 346, in send_message
return self._message(url, data, disable_notification=disable_notification,
File "E:\SpotifyNow\env\lib\site-packages\telegram\bot.py", line 175, in _message
result = self._request.post(url, data, timeout=timeout)
File "E:\SpotifyNow\env\lib\site-packages\telegram\utils\request.py", line 330, in post
result = self._request_wrapper('POST', url,
File "E:\SpotifyNow\env\lib\site-packages\telegram\utils\request.py", line 244, in _request_wrapper
raise BadRequest(message)
telegram.error.BadRequest: Replied message not found
Expecting value: line 1 column 1 (char 0)
2023-07-23 14:59:17,626
telegram.utils.promise
An uncaught error was raised while running the promise
Traceback (most recent call last):
File "E:\SpotifyNow\env\lib\site-packages\telegram\utils\promise.py", line 56, in run
self._result = self.pooled_function(*self.args, **self.kwargs)
File "spotifynow.py", line 109, in nowplaying
context.bot.sendChatAction(update.message.chat_id, ChatAction.TYPING)
File "<decorator-gen-20>", line 2, in send_chat_action
File "E:\SpotifyNow\env\lib\site-packages\telegram\bot.py", line 67, in decorator
result = func(*args, **kwargs)
File "E:\SpotifyNow\env\lib\site-packages\telegram\bot.py", line 1515, in send_chat_action
result = self._request.post(url, data, timeout=timeout)
File "E:\SpotifyNow\env\lib\site-packages\telegram\utils\request.py", line 330, in post
result = self._request_wrapper('POST', url,
File "E:\SpotifyNow\env\lib\site-packages\telegram\utils\request.py", line 242, in _request_wrapper
raise Unauthorized(message)
telegram.error.Unauthorized: Forbidden: bot was blocked by the user
2023-07-23 15:01:49,036
telegram.utils.promise
An uncaught error was raised while running the promise
Traceback (most recent call last):
File "spotifynow.py", line 132, in nowplaying
'Authorization': 'Bearer '+token['access_token']
KeyError: 'access_token'
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "E:\SpotifyNow\env\lib\site-packages\telegram\utils\promise.py", line 56, in run
self._result = self.pooled_function(*self.args, **self.kwargs)
File "spotifynow.py", line 156, in nowplaying
update.message.reply_text("You're not listening to anything on Spotify at the moment.")
File "E:\SpotifyNow\env\lib\site-packages\telegram\message.py", line 515, in reply_text
return self.bot.send_message(self.chat_id, *args, **kwargs)
File "<decorator-gen-2>", line 2, in send_message
File "E:\SpotifyNow\env\lib\site-packages\telegram\bot.py", line 67, in decorator
result = func(*args, **kwargs)
File "E:\SpotifyNow\env\lib\site-packages\telegram\bot.py", line 346, in send_message
return self._message(url, data, disable_notification=disable_notification,
File "E:\SpotifyNow\env\lib\site-packages\telegram\bot.py", line 175, in _message
result = self._request.post(url, data, timeout=timeout)
File "E:\SpotifyNow\env\lib\site-packages\telegram\utils\request.py", line 330, in post
result = self._request_wrapper('POST', url,
File "E:\SpotifyNow\env\lib\site-packages\telegram\utils\request.py", line 244, in _request_wrapper
raise BadRequest(message)
telegram.error.BadRequest: Replied message not found
Do not print user data in console
Porcodio is listening to Cheri Cheri Lady by Modern Talking on Let's Talk About Love.
Porcodio is listening to Cheri Cheri Lady by Modern Talking on Let's Talk About Love.
The text was updated successfully, but these errors were encountered:
List of stuff to fix or add exceptions for
The text was updated successfully, but these errors were encountered: