Dear all,
We are trying to integrate https://github.com/edx/xqueue-watcher with openedx for python grading. we getting the following error
lab@openedx:/edx/xqueue-watcher$ python -m xqueue_watcher -d conf.d/
Traceback (most recent call last):
File "/usr/lib/python2.7/runpy.py", line 174, in _run_module_as_main
"__main__", fname, loader, pkg_name)
File "/usr/lib/python2.7/runpy.py", line 72, in _run_code
exec code in run_globals
File "/edx/xqueue-watcher/xqueue_watcher/__main__.py", line 2, in <module>
from .manager import main
File "xqueue_watcher/manager.py", line 21, in <module>
'python': codejail.languages.python2,
AttributeError: 'module' object has no attribute 'languages'
our json file contents are
lab@openedx:/edx/xqueue-watcher/conf.d$ cat xqueue_watcher.json
{
“xqueue_watcher”: {
“SERVER”: “http://127.0.0.1:18040”,
“CONNECTIONS”: 1,
“AUTH”: [“lms”, “lms”],
“HANDLERS”: [
{
“HANDLER”: “xqueue_watcher.grader.Grader”,
“KWARGS”: {
“grader_root”: “/edx/xqueue-watcher/xqueue_watcher/”,
}
}
]
}
“CODEJAIL”: {
“name”: “python”,
“python_bin”: “/edx/app/edxapp/venvs/edxapp-sandbox/bin/python”,
“user”: “sandbox”
}
}
openedx version is ironwood.