Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

echo360.org Download Error #36

Closed
Steve-Lee829 opened this issue Mar 17, 2021 · 4 comments
Closed

echo360.org Download Error #36

Steve-Lee829 opened this issue Mar 17, 2021 · 4 comments
Labels

Comments

@Steve-Lee829
Copy link

Steve-Lee829 commented Mar 17, 2021

I was trying to download video lectures from Echo360 Cloud and used ./run.sh https://echo360.org.uk/section/myCoursePage/home as suggested but still got an error after deleting the _echo360venv;

BernardoLee@DESKTOP-P7MOK6G MINGW64 ~/Desktop/echo360-master
$ ./run.sh https://echo360.org.uk/section/790d7b57-f22c-4b84-ae91-a84707c2e8c6/home
./run.sh: line 43: _echo360venv/bin/activate: No such file or directory
Failed to source virtual environment (try to delete '_echo360venv/' and re-run)

BernardoLee@DESKTOP-P7MOK6G MINGW64 ~/Desktop/echo360-master
$ ./run.sh https://echo360.org.uk/section/790d7b57-f22c-4b84-ae91-a84707c2e8c6/home
Checking pip is installed
Creating python virtual environment in _echo360venv/...
./run.sh: line 36: _echo360venv/bin/activate: No such file or directory
Failed to source virtual environment 

I am actually quite new to python and command line, so probably got it wrong somewhere I am not aware of... Are there any possible ways to sort this out? I would really appreciate it :)

@soraxas
Copy link
Owner

soraxas commented Mar 17, 2021

If it'd be easier for you, do you want to try the packaged executable at the release page (i.e. https://github.com/soraxas/echo360/releases/latest/download/echo360-linux) to see if it works for you?

Make it executable with:

chmod +x echo360-linux

@soraxas
Copy link
Owner

soraxas commented Mar 17, 2021

Appology, you'd probably want the window executable with https://github.com/soraxas/echo360/releases/latest/download/echo360-windows.exe

@Steve-Lee829
Copy link
Author

Appology, you'd probably want the window executable with https://github.com/soraxas/echo360/releases/latest/download/echo360-windows.exe

Dear soraxas,

I've tried this and it is executable! But there are some further issues :( I think it might be because of the format of the videos? It turns out after the downloading it only downloaded the last few videos in a strange format M4s.

$ /c/Users/BernardoLee/Desktop/echo360-windows.exe https://echo360.org.uk/section/1747de6b-1c40-4870-996c-80b949e71b28/home

Echo360 Cloud platform detected
This implies setup_credential, and using web_driver

Please login with your SSO details and type continue when logged in.


After you finished logging in, type 'continue' in the terminal.
Type 'continue' and press [enter]
continue
I'm gonna assume you are responsible enough to had finished logged in by now ;)
Retrieving echo360 Course Info... 18/18 videos Done!
============================================================
Course: [[UNTITLED]]
Total videos to download: 66 out of 18
============================================================


Downloading "2020-12-08 - Lecture 18 [Week 10, Support Class]"

Downloading audio:
100%|▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒| 49.9M/49.9M [00:11<00:00, 4.40MiB/s] > Downloading video:
Progress: [> ] 0.00% 0/1
100%|▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒| 101M/101M [00:22<00:00, 4.56MiB/s] > Converting to mp4... [1720] Failed to execute script entrypoint

Traceback (most recent call last):
File "site-packages\ffmpy.py", line 94, in run
File "subprocess.py", line 800, in init
File "subprocess.py", line 1207, in _execute_child
FileNotFoundError: [WinError 2] ϵͳ▒Ҳ▒▒▒ָ▒▒▒▒▒ļ▒▒▒

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "entrypoint.py", line 7, in <module>
  File "echo360\main.py", line 356, in main
    downloader.download_all()
  File "echo360\downloader.py", line 235, in download_all
    if video.download(self._output_dir, filename):
  File "echo360\videos.py", line 268, in download
    result = self.download_single(session, single_url, output_dir, new_filename, pool_size)
  File "echo360\videos.py", line 314, in download_single
    os.path.join(output_dir, filename + ".mp4"))
  File "echo360\videos.py", line 347, in combine_audio_video
    ff.run()
  File "site-packages\ffmpy.py", line 99, in run
ffmpy.FFExecutableNotFoundError: Executable 'ffmpeg' not found

The cmd message is like this.

@soraxas
Copy link
Owner

soraxas commented Mar 18, 2021

You need ffmpeg for file conversion (stated in the README file), see https://github.com/adaptlearning/adapt_authoring/wiki/Installing-FFmpeg for some installation guidelines.

@soraxas soraxas added the stale label Sep 3, 2021
@soraxas soraxas closed this as completed Sep 3, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants