Closed ledelprete closed 6 years ago
The script may struggle with 2400 students, however, it isn't even getting to that point since it's not showing up on the menu. I modified the script a couple of months ago because of changes in FileSaver.js and because it was failing on some sections that had no student enrollments.
Since it was working in November and not showing up now, my first guess is that the script has been updated and that you have a custom domain for your Canvas instance that isn't *.instructure.com and so it's not even running the script. To fix that, edit the @ //include line to match your site.
The second guess would be that you're running Firefox and Greasemonkey, which currently does not work as my script relies on jQuery and changes made last year to Firefox forced Greasemonkey to undergo a rewrite and certain things that used to work, like using the built-in jQuery, no longer function. You can verify that by going to developer tools (F12) and looking at the console; there will be some script errors like $ is not defined. The current fix is to stop using Greasemonkey and switch to use Tampermonkey.
Back to the 2400 students -- I don't have anything that big to test with, but people have experienced timeouts with Chrome that didn't happen with Firefox. That is only a concern after you get it running.
Thank you so much for your quick response :-)
I truly appreciate your work on this feature because it's going to give us some very useful data for tailoring our program to best meet the needs of our students.
Your observations are correct. I am using Firefox and Grease monkey. I will try it using Tampermonkey and hope it doesnt time out with 2400 students.
I had already tried line 5 changes and that didn't work...but I will try again w Tampermonkey.
Again, I truly appreciate your help!
Get Outlook for Androidhttps://aka.ms/ghei36
From: James Jones Sent: Friday, March 30, 12:02 PM Subject: Re: [jamesjonesmath/canvancement] Access Report Data script won't run but did before (#7) To: jamesjonesmath/canvancement Cc: Delprete, Lynette, E, Author
The script may struggle with 2400 students, however, it isn't even getting to that point since it's not showing up on the menu. I modified the script a couple of months ago because of changes in FileSaver.js and because it was failing on some sections that had no student enrollments. Since it was working in November and not showing up now, my first guess is that the script has been updated and that you have a custom domain for your Canvas instance that isn't *.instructure.com and so it's not even running the script. To fix that, edit the @ //include line to match your site. The second guess would be that you're running Firefox and Greasemonkey, which currently does not work as my script relies on jQuery and changes made last year to Firefox forced Greasemonkey to undergo a rewrite and certain things that used to work, like using the built-in jQuery, no longer function. You can verify that by going to developer tools (F12) and looking at the console; there will be some script errors like $ is not defined. The current fix is to stop using Greasemonkey and switch to use Tampermonkey. Back to the 2400 students -- I don't have anything that big to test with, but people have experienced timeouts with Chrome that didn't happen with Firefox. That is only a concern after you get it running. — You are receiving this because you authored the thread. Reply to this email directly, view it on GitHubhttps://github.com/jamesjonesmath/canvancement/issues/7#issuecomment-377557284, or mute the threadhttps://github.com/notifications/unsubscribe-auth/AkK_uEFetepn_hEPNFVWf-uPA-uAKKeCks5tjlbpgaJpZM4TBiPO.
The information contained in this email may be confidential and/or legally privileged. It has been sent for the sole use of the intended recipient(s). If the reader of this message is not an intended recipient, you are hereby notified that any unauthorized review, use, disclosure, dissemination, distribution, or copying of this communication, or any of its content, is strictly prohibited. If you have received this communication in error, please contact the sender by reply email and destroy all copies of the original message. Thank you.
I don't think the issue with the timeout was Tampermonkey as much as Chrome. Tampermonkey works on most of the major browsers, including Firefox. I hope the Tampermonkey / Firefox combo will work for you.
Oh gosh that is great thank you for explaining that. I am not very familiar with these types of tools, so I had assumed I had to use Tampermonkey with Chrome. I will let you know how it works out.
Get Outlook for Androidhttps://aka.ms/ghei36
From: James Jones Sent: Friday, March 30, 1:11 PM Subject: Re: [jamesjonesmath/canvancement] Access Report Data script won't run but did before (#7) To: jamesjonesmath/canvancement Cc: Delprete, Lynette, E, Author
I don't think the issue with the timeout was Tampermonkey as much as Chrome. Tampermonkey works on most of the major browsers, including Firefox. I hope the Tampermonkey / Firefox combo will work for you. — You are receiving this because you authored the thread. Reply to this email directly, view it on GitHubhttps://github.com/jamesjonesmath/canvancement/issues/7#issuecomment-377572966, or mute the threadhttps://github.com/notifications/unsubscribe-auth/AkK_uCrcHdS8iAXsUCfTQAqgPAZcBu8Lks5tjmc8gaJpZM4TBiPO.
The information contained in this email may be confidential and/or legally privileged. It has been sent for the sole use of the intended recipient(s). If the reader of this message is not an intended recipient, you are hereby notified that any unauthorized review, use, disclosure, dissemination, distribution, or copying of this communication, or any of its content, is strictly prohibited. If you have received this communication in error, please contact the sender by reply email and destroy all copies of the original message. Thank you.
I've just tried the script with Chrome/Greasemonkey, Chrome/Tampermonkey, and Firefox/Tampermonkey, with a course containing just 11 users. Unfortunately, the progress bar fills to completion, but it never presents the CSV in any of them. As a work around, I'm going to attempt to downgrade Firefox to v54 to see if that will fix the issue.
I got it to work on my course group with 2400 users. Tampermonkey downloaded then used Firefox as browser ( I think)... it's been a couple days and I tried a couple of different ways.
I haven't had a chance to spot check its accuracy but it did create a file that easily opened in excel.
Get Outlook for Androidhttps://aka.ms/ghei36
From: cjlevesque Sent: Thursday, April 5, 9:50 AM Subject: Re: [jamesjonesmath/canvancement] Access Report Data script won't run but did before (#7) To: jamesjonesmath/canvancement Cc: Delprete, Lynette, E, Author
I've just tried the script with Chrome/Greasemonkey, Chrome/Tampermonkey, and Firefox/Tampermonkey, with a course containing just 11 users. Unfortunately, the progress bar fills to completion, but it never presents the CSV in any of them. As a work around, I'm going to attempt to downgrade Firefox to v54 to see if that will fix the issue. — You are receiving this because you authored the thread. Reply to this email directly, view it on GitHubhttps://github.com/jamesjonesmath/canvancement/issues/7#issuecomment-378942812, or mute the threadhttps://github.com/notifications/unsubscribe-auth/AkK_uJil3LGj8w5X82TPmqmr-A3odgKsks5tliEfgaJpZM4TBiPO.
The information contained in this email may be confidential and/or legally privileged. It has been sent for the sole use of the intended recipient(s). If the reader of this message is not an intended recipient, you are hereby notified that any unauthorized review, use, disclosure, dissemination, distribution, or copying of this communication, or any of its content, is strictly prohibited. If you have received this communication in error, please contact the sender by reply email and destroy all copies of the original message. Thank you.
Evidently I'm not firing on all cylinders this week. I was foolishly trying to use the script in a training course that I only had student access in - obviously, I did not have the proper Canvas permissions for it to work. When I tried it in the courses I'm actually teaching (both Firefox and Chrome) it worked perfectly.
:-)
Get Outlook for Androidhttps://aka.ms/ghei36
From: cjlevesque notifications@github.com Sent: Thursday, April 5, 2018 10:44:51 AM To: jamesjonesmath/canvancement Cc: Delprete, Lynette, E; Author Subject: Re: [jamesjonesmath/canvancement] Access Report Data script won't run but did before (#7)
Evidently I'm not firing on all cylinders this week. I was foolishly trying to use the script in a training course that I only had student access in - obviously, I did not have the proper Canvas permissions for it to work. When I tried it in the courses I'm actually teaching (both Firefox and Chrome) it worked perfectly.
— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHubhttps://github.com/jamesjonesmath/canvancement/issues/7#issuecomment-378961254, or mute the threadhttps://github.com/notifications/unsubscribe-auth/AkK_uF1-XPU-rC_DSOgvNsqv614qTd8Hks5tli3jgaJpZM4TBiPO.
The information contained in this email may be confidential and/or legally privileged. It has been sent for the sole use of the intended recipient(s). If the reader of this message is not an intended recipient, you are hereby notified that any unauthorized review, use, disclosure, dissemination, distribution, or copying of this communication, or any of its content, is strictly prohibited. If you have received this communication in error, please contact the sender by reply email and destroy all copies of the original message. Thank you.
I am having trouble getting this script to run. It ran beautifully on a different course last November. Maybe the course is too big? The current course has 2,400 students enrolled while the November course only had 250. The script isn't showing on the dropdown menu under People,