Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Could not create compile log file for stdout #58

Open
cskinner74 opened this issue May 2, 2018 · 2 comments
Open

Could not create compile log file for stdout #58

cskinner74 opened this issue May 2, 2018 · 2 comments

Comments

@cskinner74
Copy link

On the live version of the site, when trying to compile a simple hello world script in Python, I get the following error:
Could not create compile log file for stdout

I've also gotten compile failures in other languages, but there is no text with the compile error.

@laviii
Copy link

laviii commented May 3, 2018

@wskinner74
me not able to compile any code of python, even which not write on output stream.

As i am new to this project, but i did some of digging after reading the code.

import requests, json, os
source = 'print = "hello"'
COMPILE_URL = "https://api.hackerearth.com/v3/code/compile/"
compile_data = {
'client_secret': "my secret key",
'async': 0,
'source': source,
'lang': "PYTHON",
}
r = requests.post(COMPILE_URL, data=compile_data)
print r.json()

above code giving the same error.
Seems its internal API issue.

@ranjan-purbey
Copy link

It's most probably an API error, because the error is not consistent. Sometimes it runs alright, and sometimes it fails.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants