Created
June 16, 2020 03:48
-
-
Save sambapete/5f3b4572840b7cde5c87fbc43333794f to your computer and use it in GitHub Desktop.
retire_one_learner.py does not work on juniper based lms
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
scripts/retire_one_learner.py --config_file /home/ubuntu/GDPR/gdpr.yml --username=Ebasket | |
b'Learner Retirement: Starting learner retirement for Ebasket using config file /home/ubuntu/GDPR/gdpr.yml' | |
b'Learner Retirement: Unexpected error occurred!\nExpecting value: line 10 column 1 (char 9)' | |
b'Learner Retirement: Traceback (most recent call last):\n File "/home/ubuntu/tubular/tubular/scripts/helpers.py", line 156, in _setup_all_apis_or_exit\n config[\'LMS\'] = LmsApi(lms_base_url, lms_base_url, client_id, client_secret)\n File "/home/ubuntu/tubular/tubular/edx_api.py", line 39, in __init__\n access_token, __ = self.get_access_token(lms_base_url, client_id, client_secret)\n File "/home/ubuntu/tubular/tubular/edx_api.py", line 62, in get_access_token\n oauth_base_url + OAUTH_ACCESS_TOKEN_URL, client_id, client_secret, token_type=\'jwt\'\n File "/home/ubuntu/tubular/venv/lib/python3.5/site-packages/edx_rest_api_client/client.py", line 36, in get_oauth_access_token\n data = response.json()\n File "/home/ubuntu/tubular/venv/lib/python3.5/site-packages/requests/models.py", line 897, in json\n return complexjson.loads(self.text, **kwargs)\n File "/home/ubuntu/tubular/venv/lib/python3.5/site-packages/simplejson/__init__.py", line 518, in loads\n return _default_decoder.decode(s)\n File "/home/ubuntu/tubular/venv/lib/python3.5/site-packages/simplejson/decoder.py", line 370, in decode\n obj, end = self.raw_decode(s)\n File "/home/ubuntu/tubular/venv/lib/python3.5/site-packages/simplejson/decoder.py", line 400, in raw_decode\n return self.scan_once(s, idx=_w(s, idx).end())\nsimplejson.errors.JSONDecodeError: Expecting value: line 10 column 1 (char 9)\n' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment