Comments (5)
@dj346 Are you able to help debug this issue? I no longer have access to Canvas so it's difficult for me to debug issues like this
from canvas-student-data-export.
@Bristopher 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.
@Bristopher Can you go to the bottom of singlefile.py, uncomment out the section at the bottom, and run the singlefile.py? Post any errors you get. Sorry for the late response.
from canvas-student-data-export.
@davekats @dj346 We're even now haha, been so busy with this last semester. That initial issue I posted above must've been a quirk because out of all the times I've used this that isn't the main issue, the main issue is this:
Downloading course list page Failed to launch the browser process! spawn chrome ENOENT
Somehow it can never correctly find chrome (after searching it seems to be a very common problem, I think it's just a puppeteer issue), I've been trying to just dockerize it at this point so I don't have to deal with
windows-->linux issues, and its good practice to get better at it, but still same issue. If I use the Dockerfile given from gildas-lormeau/single-file-cli to test it finally works, but now there's a new bigger hurdle.
Ever since a couple years ago a lot Universities started using 2FA and redirect you after you login, even with the cookies file, I believe it momentarily redirects to 2FA portal to check and then continues to the page, so single-file just captures the page of the 2FA portal. Not sure if there's a way to delay single-file or somehow bypass the redirect check if you have the correct cookies, or something like that.
https://weblogin.XXX.edu/cas/login?service=https%3A%2F%2FXXX.instructure.com%2Flogin%2Fcas
from canvas-student-data-export.
We were able to figure this one out over a zoom call. We found that adding the --browser-debug
flag after line 14 in singlefile.py was helpful and seemed to help singlefile render webpages in chrome effectively.
from canvas-student-data-export.
Related Issues (13)
- 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
- Course Files Download but no Modules Content HOT 10
- 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.