openedx / openedx/edx-notes-api

Student notes error's Openedx Bitnami

Open
#183 0 comments 1 reaction 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Python
Stars
16
Forks
63
Avg merge
22h 48m
Merged PRs (30d)
8

Description

When I try and load notes this is the error received.
I am using openedx bitnami version

Traceback (most recent call last):
File "/opt/bitnami/apps/edx/venvs/edxapp/lib/python2.7/site-packages/django/core/handlers/exception.py", line 41, in inner
response = get_response(request)
File "/opt/bitnami/apps/edx/venvs/edxapp/lib/python2.7/site-packages/django/core/handlers/base.py", line 249, in _legacy_get_response
response = self._get_response(request)
File "/opt/bitnami/apps/edx/venvs/edxapp/lib/python2.7/site-packages/django/core/handlers/base.py", line 187, in _get_response
response = self.process_exception_by_middleware(e, request)
File "/opt/bitnami/apps/edx/venvs/edxapp/lib/python2.7/site-packages/django/core/handlers/base.py", line 185, in _get_response
response = wrapped_callback(request, *callback_args, **callback_kwargs)
File "/opt/bitnami/apps/edx/venvs/edxapp/lib/python2.7/site-packages/django/utils/decorators.py", line 185, in inner
return func(*args, **kwargs)
File "/opt/bitnami/apps/edx/venvs/edxapp/lib/python2.7/site-packages/django/contrib/auth/decorators.py", line 23, in wrapped_view
return view_func(request, *args, **kwargs)
File "/opt/bitnami/apps/edx/edx-platform/lms/djangoapps/edxnotes/views.py", line 62, in edxnotes
notes_info = get_notes(request, course)
File "/opt/bitnami/apps/edx/edx-platform/lms/djangoapps/edxnotes/helpers.py", line 346, in get_notes
raise EdxNotesParseError(
("Invalid JSON response received from notes api."))
EdxNotesParseError: \u067e\u0627\u0633\u062e JSON \u0646\u0627\u0645\u0639\u062a\u0628\u0631 \u0627\u0632 \u06cc\u0627\u062f\u062f\u0627\u0634$

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Reproduce loading notes on the Bitnami Open edX setup, then inspect lms/djangoapps/edxnotes/views.py at edxnotes and helpers.py at get_notes, especially the JSON parsing failure at line 346. Done means identifying why the notes API response is invalid JSON and making note loading complete without EdxNotesParseError.

Written by the indexing model from the issue text.

Assessment

Tech stack
django, python
Domain
api, backend
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.