Giter Site home page Giter Site logo

Comments (16)

przemyslawpluta avatar przemyslawpluta commented on July 30, 2024

Unfortunately I don't have an access to M101J but based on the tests on M202, M102, M101P, M101JS I can't reproduce the issue you're seeing.

Is the course still available? What version of py are you using?

from mongo-edu.

checkcheckzz avatar checkcheckzz commented on July 30, 2024

Hi:

I am currently taking this course, it just started a week ago. My python version is 2.7.

from mongo-edu.

przemyslawpluta avatar przemyslawpluta commented on July 30, 2024

Just signed in for M101J and still can't replicate the issue. Can download all videos on win7 without any errors with py 2.7.

Try npm uninstall mongo-edu -g then npm cache clean and npm install mongo-edu -g. Is it home or work network?

from mongo-edu.

checkcheckzz avatar checkcheckzz commented on July 30, 2024

I did not try your solution yet. Some error occurs in my npm, it happens a lot error. Anyway, I will try it after I fix the npm error.

from mongo-edu.

przemyslawpluta avatar przemyslawpluta commented on July 30, 2024

Have you fixed your npm setup?

from mongo-edu.

checkcheckzz avatar checkcheckzz commented on July 30, 2024

unfortunately, not... I posted issues in npm repo, got reply, tried several solutions, failed. I am quite busy these days. Thus, I don't have time to explore it further.
But I think mongo-edu will work in the end. I definitely need to download the videos.

from mongo-edu.

przemyslawpluta avatar przemyslawpluta commented on July 30, 2024

Was thinking about publishing experimental package where you don't have to install nodejs or npm based on jxcore. If you're interested just let me know which OS are you on and I can publish something for you.

from mongo-edu.

checkcheckzz avatar checkcheckzz commented on July 30, 2024

I use Windows7. Thanks!.

from mongo-edu.

przemyslawpluta avatar przemyslawpluta commented on July 30, 2024

32bit or 64bit?

from mongo-edu.

checkcheckzz avatar checkcheckzz commented on July 30, 2024

64 bit

from mongo-edu.

checkcheckzz avatar checkcheckzz commented on July 30, 2024

But npm finally works. but the error occurs again as I listed in my first post...

C:\Users\niuzhist>mongo-edu -d --cw /videos/

[ MONGO-EDU 0.2.1 ]

? MongoDB Uni User Name: [email protected]
? MongoDB Uni Password: ********

Searching [====================] 100%
? Found 2 Courses. Select: M101J: MongoDB for Java Developers
? Found 2 Lists. Select: Week 1: Introduction
Searching Courseware [====================] 100%
Collecting [====================] 100%
? Select From 29 Videos. Download: All
Error: Command failed: Traceback (most recent call last):
File "C:\Program Files (x86)\python\lib\runpy.py", line 162, in run_module_as
main
"main", fname, loader, pkg_name)
File "C:\Program Files (x86)\python\lib\runpy.py", line 72, in run_code
exec code in run_globals
File "C:\Users\niuzhist\AppData\Roaming\npm\node_modules\mongo-edu\node_module
s\youtube-dl\bin\youtube-dl__main
.py", line 18, in
File "C:\Users\niuzhist\AppData\Roaming\npm\node_modules\mongo-edu\node_module
s\youtube-dl\bin\youtube-dl\youtube_dl__init
_.py", line 352, in main
File "C:\Users\niuzhist\AppData\Roaming\npm\node_modules\mongo-edu\node_module
s\youtube-dl\bin\youtube-dl\youtube_dl__init__.py", line 58, in _real_main
File "C:\Users\niuzhist\AppData\Roaming\npm\node_modules\mongo-edu\node_module
s\youtube-dl\bin\youtube-dl\youtube_dl\options.py", line 119, in parseOpts
File "C:\Program Files (x86)\python\lib\optparse.py", line 1018, in add_option

raise TypeError, "invalid arguments"

TypeError: invalid arguments

at ChildProcess.exithandler (child_process.js:648:15)
at ChildProcess.emit (events.js:98:17)
at maybeClose (child_process.js:756:16)
at Process.ChildProcess._handle.onexit (child_process.js:823:5)

from mongo-edu.

przemyslawpluta avatar przemyslawpluta commented on July 30, 2024

BTW it looks like you're passing your args in the incorrect way ... It should be mongo-edu -d /videos/ --cw not mongo-edu -d --cw /videos/ unless you want the download path to be created in ~ ./true

Change the args order and if it still crashes just add --verbose and post the output before the crash.

from mongo-edu.

checkcheckzz avatar checkcheckzz commented on July 30, 2024

I still got errors...And I use the youtube-dl, a python package to download the video. But I have to download them one by one.

from mongo-edu.

przemyslawpluta avatar przemyslawpluta commented on July 30, 2024

Can you post the output you get with --verbose.

from mongo-edu.

przemyslawpluta avatar przemyslawpluta commented on July 30, 2024

Try to reinstall py.

from mongo-edu.

przemyslawpluta avatar przemyslawpluta commented on July 30, 2024

Closing the case will reopen if updates provided.

from mongo-edu.

Related Issues (20)

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.