Code Monkey home page Code Monkey logo

edx-analytics-dashboard's People

Contributors

ajpal avatar alangsto avatar andrey-canon avatar ashultz0 avatar bilalqamar95 avatar bradenmacdonald avatar bseverino avatar clintonb avatar cpennington avatar dan-f avatar dianakhuang avatar dsjen avatar edx-requirements-bot avatar feanil avatar iamsobanjaved avatar kdmccormick avatar mhoeber avatar michaelroytman avatar michaelyoungstrom avatar mulby avatar nizarmah avatar robrap avatar rocha avatar sarina avatar schenedx avatar singingwolfboy avatar srpearce avatar syedimranhassan avatar thallada avatar usamasadiq avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

edx-analytics-dashboard's Issues

Issue on page /front_matter/preface.html

Readthedocs update needed for section 1.2 "Other edX Resources." The current section refers to the Partner Portal which has been deprecated, and also to courses that are no longer available on edx.org in section 1.2.3.

I have removed all mention of the Partner Portal throughout section 1.2 and have updated section 1.2.3 to reflect the current courses that edX offers to course teams on edx.org.

NOTE - I am a 2U employee who has not used GitHub before; if there is another way that I should be submitting these changes to this section of readthedocs, please let me know the appropriate process, thanks.

Below is content that should take the place of the current section 1.2 content:

1.2. Other edX Resources
Course teams, researchers, developers, learners: the edX community includes groups with a range of reasons for using the platform and objectives to accomplish. To help members of each group learn about what edX offers, reach goals, and solve problems, edX provides a variety of information resources.
To help you find what you need, browse the edX offerings in the following categories.

The Open edX Portal
System Status
Resources for Course Teams
Resources for Researchers
Resources for Developers
Resources for Open edX
Resources for Learners

All members of the edX community are encouraged to make use of the resources described in this preface. We welcome your feedback on these edX information resources. Contact the edX documentation team at [email protected].

1.2.1. The Open edX Portal
The Open edX Portal is the destination for all edX users to learn about the edX roadmap, as well as hosting, extending the edX platform, and contributing to Open edX. In addition, the Open edX Portal provides product announcements, the Open edX blog, and other rich community resources.
All users can view content on the Open edX Portal without creating an account and logging in.
To comment on blog posts or the edX roadmap, or subscribe to email updates, you must create an account and log in. If you do not have an account, follow these steps.

  1. Visit open.edx.org/user/register.
  2. Fill in your personal details.
  3. Select Create New Account. You are then logged in to the Open edX Portal.

1.2.1.1. Release Announcements by Email
To receive and share product and release announcements by email, you can subscribe to announcements on the edX portal site.

  1. Create an account on the Open edX Portal as described above.
  2. Select Community and then Announcements.
  3. Under Subscriptions, select the different types of announcements that you want to receive through email. You might need to scroll down to see these options.
  4. Select Save.

You will now receive email messages when new announcements of the types you selected are posted.

1.2.2. System Status
For system-related notifications from the edX operations team, including outages and the status of error reports. On X, you can follow @edxstatus.
Current system status and the uptime percentages for edX servers, along with the X feed, are published on the edX Status web page.

1.2.3. Resources for Course Teams
Course teams include faculty, instructional designers, course staff, discussion moderators, and others who contribute to the creation and delivery of courses on edx.org or edX Edge.

1.2.3.1. Designing, Building and Running an edX Course Program
The courses in the Designing, Building, and Running an edX Course Program provide foundational knowledge about using the edX platform. These courses are available on edx.org.

1.2.3.1.1. Designing an edX Course
Designing a Course with edX is grounded in pedagogical principles to ensure that a course’s design is aligned with learning theory and best practices in online learning.

1.2.3.1.2. Building an edX Course
Building a Course with edX provides an in-depth look at edX Studio. It covers using Studio to create a course, and adding a wide variety of rich content and assessments.

1.2.3.1.3. Running an edX Course
Running a Course with edX covers the process of launching a course, as well as the processes that need to be followed during a course run. Additionally, it covers how to improve a course with edX Insights, and the steps to take when a course’s run is ending.

1.2.3.2. Documentation
Documentation for course teams is available on the docs.edx.org web page.

  • Building and Running an edX Course is a comprehensive guide with concepts and procedures to help you build a course in edX Studio, and then use the Learning Management System (LMS) to run a course. When you are working in edX Studio, you can access relevant sections of this guide by selecting Help on any page.
  • Using edX Insights describes the metrics, visualizations, and downloadable .csv files that course teams can use to gain information about student background and activity.
  • The edX Release Notes summarize the changes in each new version of deployed software.

These guides open in your web browser. The left side of each page includes a Search docs field and links to the contents of that guide. To open or save a PDF version, select v: latest at the lower right of the page, then select PDF.

Note
If you use the Safari browser, be aware that it does not support the search feature for the HTML versions of the edX guides. This is a known limitation.

1.2.3.3. Email
To receive and share information by email, course team members can:

  • Subscribe to announcements and other new topics in the Open edX Portal. For information about how to subscribe, see Release Announcements through the Open edX Portal.
  • Join the openedx-studio Google group to ask questions and participate in discussions with peers at other edX partner organizations and edX staffers.

1.2.3.4. Wikis and Web Sites
The edX product team maintains public product roadmaps on the Open edX Portal.
1.2.4. Resources for Researchers
At each partner institution, the data czar is the primary point of contact for information about edX data. To set up a data czar for your institution, contact your edX partner manager.
Data for the courses on edx.org and edX Edge is available to the data czars at our partner institutions, and then used by database experts, statisticians, educational investigators, and others for educational research.
Resources are also available for members of the Open edX community who are collecting data about courses running on their sites and conducting research projects.

1.2.4.1. Documentation
The edX Research Guide is available on the docs.edx.org web page. Although it is written primarily for data czars and researchers at partner institutions, this guide can also be a useful reference for members of the Open edX community.
The edX Research Guide opens in your web browser, with a Search docs field and links to sections and topics on the left side of each page. To open or save a PDF version, select v: latest at the lower right of the page, and then select PDF.
Note
If you use the Safari browser, be aware that it does not support the search feature for the HTML versions of the edX guides. This is a known limitation.

1.2.4.2. Discussion Forums and Email
Researchers, edX data czars, and members of the global edX data and analytics community can post and discuss questions in our public research forum: the openedx-analytics Google group.
Important
Please do not post sensitive data to public forums.
Data czars who have questions that involve sensitive data, or that are institution specific, can send them by email to [email protected] with a copy to your edX partner manager.

1.2.4.3. Wikis
The edx-tools wiki lists publicly shared tools for working with the edX platform, including scripts for data analysis and reporting.

1.2.5. Resources for Developers
Software engineers, system administrators, and translators work on extending and localizing the code for the edX platform.

1.2.5.1. Documentation
Documentation for developers is available on the docs.edx.org web page.

  • The edX Platform Developer’s Guide includes guidelines for contributing to Open edX, options for extending the Open edX platform, using the edX public sandboxes, instrumenting analytics, and testing.
  • Installing, Configuring, and Running the Open edX Platform provides procedures for getting an edX developer stack (devstack) and production stack (fullstack) operational.
  • Open edX XBlock Tutorial guides developers through the process of creating an XBlock, and explains the concepts and anatomy of XBlocks.
  • Open edX XBlock API Guide provides reference information about the XBlock API.
  • edX Open Learning XML Guide provides guidelines for building edX courses with Open Learning XML (OLX). Note that this guide is currently an alpha version.
  • edX Data Analytics API provides reference information for using the data analytics API to build applications to view and analyze learner activity in your course.
  • edX Platform APIs provide reference information for building applications to view course information and videos and work with user and enrollment data.

Note
If you use the Safari browser, be aware that it does not support the search feature for the HTML versions of the edX guides. This is a known limitation.

1.2.5.2. GitHub
These are the main edX repositories on GitHub.

Additional repositories are used for other projects. Our contributor agreement, contributor guidelines and coding conventions, and other resources are available in these repositories.

1.2.5.3. Community Discussions
The Community Discussions page in the Open edX Portal lists different ways that you can ask, and answer, questions.

1.2.5.4. Wikis and Web Sites
The Open edX Portal is the entry point for new contributors.
The edX Engineering team maintains an open Confluence wiki, which provides insights into the plans, projects, and questions that the edX Open Source team is working on with the community.
The edx-tools wiki lists publicly shared tools for working with the edX platform, including scripts and helper utilities.

1.2.6. Resources for Open edX
Hosting providers, platform extenders, core contributors, and course staff all use Open edX. EdX provides release-specific documentation, as well as the latest version of all guides, for Open edX users. The following documentation is available.

  • Open edX Release Notes provides information on the contents of Open edX releases.
  • Building and Running an Open edX Course is a comprehensive guide with concepts and procedures to help you build a course in Studio, and then use the Learning Management System (LMS) to run a course. When you are working in Studio, you can access relevant sections of this guide by selecting Help on any page.
  • Open edX Learner’s Guide helps students use the Open edX LMS to take courses. This guide is available on the docs.edx.org web page. Because learners are currently only guided to this resource through the course, we encourage course teams to provide learners with links to this guide as needed in course updates or discussions.
  • Installing, Configuring, and Running the Open edX Platform provides information about installing and using devstack and fullstack.
  • The edX Platform Developer’s Guide includes guidelines for contributing to Open edX, options for extending the Open edX platform, using the edX public sandboxes, instrumenting analytics, and testing.
  • Open edX XBlock Tutorial guides developers through the process of creating an XBlock, and explains the concepts and anatomy of XBlocks.
  • Open edX XBlock API Guide provides reference information on the XBlock API.
  • EdX Open Learning XML Guide provides guidelines for building edX courses with Open Learning XML (OLX). Note that this guide is currently an alpha version.
  • EdX Data Analytics API provides reference information for using the data analytics API to build applications to view and analyze learner activity in your course.
  • EdX Platform APIs provide reference information for building applications to view course information and videos and work with user and enrollment data.

Note
If you use the Safari browser, be aware that it does not support the search feature for the HTML versions of the edX guides. This is a known limitation.

1.2.7. Resources for Learners

1.2.7.1. Documentation
The EdX Learner’s Guide and the Open edX Learner’s Guide are available on the docs.edx.org web page. Because learners are currently only guided to this resource through the course, we encourage course teams to provide learners with links to these guides as needed in course updates or discussions.

1.2.7.2. In a Course
All edX courses have a discussion forum where you can ask questions and interact with other students and with the course team: select Discussion. Many courses also offer a wiki for additional resources and materials: select Wiki.
Other resources might also be available, such as a course-specific Facebook page or Twitter feed. Be sure to check the Home page for your course as well as the Discussion and Wiki pages.
From time to time, the course team might send email messages to all students. While you can opt out of these messages, doing so means that you can miss important or time-sensitive information. To change your preferences for course email, select edX or edX edge at the top of any page. On your dashboard of current courses, locate the course and then select Email Settings.

1.2.7.3. From edX
To help you get started with the edX learning experience, edX offers a course (of course!). You can find the edX Demo course on the edX web site. EdX also maintains a list of frequently asked questions and answers.
If you still have questions or suggestions, you can get help from the edX support team: select Contact at the bottom of any edX web page or send an email message to [email protected].
For opportunities to meet others who are interested in edX courses, check the edX Global Community meetup group.

Switch to Ansible-free Docker image of insights

In order to advance implementation of both OEP-45: Configuring and Operating Open edX and deprecation of the configuration repository, we would like to switch devstack from using primarily Docker images built with Ansible code from the configuration repository to images built from Dockerfiles in each service's repository. We hope this will also help simplify Tutor by providing better base images to derive from, with fewer workarounds and duplicated code blocks required in Tutor.

A/C

  • Ensure that the repo's Dockerfile can create a base image which is appropriate for small production installations
  • Ensure that the repo's Dockerfile also defines an additional image derived from the base which adds dependencies and configuration changes needed for development environments
  • Check with the Tutor developers during code review to see if any further changes to the Dockerfile would help simplify Tutor
  • Automate uploads of both images when code changes are merged
  • Switch devstack to use the new Ansible-free development image, and do some basic testing to ensure it works before merging

assuming commit

I use the last commit,I have some issue
npm install
./node_modules/.bin/bower install
bower extra-resolution Unnecessary resolution: cldrjs#0.3.10
pip install -q -r requirements/base.txt --exists-action w
Could not find a tag or branch '0d7847f9dfa2281640527b4dc51f5854f950f9b7', assuming commit.
Could not find a tag or branch 'd45d0bd8d64c69531be69178b9505b5d38806ce0', assuming commit.
Command /usr/bin/python -c "import setuptools, tokenize; file='/edx/app/analytics-dashboard/src/i18n-tools/setup.py'; exec(compile(getattr(tokenize, 'open', open)(file).read().replace('\r\n', '\n'), file, 'exec'))" develop --no-deps failed with error code 1 in /edx/app/analytics-dashboard/src/i18n-tools
Storing debug log for failure in /home/dmt/.pip/pip.log
make: *** [requirements] Error 1

Problem of how to login to insights

When i visit http://localhost:9000/test/auto_auth/ to create and login as a new user and i got the picture below:
2015-02-27 9 36 31

but when i log out
2015-02-27 9 37 11

then clicked the log in i got the page not find error
2015-02-27 9 37 28

My question is how to create a new user then log in to the insights ?
I think the problem is probably about the oauth2.

Thank you for helping me !!

Could not find a version django-appconf==0.6

HI, Clinton
i reinstall edx-analytics-dashboard but i got the message below:

jeremy@jeremy-VirtualBox:~/edx-analytics/edx-analytics-dashboard$ make develop
npm install
npm WARN package.json [email protected] No README data
npm WARN package.json [email protected] No README data
./node_modules/.bin/bower install
bower extra-resolution Unnecessary resolution: cldrjs#0.3.10
pip install -q -r requirements/base.txt --exists-action w
Could not find a version that satisfies the requirement django-appconf==0.6 (from -r requirements/base.txt (line 3)) (from versions: 1.0.1)
Some externally hosted files were ignored as access to them may be unreliable (use --allow-external to allow).
No distributions matching the version for django-appconf==0.6 (from -r requirements/base.txt (line 3))
make: *** [requirements] Error 1

Maybe Older packages missing from pypi and there is a link:
getpelican/pelican#1522
django-compressor/django-appconf#16

Thank you so much !!

make develop have some issue

pip install -q -r requirements/base.txt --exists-action w
Could not find a tag or branch 'ece149d706aaf812afd6b39872cf01fd294b2038', assuming commit.
Could not find a tag or branch '0d7847f9dfa2281640527b4dc51f5854f950f9b7', assuming commit.
Could not find a tag or branch 'd45d0bd8d64c69531be69178b9505b5d38806ce0', assuming commit.
Command /usr/bin/python -c "import setuptools, tokenize;file='/tmp/pip_build_dmt/bpython/setup.py';exec(compile(getattr(tokenize, 'open', open)(file).read().replace('\r\n', '\n'), file, 'exec'))" install --record /tmp/pip-HSfsVv-record/install-record.txt --single-version-externally-managed --compile failed
Who can help me? Thanks

got issue while installing with Tutor please guide me how to install with Tutor

I am getting this issue while installing this extension with Tutor

