jsruano Posted Friday at 08:39 PM Posted Friday at 08:39 PM I am trying to execute a .py file with Python and this error message arises: Service Unavailable The server is temporarily unable to service your request due to maintenance downtime or capacity problems. Please try again later. Apparently it's an error from Heliohost's hosting service.
wolstech Posted Friday at 10:36 PM Posted Friday at 10:36 PM I see an internal server error for the scripts on your account, not a 503. The test.py works fine. What are you trying to execute? Also, keep in mind for Python that the script must have a shebang line, must use unix line endings and, at minimum, must be coded to emit a content type header in order for it to not throw an error. The errors in your logs are "End of output before headers", which suggests the code is either not coded to send headers, or is crashing before it can do so (though there's often other errors shown if that's the case...). Your files are also missing their shebang lines.
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now