bbb-downloader icon indicating copy to clipboard operation
bbb-downloader copied to clipboard

capture-full-replay error loader.js

Open Bertbk opened this issue 4 years ago • 4 comments

Hello,

I tried to download a video using the script capture-full-replay.sh but it failed: it creates a 4 seconds video containing only the image "Docker Selenium". This is the command I launched:

./capture-full-replay.sh 'https://scalelite.lal.cloud.math.cnrs.fr/playback/presentation/2.0/playback.html?meetingId=7773cd6626d11404b2918c757753225938c246b0-1610022254792'

I tried to comment everything concerning progressbar.sh, but this didn't solve my problem (don't really know what I'm doing but anyway :) )

There are somes error in the logs:

Container docker internal IP: 172.17.0.2
Selenium all done and ready for testing!

Please wait for 3997 seconds, while we capture the playback...

internal/modules/cjs/loader.js:638
    throw err;
    ^

Error: Cannot find module 'selenium-webdriver'

And

Error response from daemon: Cannot kill container: grid66361: No such container: grid66361

Here is a pastebin of the logfile

Does someone has an idea? Thanks a lot!

Should it helps, I'm on Ubuntu 20.04.

Bertbk avatar Feb 01 '21 16:02 Bertbk

It looks like one dependency is missing. Did you run npm install (that should install selenium-webdriver) ?

trahay avatar Feb 17 '21 15:02 trahay

Thank you for your reply.

Indeed, I forgot to do npm install. The script seems to work but the video is 4 seconds long and "frozen", while it works fine using download_bbb script...

If this can be useful, here is the log file...

Thanks again!

Bertbk avatar Mar 01 '21 14:03 Bertbk

Thanks for the log file. It shows a few weird errors that may be the cause of the problem, but I don't have enough information to debug :( I've just update the capture-full-replay script to add a verbose mode (option -v), could you try it and send me the log file ?

In the meantime, I'm downloading your video, and I'll send it to you if it is not frozen.

trahay avatar Mar 12 '21 08:03 trahay

Thanks for your reply! Tant pis :)

Here is a log file with the -v option.

PS : Don't worry for the video and no need to download it for me, this was a "toy video" for testing purpose. Thanks anyway :)

Bertbk avatar Mar 12 '21 08:03 Bertbk