Cloning https://github.com/openedx/edx-analytics-dashboard.git to /tmp/pip-req-build-e_wjy8jc
ERROR: Command errored out with exit status 1:
command: /openedx/venv/bin/python -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'/tmp/pip-req-build-e_wjy8jc/setup.py'"'"'; file='"'"'/tmp/pip-req-build-e_wjy8jc/setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(file);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, file, '"'"'exec'"'"'))' egg_info --egg-base /tmp/pip-req-build-e_wjy8jc/pip-egg-info
cwd: /tmp/pip-req-build-e_wjy8jc/
Complete output (5 lines):
Traceback (most recent call last):
File "", line 1, in
File "/opt/pyenv/versions/3.8.12/lib/python3.8/tokenize.py", line 392, in open
buffer = _builtin_open(filename, 'rb')
FileNotFoundError: [Errno 2] No such file or directory: '/tmp/pip-req-build-e_wjy8jc/setup.py'
----------------------------------------
ERROR: Command errored out with exit status 1: python setup.py egg_info Check the logs for full command output.
WARNING: You are using pip version 20.0.2; however, version 22.1.1 is available.
You should consider upgrading via the '/openedx/venv/bin/python -m pip install --upgrade pip' command.
The command '/bin/sh -c cd /openedx/requirements/ && touch ./private.txt && pip install -r ./private.txt' returned a non-zero code: 1
Error: Command failed with status 1: docker build -t docker.io/overhangio/openedx:13.2.2 /root/.local/share/tutor/env/build/openedx

Update pylintrc using edx-lint

Currently I am unable to update pylintrc to the generated version defined in edx_lint because it was previously manually edited. And also not touched since 2017 😱

Work should be done to upgrade pylintrc properly and resolve the errors that happen because of the upgrade.

https://github.com/openedx/edx-lint

Fix: Remove Turkish lines from .po files and regenerate .mo files

Five strings in analytics-dashboard and one string in analytics-dashboard-js were not in English to be translated to other languages, but were actually in Turkish. This comes from an accident where an English-to-Turkish translator accidentally pushed their translations to the English language, instead of the Turkish language. These translations were then pushed back into the Github Repository. And when new translations were requested, instead of providing English to all translators, it provided certain lines in Turkish instead.

We have identified the source of the problem, and have the solution. As part of that solution we have decided to rescind all access to translating from English-to-English to reduce any future errors of this type. In addition, I will be dedicating some time in the next couple of work days to carrying out the solution to this problem.

Django 4.2 Upgrade

Description

Under the effort of Django 4.2 Upgrade, complete all of the following steps to complete the upgrade.

  • Update tox & Github action workflow using modernisers to add support for Django 4.2
  • Remove any versions of Python earlier than 3.8 from tox.ini, and GitHub Actions workflows.
  • Update the pinned Django version in the requirements to Django==4.2
  • Run make upgrade to update all dependencies for Django 4.2.
  • Run and verify all tests are passing in the CI for both Django 4.2 and Django 3.2 to contain backward compatibility.
  • Run available code-mods to fix the failing tests.
  • Add conditional checks wherever needed to still have support for Django 3.2.
  • Update the repo support field in the IDA Upgrade Sheet.

Stop pushing Ansible based Insights Image and remove outdated code from configuration repo

As we have moved to Native Docker image for our Insights Service and it has been working fine for quite time, we feel confident now that we can stop the image building process for our old Ansible based Image and remove all the code related to it from configuration repo.
A/Cs:

  • Coordinate with SRE and stop pushing the old image.
  • Remove the code related to building the Ansible based Insights Image
  • Remove the -dev suffix used in edx-analytics-dashboard image building and image push workflows.
  • Also make a devstack PR for removing the -dev suffix from Insights Image and use the new image.

Analytics dashboard not opened after Insights login

I have installed complete edx devstack setup. I can open studio, LMS and eCommerce successfully.
I have also installed analytics pipeline. Services running successfully

  • edxops/analytics_pipeline:latest
  • edxops/analytics_pipeline_spark_worker:latest
  • edxops/analytics_pipeline_hadoop_nodemanager:latest
  • edxops/analytics_pipeline_hadoop_resourcemanager:latest
  • edxops/analytics_pipeline_hadoop_datanode:latest
  • edxops/analytics_pipeline_spark_master:latest
  • edxops/analytics_pipeline_hadoop_namenode:latest

