You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
in windows 10 , i tried this coderunner but i gives 401 error
`
result = coderunner.code("print('hello')","Python3",path=False)
result.run()
Traceback (most recent call last):
File "", line 1, in
File "C:\Users\SOUNDA1\Desktop\PYTHON1\ENV1\lib\site-packages\coderunner\coderunner.py", line 227, in run
token = self.__submit()
File "C:\Users\SOUNDA1\Desktop\PYTHON1\ENV1\lib\site-packages\coderunner\coderunner.py", line 165, in __submit
with urllib.request.urlopen(req) as response:
File "c:\users\soundara rajan\appdata\local\programs\python\python37\Lib\urllib\request.py", line 222, in urlopen
return opener.open(url, data, timeout)
File "c:\users\soundara rajan\appdata\local\programs\python\python37\Lib\urllib\request.py", line 531, in open
response = meth(req, response)
File "c:\users\soundara rajan\appdata\local\programs\python\python37\Lib\urllib\request.py", line 641, in http_response
'http', request, response, code, msg, hdrs)
File "c:\users\soundara rajan\appdata\local\programs\python\python37\Lib\urllib\request.py", line 569, in error
return self._call_chain(*args)
File "c:\users\soundara rajan\appdata\local\programs\python\python37\Lib\urllib\request.py", line 503, in _call_chain
result = func(*args)
File "c:\users\soundara rajan\appdata\local\programs\python\python37\Lib\urllib\request.py", line 649, in http_error_default
raise HTTPError(req.full_url, code, msg, hdrs, fp)
urllib.error.HTTPError: HTTP Error 401: Unauthorized
`
The text was updated successfully, but these errors were encountered:
Hi @soundaraj 👋 , thanks for reporting this.
The issue arises due to the fact the Judge0 is now freemium, the default API URL, [https://api.judge0.com] is no longer available. To use the API through CodeRunner # for a free (or paid) plan on RapidAPI & get your token
The PR #6 is a fix for this. It will be merge and released in 2-3 days
in windows 10 , i tried this coderunner but i gives 401 error
`
The text was updated successfully, but these errors were encountered: