appsembler/figures

Support Ironwood

Opened this issue · 6 comments

It seems that figures not yet support Ironwood. Any guidances to implement it please? I want to contribute if possible.

Hey, @hoaivan
sorry for the long silence. Right now I'm focused on bug fixing for Hawthorn to push out version 0.3.0 (currently we're at 0.3.0prereleasae).

Feel free to try Figures on ironwood and report any specific errors you find. I assume that installation on Ironwood would be the same as for Hawthorn. If you can try that out, that would be great and help us move forward! We want this to be a community driven project.

Regis Behmo is one developer who is contributing to help Figures. He has created a Tutor plugin (https://pypi.org/project/tutor-figures/). I've heard that is runs on Ironwood, but haven't tried it yet myself.

We are trying it on Ironwood.
Capture

Although we can see the list of participants when we click for the course details, all enrollment data is zero for all courses on the main dashboard.

Hi - I am trying to install figures on my ironwood release as well, but running into errors - can you please share your install steps? Below is what I tried:

  1. Installed rc-2 release: pip install https://github.com/appsembler/figures/archive/0.3.0-prerelease2.zip
  2. Added Figures to the installed apps in the LMS settings: included below in my lms.envs.json file:
    "ADDL_INSTALLED_APPS": [
    "figures"
    ],
  3. Added Figures to the LMS settings: At the bottom of the lms/envs/production.py file, added the following:
    if 'figures' in INSTALLED_APPS:
    import figures
    figures.update_settings(
    WEBPACK_LOADER,
    CELERYBEAT_SCHEDULE,
    ENV_TOKENS.get('FIGURES', {}))
  4. Added Figures to the LMS URLconf: At the bottom of the lms/urls.py file, added the following:
    if 'figures' in settings.INSTALLED_APPS:
    urlpatterns += (
    url(r'^figures/',
    include('figures.urls', namespace='figures')),
    )
  5. Tried to run migrations to include Figures models: sudo -u edxapp /edx/bin/python.edxapp /edx/bin/manage.edxapp lms --settings=production migrate Figures
    This fails with error: ImportError: No module named figures

Please advise.

Hey, @hoaivan
sorry for the long silence. Right now I'm focused on bug fixing for Hawthorn to push out version 0.3.0 (currently we're at 0.3.0prereleasae).

Feel free to try Figures on ironwood and report any specific errors you find. I assume that installation on Ironwood would be the same as for Hawthorn. If you can try that out, that would be great and help us move forward! We want this to be a community driven project.

Regis Behmo is one developer who is contributing to help Figures. He has created a Tutor plugin (https://pypi.org/project/tutor-figures/). I've heard that is runs on Ironwood, but haven't tried it yet my

File "/home/manish/lm/apps/edx/edx-platform/lms/envs/bitnami.py", line 39, in
figures.update_settings(
AttributeError: 'module' object has no attribute 'update_settings'

I am getting this error and i am using ironwood on bitnami

Hi @johnbaldwin :

Does Figures have full Ironwood support? If i follow the official installation steps for production i get a "Duplicate labels" error.