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
code i am running
python3 auth-test.py (a renamed version of app.py from the 2.20.0 version of spotipy)
environment:
python3
pip3
spotipy=2.20.0
error message:
`python3 auth-test.py
Serving Flask app 'auth-test' (lazy loading)
Environment: production
WARNING: This is a development server. Do not use it in a production deployment.
Use a production WSGI server instead.
Debug mode: off
Running on http://127.0.0.1:8080 (Press CTRL+C to quit)
[2022-07-06 20:08:26,738] ERROR in app: Exception on / [GET]
Traceback (most recent call last):
File "/Library/Frameworks/Python.framework/Versions/3.8/lib/python3.8/site-packages/flask/app.py", line 2077, in wsgi_app
response = self.full_dispatch_request()
File "/Library/Frameworks/Python.framework/Versions/3.8/lib/python3.8/site-packages/flask/app.py", line 1525, in full_dispatch_request
rv = self.handle_user_exception(e)
File "/Library/Frameworks/Python.framework/Versions/3.8/lib/python3.8/site-packages/flask/app.py", line 1523, in full_dispatch_request
rv = self.dispatch_request()
File "/Library/Frameworks/Python.framework/Versions/3.8/lib/python3.8/site-packages/flask/app.py", line 1509, in dispatch_request
return self.ensure_sync(self.view_functions[rule.endpoint])(**req.view_args)
File "auth-test.py", line 41, in index
cache_handler = spotipy.cache_handler.FlaskSessionCacheHandler(session)
AttributeError: module 'spotipy.cache_handler' has no attribute 'FlaskSessionCacheHandler'`
I can see that there is a newly added flask session cache handler in the version 2.20.0, but despite having the latest version of spottily installed, i am getting an error. would love any help! thanks in advance!
The text was updated successfully, but these errors were encountered:
code i am running
python3 auth-test.py (a renamed version of app.py from the 2.20.0 version of spotipy)
environment:
python3
pip3
spotipy=2.20.0
error message:
`python3 auth-test.py
WARNING: This is a development server. Do not use it in a production deployment.
Use a production WSGI server instead.
[2022-07-06 20:08:26,738] ERROR in app: Exception on / [GET]
Traceback (most recent call last):
File "/Library/Frameworks/Python.framework/Versions/3.8/lib/python3.8/site-packages/flask/app.py", line 2077, in wsgi_app
response = self.full_dispatch_request()
File "/Library/Frameworks/Python.framework/Versions/3.8/lib/python3.8/site-packages/flask/app.py", line 1525, in full_dispatch_request
rv = self.handle_user_exception(e)
File "/Library/Frameworks/Python.framework/Versions/3.8/lib/python3.8/site-packages/flask/app.py", line 1523, in full_dispatch_request
rv = self.dispatch_request()
File "/Library/Frameworks/Python.framework/Versions/3.8/lib/python3.8/site-packages/flask/app.py", line 1509, in dispatch_request
return self.ensure_sync(self.view_functions[rule.endpoint])(**req.view_args)
File "auth-test.py", line 41, in index
cache_handler = spotipy.cache_handler.FlaskSessionCacheHandler(session)
AttributeError: module 'spotipy.cache_handler' has no attribute 'FlaskSessionCacheHandler'`
I can see that there is a newly added flask session cache handler in the version 2.20.0, but despite having the latest version of spottily installed, i am getting an error. would love any help! thanks in advance!
The text was updated successfully, but these errors were encountered: