Unexpected token '??=' when downloading pages #18
Labels
No Label
bug
dependencies
documentation
duplicate
enhancement
good first issue
help wanted
invalid
question
wontfix
No Milestone
No project
No Assignees
1 Participants
Notifications
Due Date
No due date set.
Dependencies
No dependencies set.
Reference: cyberes/canvas-student-data-export#18
Loading…
Reference in New Issue
No description provided.
Delete Branch "%!s(<nil>)"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
It successfully builds the folder hierarchy, but fails to download any pages due to the errors of the form:
and so on. It seems to correctly populate the json files, but not download any HTML pages.
Probably unrelated, but some other pages also report the error
, but since that is less frequent it seems more likely to be an issue with canvas rather than the exporter.
Also in case it's relevant, I'm running in a fresh python 3.11 venv, on MacOS 13.6. I'm happy to provide any additional info or debugging work as needed.
@dj346 Are you able to help debug this issue?
@Patronics 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
@Patronics what tool are you using to export your cookies and did you set a browser path in the singlefile.py?
Sorry for the late reply, I think I've resolved the issue, it seemed to be caused by me running an older version of node, (14.x instead of 16.x), updating that and rerunning
npm i
(along with setting the browser path) resolved the error message. I don't currently have a consistent internet connection to fully verify it works, but hopefully I will later today.