I have cloned analytics dashboard, executed npm start and manage.py runserver - Django successfully. Django is running fine as I can open Insights. When I click on login, it takes me on
http://127.0.0.1:18000/login?next=/oauth2/authorize/
When I log in using edx credentials ([email protected] / edx - what I use to login to the Studio and LMS) I get following message after login.

unauthorized_client An unauthorized client tried to access your resources.

The url of this page is "http://127.0.0.1:18000/oauth2/authorize/confirm"

I have generated client ID for analytics in django lms admin and mentioned this in insights.yml

Please help to fix this issue as I am not able to use Analytics Dashboard.

Add Django 4.2 in CI

In order to have support for Django 4.2, we first need to run tests on Django 4.2 in the insights service. For updating CI, we should run tox and GitHub actions modernizers.

Tox Modernizer: tox_moderniser_django42.py

Github Action Modernizer: github_actions_modernizer_django42.py

### A/C
- [x] Run tests with Django 4.2
- [x] Fix all test failures with Django 4.2 (if any)
- [ ] After merging, ask the owning squad to add Django 4.2 tests in branch protection rules

Remove bok-choy usage

This repo's acceptance tests still use the bok-choy framework, which openedx/public-engineering#13. The bok-choy repository is no longer being maintained, and it will soon be archived.

Once the bok-choy repo is archived, the acceptance tests should continue working, as we will not be removing the package's releases from PyPI. For long-term maintainability of this repo, though, the tests should eventually be upgraded to a non-bok-choy testing framework or removed.

How to make dashboard work with edx-platform?

Hi, clintonb. I'm fl_meng in IRC. Yesterday I ask you a question. You give me a pdf which named "Open edX Analytics" and I read it. Now, I'm confused how to assemble these module correctly?

There are some problem when i executed the command make develop, can anyone to help me!? Please

howard@howard-VirtualBox:~/edx-analytics/edx-analytics-dashboard$ make develop
npm install
./node_modules/.bin/bower install
bower extra-resolution Unnecessary resolution: cldrjs#0.3.10
pip install -q -r requirements/base.txt --exists-action w
Command "/usr/bin/python -c "import setuptools, tokenize; file='/home/howard/edx-analytics/edx-analytics-dashboard/src/edx-analytics-data-api-client/setup.py'; exec(compile(getattr(tokenize, 'open', open)(file).read().replace('\r\n', '\n'), file, 'exec'))" develop --no-deps" failed with error code 1 in /home/howard/edx-analytics/edx-analytics-dashboard/src/edx-analytics-data-api-client
make: *** [requirements] Error 1

There are some problem when i executed the command make develop, can anyone to help me!? Please, Thank you so much!

Replace MemcachedCache backend with PymemcacheCache in insights

The django.core.cache.backends.memcached.MemcachedCache backend is removed so we now are replacing this with PymemcacheCache in all of our IDAs, so we need to replace this for insights also.

This service is deployed with GoCD.

https://docs.djangoproject.com/en/4.2/releases/4.1/#features-removed-in-4-1

Things to be done:

  • First, add pymemcache dependency in the codebase and move it to PROD
  • Update the relevant configs for sandbox in sandbox-internal
  • Update the relevant configs for stage in edx-internal
  • Update the relevant configs for prod in edx-internal
  • Update the relevant configs for edge in edge-internal
  • Update the configs in related codebase so that the docker images of that service also get updated

These are the config related changes which we will do:


One more thing to add:

  • The IDA/services which are using edx-django-utils as their direct-dependency. We will enable edx_django_utils.cache.disable_forced_cache_miss_for_none waffle switch for them from their admin panel link to doc

Can't Login Insight Analystic Page

Hi everyone,

Im using bitnami openedx to deploy course online

I install insight analystic tool follow the guide:
https://wiki.bitnami.com/Applications/Bitnami_Open_edX#How_to_install_edX_Analytics_Dashboard.3f
https://github.com/edx/edx-analytics-dashboard
https://openedx.atlassian.net/wiki/pages/viewpage.action?spaceKey=AN&title=Configuring+Insights+for+Open+ID+Connect+SSO+with+LMS

I set OAUTH_ENFORCE_SECURE = false in lms.env.json to use http

But unfortunately when i login
-edx.abc.com:9000
-Click login button
The issue alert "invalid_request The requested redirect didn't match the client settings"

The LMS setting
url: http://edx.abc.com/
redirect: http://edx.abc.com/complete/edx-oidc

Please help me
Thanks so much

An,

ImportError: No module named __pkginfo__

Hi,
I got some errors when i reinstalled my edx analytics dashboard. I typed the command make validate and there is an error below :

2015-07-01 2 26 15

I have no idea how to fix it ! If someone can give me a tip and i will be grateful.

Thanks!!

by jeremy

'make develop' error

I used the bitnami image to run on a VPS and after cloning the git repository i am getting error while executing make develop.
`lunr.js#0.7.1 analytics_dashboard/static/bower_components/lunr.js

pip install -q -r requirements/base.txt --exists-action w

Command "/opt/edx-20160414-2/python/bin/python -u -c "import setuptools, tokenize;file='/tmp/pip-build-V6VIP3/regex/setup.py';exec(compile(getattr(tokenize, 'open', open)(file).read().replace('\r\n', '\n'), file, 'exec'))" install --record /tmp/pip-yJZgpt-record/install-record.txt --single-version-externally-managed --compile" failed with error code 1 in /tmp/pip-build-V6VIP3/regex/

make: *** [requirements] Error 1
`
please give me some help

Enable CI checks in the Repo

Description

  • For some time, the CI checks are not running in the repo due to the syntax errors in the Github CI workflow (ci.yml) file.
  • After investigation it was found that the CI checks stopped working after the codecov change affected the workflow file in the PR #1439.
  • This is a blocker for the Django 4.2 upgrade issue #1488

Removing private name out of the transcript

I am the Hung Tu the translator listed first in the following code. I want to remove my name from that publicly available code. Can someone help me do so? Thank you.
edx-analytics-dashboard/analytics_dashboard/conf/locale/vi/LC_MESSAGES/djangojs.po

error in installing edx-analytics

Hi,I got the following error while executing make develop command. I have edx installed and running on system. what am I missing to do? I tried in -d (debug mode) but no further information i can get.

