spotipy-dev / spotipy

A light weight Python library for the Spotify Web API
http://spotipy.readthedocs.org
MIT License
5.05k stars 960 forks source link

EOF error in heroku deployment of spotify API #729

Closed Jgalicia2 closed 3 years ago

Jgalicia2 commented 3 years ago

Hello, I've created a webpage using Spotipy. It runs well locally but the deployment to heroku is not going well. Raw_input is declared as undefined and there error given to me is an EOF Error is there a specific way raw_input is supposed to be used when deployed to heroku? If it runs locally, should there be any issue running it on heroku.

Thanks, any help is appreciated.

Screen Shot 2021-09-22 at 12 05 52 AM
stephanebruckert commented 3 years ago

This lacks a bit of information for me to help properly. Is your back-end designed as an API? What framework are you using?

From the FAQ you will find a flask script that shows off how to use spotipy in an API https://github.com/plamere/spotipy/blob/master/FAQ.md#how-to-use-spotipy-in-an-api

Does this help? If not, please provide a minimal, reproducible example of your code.

stephanebruckert commented 3 years ago

Hope the above answer helped @Jgalicia2