Certificates and Maple

Since I am not totally convinced this is a Tutor issue, I am also cross-posting this here.

I am trying to setup HTML certificates in Tutor. I am currently running Maple on a test system.

I have added a course in Studio.
I have added a honor mode for that course in Django Admin.
I setup the HTML certificate configuration in Django Admin.
I setup the certificate in the course.
I activated the certificate in the course.
I have added a student in honor mode in that course.
I even have exercises that are graded for that course.
The student has completed the course but the certificate is nowhere to be found.

I see there is no longer any advanced parameters for “Certificates Display Behavior” in Maple.

Am I missing something? If so, what?

The course I am using was previously a test course I had in Native for Koa (and more previous releases) that delivered autogenerated certificates and for which I had setup early_no_info and even enabled certificates.auto_certificate_generation.

All I see in the logs now under Tutor and Maple are these:

2022-03-16 20:44:38,362 INFO 10 [tracking] [user 8] [ip 50.101.212.29] logger.py:41 - {"name": "edx.course.grade.now_passed", "context": {"user_id": 8, "path": "/api/courseware/course/course-v1:UMontreal+CERT101+P2022", "course_id": "course-v1:UMontreal+CERT101+P2022", "org_id": "UMontreal", "enterprise_uuid": ""}, "username": "sambapete", "session": "d6a589dc68c6c5d4d93406a7e48c95cf", "ip": "50.101.212.29", "agent": "Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:98.0) Gecko/20100101 Firefox/98.0", "host": "cours-virginie.edulib.org", "referer": "https://apps.cours-virginie.edulib.org/", "accept_language": "fr", "event": {"user_id": "8", "course_id": "course-v1:UMontreal+CERT101+P2022", "event_transaction_id": "None", "event_transaction_type": "None"}, "time": "2022-03-16T20:44:38.362357+00:00", "event_type": "edx.course.grade.now_passed", "event_source": "server", "page": null}

2022-03-16 20:44:38,365 INFO 10 [lms.djangoapps.certificates.signals] [user 8] [ip 50.101.212.29] signals.py:80 - Attempt will be made to generate a course certificate for 8 : course-v1:UMontreal+CERT101+P2022 as a passing grade was received.

2022-03-16 20:44:38,366 INFO 10 [lms.djangoapps.certificates.generation_handler] [user 8] [ip 50.101.212.29] generation_handler.py:44 - Attempt will be made to generate course certificate for user 8 : course-v1:UMontreal+CERT101+P2022

But absolutely nothing happens…

Any idea what is going on?

Thanks for any advice.

I finally found what was the problem.

Thanks go to @bwidyasanyata and Enable Automatic Certificate Generation is fail on Maple after Lilac upgrade - #6 by bwidyasanyata

Unfortunately that causes a much bigger challenge if what he writes is true about courses created before Maple.

I confirm that even importing an old course created before Maple doesn’t work.

How do we handle courses that have been existing for a while, for example on Koa in Native, when we will switch to Tutor and Maple? We have long running courses that deliver certificates either auto-generated or at the end. Is there a migration command we need to run? We can’t assume a course will end before our move to Tutor. That would be a logistic nightmare…

3 Likes

me too still trying to find a solution

Hi @sambapete
after many attempts finally, it is working.

try to follow these steps
go to admin Django /admin/course_modes/coursemode/
configure every course at course mode to honor, as screenshot below

then go to studio> setting > certificate


then press Set up your certificate

then press the active button

go to /admin/certificates/certificategenerationconfiguration , then press add button

then press save button

go to /admin/certificates/certificatehtmlviewconfiguration/ then press add button


then press save button

to go to the course “Instructor Dashboard” and enable certificate by pressing “enable student-generated certificates”

then go /admin/waffle/switch/ then disable " certificates.auto_certificate_generation"

then go to studio> setting > Advanced Settings then press “Show Deprecated Settings”, make sure your setting as the screenshot below

then run these commands

tutor local stop
tutor local quickstart

After that, you can view the certificate on “my dashboard” for every user also, at the progress course page


make sure to unenroll then reEnroll again from a course because you need to update the mode of enrollment from Audit to honor as we did in the course

tutor version 1.11
edx version maple 3

3 Likes