edxapp@moocs:~/edx-analytics$ make develop
npm install
npm WARN package.json [email protected] No README data
npm WARN package.json [email protected] No README data
./node_modules/.bin/bower install
bower cldrjs extra-resolution Unnecessary resolution: cldrjs#0.4.0
pip install -q -r requirements/base.txt --exists-action w
You are using pip version 6.0.8, however version 7.1.2 is available.
You should consider upgrading via the 'pip install --upgrade pip' command.
Command "/edx/app/edxapp/venvs/edxapp/bin/python -c "import setuptools, tokenize;file='/tmp/pip-build-u_m0V1/libsass/setup.py';exec(compile(getattr(tokenize, 'ope
n', open)(file).read().replace('\r\n', '\n'), file, 'exec'))" install --record /tmp/pip-kARC69-record/install-record.txt --single-version-externally-managed --com
pile --install-headers /edx/app/edxapp/venvs/edxapp/include/site/python2.7" failed with error code 1 in /tmp/pip-build-u_m0V1/libsass
make: *** [requirements] Error 1

Thnak you very much for your help.
Irfan

issue while installing edx-analytics on bitnami version of open edx

npm install
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: fsevents@^1.0.0 (node_modules/chokidar/node_modules/fsevents):
npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for [email protected]: wanted {"os":"darwin","arch":"any"} (current: {"os":"linux","arch":"x64"})
npm WARN edx-analytics-dashboard@ No license field.
./node_modules/.bin/bower install
/home/docmode/edx-20160414-2/apps/edx/edx-analytics-dashboard/node_modules/bower/lib/node_modules/bower-config/lib/util/rc.js:71
throw error;
^

Error: Unable to parse /home/docmode/edx-20160414-2/apps/edx/edx-analytics-dashboard/.bowerrc: Unexpected token } in JSON at position 163
at parse (/home/docmode/edx-20160414-2/apps/edx/edx-analytics-dashboard/node_modules/bower/lib/node_modules/bower-config/lib/util/rc.js:64:21)
at /home/docmode/edx-20160414-2/apps/edx/edx-analytics-dashboard/node_modules/bower/lib/node_modules/bower-config/lib/util/rc.js:95:20
at Array.forEach (native)
at json (/home/docmode/edx-20160414-2/apps/edx/edx-analytics-dashboard/node_modules/bower/lib/node_modules/bower-config/lib/util/rc.js:87:14)
at rc (/home/docmode/edx-20160414-2/apps/edx/edx-analytics-dashboard/node_modules/bower/lib/node_modules/bower-config/lib/util/rc.js:34:13)
at Config.load (/home/docmode/edx-20160414-2/apps/edx/edx-analytics-dashboard/node_modules/bower/lib/node_modules/bower-config/lib/Config.js:16:20)
at readCachedConfig (/home/docmode/edx-20160414-2/apps/edx/edx-analytics-dashboard/node_modules/bower/lib/config.js:15:39)
at defaultConfig (/home/docmode/edx-20160414-2/apps/edx/edx-analytics-dashboard/node_modules/bower/lib/config.js:11:12)
at Object. (/home/docmode/edx-20160414-2/apps/edx/edx-analytics-dashboard/node_modules/bower/lib/index.js:16:32)
at Module._compile (module.js:573:32)
make: *** [requirements.js] Error 1

The above issue arises when i run make develop..
Any help on this issue..

CommandError ! Can anyone help me Thanks !

When i was installing edx-analytics-dashboard on how to install and run the analytics backend locally there was an error below when i had a command (make validate) :
default

I have no idea how to fix it ! If someone can give me a tip and i will be grateful.

Thanks !!

Open Edx Insights Learner Page Date Range Possible Error

Whenever I open a Learners Engagement page for any particular course in Insights(hawthorn.master), it internally calls analytics-data-api endpoint at /api/v0/course_learner_metadata/{course_id} and endpoint returns JSON response containing a “date_range” under a “engagement_ranges”. (Note: I checked edx-analytics-api documentation (https://edx.readthedocs.io/projects/edx-data-analytics-api/en/latest/) but, I didn’t found API reference for same.)

So, If any learner engagement found during a week for a particular course, it gives date_range object with a valid date as follows:

“engagement_ranges”: {
  "date_range”: {
    “start”: “2019-07-24”,
    “end”: “2019-07-31”
  },
  …
}

But if there is no learners activity/engagement found during a week for any particular course, it gives date_range objects with start_date and end_date as a null value.

“engagement_ranges”: {
  “date_range”: {
    “start”: null,
    “end”: null
  },
  …
}

Above response is parsed by backbone js located at edx-analytics-dashboard/analytics_dashboard/static/apps/learners/roster/views/activity-date-range.js and if date_range has a start and end in response then data is parsed using Utils.formatDate() so if the date is null it gives invalid date as a response and final string is “Activity between Invalid date - Invalid date”.

There should be a condition like, if “start” and “end” is available in “date_range” dict and they have a valid date, then it should proceed to parse, else it executes else condition from ternary expression and returns “n/a” so final string should be “Activity between n/a - n/a” as per backbone test cases.

Current Codebase:

return {
    startDate: _(dateRange).has(‘start’) ? Utils.formatDate(dateRange.start) : naText,
    endDate: _(dateRange).has(‘end’) ? Utils.formatDate(dateRange.end) : naText
};

It should be as following:

return {
    startDate: _(dateRange).has(‘start’) && ! _.isNull(dateRange.start) ? Utils.formatDate(dateRange.start) : naText,
    endDate: _(dateRange).has(‘end’) && ! _.isNull(dateRange.end) ? Utils.formatDate(dateRange.end) : naText
};

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.