Open xuelingqin opened 2 months ago
Thank you for reporting this @xuelingqin! I will try to reproduce and let you know later today.
Not urgent, I have a Mac that everything works.
Good to hear that. I also verified that the issue does not appear after a clean install of conda
in Ubuntu 22.04+Chrome. Will try Windows next.
By the way, it might be useful additionally to know the following:
4.1.x
range for best results.My "django" version is 4.1.7
You are right, there is an error on the browser: This error occurs when I enter the page 127.8. (not even click on the button)
**Uncaught TypeError: Cannot read properties of null (reading 'querySelector')
at user_list.js:27:39 user_list.js:27:39 (anonymous) @ user_list.js:27**
When I enter the course and click on "Sync from Canvas", another error occurs:
later another error occurs (don't find when this shows up)
Thank you for the helpful additional information @xuelingqin. I just clean-installed the app on a Windows machine and things went smoothly - I can add and update courses from Canvas. I am wondering if this is a browser cache issue. Since the main error here is Cannot read properties of null (reading 'querySelector')
, it seems to me that the app retrieves an outdated version of a javascript file, that might be stored in your browser cache. Does reloading the home page while clearing the cache (Ctrl
+Shift
+R
) resolve the issue maybe? This is the last step of the update instructions, and a frequent cause of similar issues.
Hello @xuelingqin, did you by any chance check if the issue on Windows is resolved by deleting the browser cache for Instructor Pilot (Ctrl+Shift+R)? I have not been able to reproduce it.
As the title suggest, no any response if I click the button "Sync from Canvas " This issue show up when I update the program to current version and it only happens on Windows. This could be a Conda environment problem.
To Reproduce Steps to reproduce the behavior:
Expected behavior no response both in the Anaconda prompt and the browser the prompt remains: [02/Sep/2024 23:39:50] "GET / HTTP/1.1" 200 9874 [02/Sep/2024 23:39:51] "GET /static/courses/user_list.css HTTP/1.1" 304 0
Entering an old course or add the course manually at (http://127.0.0.1:8000/admin/courses/course/) then if I try to use "Sync from Canvas" in the course, it reports Only GET requests are allowed. Reload to see the changes.
Desktop (please complete the following information):
Additional context I tried to remove all files and reinstall the whole program, or change the token, or update Conda (which makes nothing new). No special things happens.