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

Assertion Error #18

Open
JasmineYJ opened this issue May 17, 2020 · 3 comments
Open

Assertion Error #18

JasmineYJ opened this issue May 17, 2020 · 3 comments

Comments

@JasmineYJ
Copy link

I've downloaded other classes with no issue, except the following :

2020-05-17 13:43:59,120 - 3 - [Done] priority=C, ttl=3. crawl_lecture: course=mcit595-spring2020, lecture=spring-2020-jan-28-open-office-hour-recording
Traceback (most recent call last):
File "/opt/anaconda3/bin/dl_coursera", line 10, in
sys.exit(main())
File "/opt/anaconda3/lib/python3.7/site-packages/dl_coursera_run.py", line 178, in main
soc = crawl(args['cookies'], args['slug'], args['isSpec'], args['outdir'], args['n_worker'])
File "/opt/anaconda3/lib/python3.7/site-packages/dl_coursera_run.py", line 71, in crawl
soc = crawler.crawl(slug=slug, isSpec=isSpec)
File "/opt/anaconda3/lib/python3.7/site-packages/dl_coursera/Crawler.py", line 313, in crawl
assert len(failures) == 0
AssertionError

@FLZ101
Copy link
Owner

FLZ101 commented May 18, 2020

As a temporary solution, deleting line 313 of /opt/anaconda3/lib/python3.7/site-packages/dl_coursera/Crawler.py should help.

@ulissesBR
Copy link

Had the same issue, feng-lei's workaround worked for me.

@IMINABO1
Copy link

IMINABO1 commented Nov 26, 2022

I am also having the same error. The solution is not working. I have never encountered this error

2022-11-26 23:12:58,877 - 3 - [Done] priority=C, ttl=3. crawl_lecture: course=decision-making, lecture=specialization-overview
Traceback (most recent call last):
File "C:\Users\NIMASA\AppData\Local\Programs\Python\Python310\lib\runpy.py", line 196, in _run_module_as_main
return _run_code(code, main_globals, None,
File "C:\Users\NIMASA\AppData\Local\Programs\Python\Python310\lib\runpy.py", line 86, in run_code
exec(code, run_globals)
File "C:\Users\NIMASA\AppData\Local\Programs\Python\Python310\Scripts\dl_coursera.exe_main
.py", line 7, in
File "C:\Users\NIMASA\AppData\Local\Programs\Python\Python310\lib\site-packages\dl_coursera_run.py", line 178, in main
soc = crawl(args['cookies'], args['slug'], args['isSpec'], args['outdir'], args['n_worker'])
File "C:\Users\NIMASA\AppData\Local\Programs\Python\Python310\lib\site-packages\dl_coursera_run.py", line 71, in crawl
soc = crawler.crawl(slug=slug, isSpec=isSpec)
File "C:\Users\NIMASA\AppData\Local\Programs\Python\Python310\lib\site-packages\dl_coursera\Crawler.py", line 313, in crawl
assert len(failures) == 0
AssertionError

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants