Comments (10)
i'm having the same issue all the modules which i can see when i log into canvas through a browser are forbidden. I just want the data from the module pages text i'm not really good at python but am willing to be guided
from canvas-student-data-export.
Hi Kayla,
Forbidden errors usually have to do with authorization. Can you view those submissions/modules when you're logged in to Canvas in the browser? If you can view them in the browser but they fail to download using this script, then we should keep investigating. If you want to skip a course that you no longer have permission to access, you can use the COURSES_TO_SKIP
global variable.
from canvas-student-data-export.
Hello Dave! Thank you for your prompt response. I believe I have permission to view. I think the issue might go a little further than permission view because I have successfully exported all of my courses over the four years and not one single course was able to export the modules section, but course files were successful. Thank you again!
from canvas-student-data-export.
Interesting, ok! Are you able to share any more debugging details? Maybe you can add more print statements to help us figure out exactly what is returning this Forbidden message?
from canvas-student-data-export.
@areisinger @KaylaFortson I no longer have access to Canvas so it will be challenging for me to debug this issue. If you'd like you can schedule a call with me and we can debug the issue from your computer: https://usemotion.com/meet/davidk/hxmsj33
from canvas-student-data-export.
I'm having the same issue here. I can view and download all of my submissions from the canvas page itself, but it fails when done via the python script.
I also get this error occasionally:
Skipping file download that gave the following error: {"status":"unauthorized","errors":[{"message":"user not authorized to perform that action"}]}
from canvas-student-data-export.
My friend and I are experiencing the same issue. Any advice on how to proceed would be appreciated!
from canvas-student-data-export.
@wdsouza0 @ingensargens Sorry to hear the modules download isn't working. Unfortunately since I no longer have access to Canvas, I can't really reproduce this issue on my machine. If you want to schedule a call, I'd be happy to dig into this with you and debug it from your machine and hopefully we can solve the problem for everyone. You can schedule a call with me here: https://usemotion.com/meet/davidk/hxmsj33
from canvas-student-data-export.
@wdsouza0 @ingensargens Sorry to hear the modules download isn't working. Unfortunately since I no longer have access to Canvas, I can't really reproduce this issue on my machine. If you want to schedule a call, I'd be happy to dig into this with you and debug it from your machine and hopefully we can solve the problem for everyone. You can schedule a call with me here: https://usemotion.com/meet/davidk/hxmsj33
Did this amount to a fix?
from canvas-student-data-export.
I had this problem too but was able to fix it - I also had another error about not being able to find Google Chrome, which I'm guessing it uses to actually download the data. I was getting the error that was reported in #14 and fixed it as described there. After that, my modules folder (and all of the other folders have data in them now. I still get those "forbidden" and "unauthorized" errors, but I believe those are for content types that my instructors didn't use. Everything we did use was able to download.
from canvas-student-data-export.
Related Issues (13)
- Was not able to save the URL using singlefile. The reported error was No such file or directory HOT 5
- Arch Linux - Failed to launch the browser process! spawn chrome ENOENT HOT 2
- Cannot find chrome HOT 1
- Cannot bypass login page for any downloaded HTML files HOT 3
- ModuleNotFoundError: No module named 'canvasapi' HOT 1
- Unexpected token '??=' when downloading pages HOT 5
- How do i get this to run on mac? HOT 7
- Suggestion: download user files HOT 4
- npm i github command failure HOT 1
- cannot import name 'Finder' from 'importlib.abc' HOT 3
- Line 362 #TODO HOT 1
- Issue with packages (I think) HOT 5
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from canvas-student-data-export.