[GH-ISSUE #729] EOF error in heroku deployment of spotify API #441

Closed
opened 2026-02-27 23:22:38 +03:00 by kerem · 2 comments
Owner

Originally created by @Jgalicia2 on GitHub (Sep 22, 2021).
Original GitHub issue: https://github.com/spotipy-dev/spotipy/issues/729

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 >
Originally created by @Jgalicia2 on GitHub (Sep 22, 2021). Original GitHub issue: https://github.com/spotipy-dev/spotipy/issues/729 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. <img width="524" alt="Screen Shot 2021-09-22 at 12 05 52 AM" src="https://user-images.githubusercontent.com/60409069/134281874-2e5130e1-e32a-4c20-9704-52043024f0a5.png"> >
kerem 2026-02-27 23:22:38 +03:00
  • closed this issue
  • added the
    question
    label
Author
Owner

@stephanebruckert commented on GitHub (Sep 29, 2021):

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.

<!-- gh-comment-id:930562315 --> @stephanebruckert commented on GitHub (Sep 29, 2021): 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.
Author
Owner

@stephanebruckert commented on GitHub (Oct 23, 2021):

Hope the above answer helped @Jgalicia2

<!-- gh-comment-id:950141986 --> @stephanebruckert commented on GitHub (Oct 23, 2021): Hope the above answer helped @Jgalicia2
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/spotipy#441
No description provided.