Coder Social home page Coder Social logo

Comments (7)

davekats avatar davekats commented on July 21, 2024

Hi @Me-Mr, do you have experience with Python? Try following the steps outlined in the Getting Started section of the Readme: https://github.com/davekats/canvas-student-data-export#getting-started
Let me know if you run into any issues.

from canvas-student-data-export.

Me-Mr avatar Me-Mr commented on July 21, 2024

Hi @davekats thank you for your reply! I don't have any experience, but I've set it up. I'm getting this error when installing dependencies: ERROR: Could not find a version that satisfies the requirement python-dateutil==-2.8.2 (from versions: 1.4, 1.4.1, 1.5, 2.1, 2.2, 2.3, 2.4.0, 2.4.1, 2.4.1.post1, 2.4.2, 2.5.0, 2.5.1, 2.5.2, 2.5.3, 2.6.0, 2.6.1, 2.7.0, 2.7.1, 2.7.2, 2.7.3, 2.7.4, 2.7.5, 2.8.0, 2.8.1, 2.8.2)
ERROR: No matching distribution found for python-dateutil==-2.8.2

When I install pythondateutil without the version it says it's already installed.

After running export.py I got this error:

Traceback (most recent call last): File "/Users/a/Downloads/canvas-student-data-export-3/export.py", line 11, in <module> from module.download_canvas import download_assignment_pages, download_course_announcement_pages, download_course_discussion_pages, download_course_files, download_course_home_page_html, download_course_html, download_course_module_pages, download_submission_attachments File "/Users/a/Downloads/canvas-student-data-export-3/module/download_canvas.py", line 8, in <module> from tqdm import tqdm ModuleNotFoundError: No module named 'tqdm'

Thank you for your help!

from canvas-student-data-export.

Me-Mr avatar Me-Mr commented on July 21, 2024

Hi I installed the other dependencies on my own. Now I'm getting this error:

Getting list of all courses...
Fetching Courses...
Failed to launch the browser process! spawn /usr/bin/chromium-browser ENOENT

TROUBLESHOOTING: https://pptr.dev/troubleshooting

This is where I got stuck before also.

from canvas-student-data-export.

davekats avatar davekats commented on July 21, 2024

@Me-Mr If you want to use singlefile, you will need to edit lines 4 and 12 of the singlefile.py file and set the path to the path of your chrome or chromium browser. I have also found that adding the --browser-debug flag after line 14 can be helpful.

If you don't need the HTML pages that singlefile provides and are ok with the JSON data, you can add an early return after line 9 of singlefile.py.

from canvas-student-data-export.

jayKlo avatar jayKlo commented on July 21, 2024

I was able to get it running on MacOS following @davekats steps. Default chrome path on Mac was "/Applications/Google Chrome.app/Contents/MacOS/Google Chrome". Note that copying the path from Terminal with the escaping backslashes did not work.

Using the browser-debug flag also seemed to cause it to hang indefinitely at the "Downloading course list page" step and a blank Chrome window remained open, but without that flag it seemed to run fine.

Thanks for all of your work here, this was a really handy tool.

from canvas-student-data-export.

Me-Mr avatar Me-Mr commented on July 21, 2024

from canvas-student-data-export.

davekats avatar davekats commented on July 21, 2024

Glad to hear you got it running and found the tool helpful @jayKlo!

from canvas-student-data-export.

Related Issues (13)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.