-
Notifications
You must be signed in to change notification settings - Fork 6
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Stuck Getting courses from Canvas #1
Comments
I have yet to see that bug. Is there anything that stood out in the logs? If you want to help me look into this, try hitting the some of the apis in my repo here https://github.com/drew-royster/canvasAPISPostman Those are the apis I'm hitting for Canvas File Sync to work. to debug I'd
Interested to see what you find. Sorry about the issue and thanks for the feedback! |
A lot of the GET commands throws the same error. https://gist.github.com/Mibo5354/44a5735ac74a95d83425246b286c9e9b |
I've been having this issue as well, and am happy to provide diagnostic info via Postman. However, it seems that I need to specify an authToken -- is it possible to get this from any kind of logs left by CFS, or is there a direct way to obtain it? |
@lucassz You can get the authToken from canvas in the account settings. |
Can you get to the files through the UI? I'm not doing anything sneaky so if you can't get to the files from the UI, then the app probably can't find them either. I'm getting files from the modules view as well so maybe I just need to make it handle a disabled I have a test course that I can enable or disable things on. Let me try disabling |
I can get to the files through the UI where everything is attached in modules. There are extra files within the module pages embedded as links and videos. |
v1.5.1 should fix this issue! Please let me know if this works for you. I am now filtering out files that are marked as |
It downloads all the files attached directly in the modules section but it doesn't download the files attached inline within the separate pages in modules. |
Okay so the idea would be that I check module pages scan for links and download any that are url's which contain any type of file extension? I think that your situation isn't completely unique, but have also had some teachers post google drive links, github, etc so it's not just simply downloading any link. Maybe I just download any url's with a Figuring out if updates happen to that link would be much harder, because at that point we are outside of the Canvas framework. |
It's still linking to files on canvas. For example, https://myuni.adelaide.edu.au/courses/44344/files/4211757/download?wrap=1 |
Now one more course has showed up with its name and being syncable, for no apparent reason! Also, I'll point out that I have way more than 8 courses visible on Canvas, so not all are showing up even in that glitched form. |
After the initial log on, it gets stuck on the "Getting courses from Canvas" page. The access token is successfully created and the usage is recorded.
Is there a debug log available somewhere?Edit: After looking through the log, it's just infinitely looping through parsing the courses.
The text was updated successfully, but these errors were encountered: