Failed deployment revisited

Hi!

Today I tried to deploy one of my projects just to see how it works (again). The deployment failed as it has done several times before with other projects. Frankly, I haven’t managed to deploy one single project yet, after several attempts. Everything looks fine, but the log file turns up an array of errors that have something to do with my code, although that code runs perfectly fine in Replit.

Thanks in advance!

Anders (Andy)

Replit Profile: https://replit.com/@epacanders

Yeah, this error message turns up a lot in the log: EOFError: EOF when reading a line
Again, the code runs well in Replit.

Andy

Hey, @epacanders welcome to the forums!

Can you please provide a link to the repl? This way it is easier for staff and members of the community to help you!

Also see this guide on how to share your code:

Sure!

Here it is:
https://hotel-2-epacanders.replit.app

Andy

Thanks, but @NateDhaliwal meant your cover page link @epacanders. The link to your replit.app page lead me to the cover page though:
https://replit.com/@epacanders/Hotel-2?v=1

Does the logs say which line the error is on?

Hi!

You can see this error message all over my code, although, like I said, the program performs well in Replit. I will try again.

Anders

Alright. A deployment failure again with the same program.

Andy

i had a failed deployment and i kept trying to deploy every now and then but it never deployed, since i have replit core i tried to ask the replit ai to help me but it didn’t help with anything so i ended up deleting the repl.

Hi!

It seems I get the error EOF in a number of positions in my code.

Could you send the lines where the error appears?
Thanks!

Hi @epacanders. The reason your deployment is failing is because you are trying to receive user input from a terminal. This works in the workspace because there is a shell there, but deployments do not have a terminal available so any calls to input() or similar functions that try to collect user input from a terminal will not work.

1 Like