Was not able to save the URL using singlefile. The reported error was No such file or directory #11

Closed
opened 2022-12-12 12:34:19 -07:00 by Bristopher · 3 comments
Bristopher commented 2022-12-12 12:34:19 -07:00 (Migrated from github.com)

Describe the bug
% python export.py

Downloading course list page Was not able to save the URL https://xxxx.instructure.com/courses/ using singlefile. The reported error was No such file or directory

Issue is only with single-file, the rest of the program will still run till completion with expected output/export.

To Reproduce
Steps to reproduce the behavior:

  1. Manual installation:
    pip install -r requirements.txt
    sudo apt install git
    npm i github:gildas-lormeau/SingleFile

  2. Run: python export.py

  3. output snippet below

Welcome to the Canvas Student Data Export Tool

Connecting to canvas

Creating output directory: ./output

Getting list of all courses

  Downloading course list page
Was not able to save the URL https://xxxx.instructure.com/courses/ using singlefile. The reported error was No such file or directory
Working on 2022 Fall C: CSE XXX: Algorithms (2022 Fall - C)
  Getting assignments

Expected behavior
Save https://xxxx.instructure.com/courses/ to courses_list.html in ./ouput.

Environment

  • OS: Ubuntu 22.04.1 LTS\
  • Browser: chromium-revision@1.0.0\
  • puppeteer@17.7.0\
  • single-file@1.0.23\
  • Node.js: v18.12.1\
  • npm: 8.5.1
**Describe the bug**\ `% python export.py` ``` Downloading course list page Was not able to save the URL https://xxxx.instructure.com/courses/ using singlefile. The reported error was No such file or directory ``` Issue is only with single-file, the rest of the program will still run till completion with expected output/export. **To Reproduce**\ Steps to reproduce the behavior: 1. Manual installation: \ `pip install -r requirements.txt`\ `sudo apt install git`\ `npm i github:gildas-lormeau/SingleFile` 2. Run: `python export.py` 3. output snippet below ``` Welcome to the Canvas Student Data Export Tool Connecting to canvas Creating output directory: ./output Getting list of all courses Downloading course list page Was not able to save the URL https://xxxx.instructure.com/courses/ using singlefile. The reported error was No such file or directory Working on 2022 Fall C: CSE XXX: Algorithms (2022 Fall - C) Getting assignments ``` **Expected behavior**\ Save https://xxxx.instructure.com/courses/ to courses_list.html in ./ouput. **Environment** - OS: Ubuntu 22.04.1 LTS\ - Browser: chromium-revision@1.0.0\ - puppeteer@17.7.0\ - single-file@1.0.23\ - Node.js: v18.12.1\ - npm: 8.5.1
davekats commented 2023-05-10 15:40:51 -06:00 (Migrated from github.com)

@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

@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
davekats commented 2023-10-04 16:08:09 -06:00 (Migrated from github.com)

@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

@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
dj346 commented 2023-10-04 19:17:03 -06:00 (Migrated from github.com)

@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.

@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.
Sign in to join this conversation.
No description provided.