Traceback (most recent call last):


 "udemy-dl.py", line 924, in <module>

main()


 "udemy-dl.py", line 829, in main

udemy.ExtractAndDownload()


 "udemy-dl.py", line 291, in ExtractAndDownload

self.login()


 "udemy-dl.py", line 40, in login

extract_info.login(self.username, self.password)


 "D:\udemy-dl\udemy\_extractor.py", line 147, in login

login_form
= self._fill_login_form(login_popup, username, password)


 "D:\udemy-dl\udemy\_extractor.py", line 98, in _fill_login_form

login_form = self._form_hidden_inputs('login-form', webpage)


 "D:\udemy-dl\udemy\_extractor.py", line 88, in _form_hidden_inputs

return _hidden_inputs(form)


 "D:\udemy-dl\udemy\_utils.py", line 80, in _hidden_inputs

html = re.sub(r'<!--(?:(?!<!--).)*-->', '', html)


 "C:\Python27\lib\re.py", line 155, in sub

return _compile(pattern, flags).sub(repl, string, count)
TypeError: expected string or buffer

Traceback (most recent call last):


 "/home/pastore/data/bcbio/anaconda/lib/python2.7/site-packages/bcbio/distributed/ipythontasks.py", line 51, in _setup_logging

yield config


 "/home/pastore/data/bcbio/anaconda/lib/python2.7/site-packages/bcbio/distributed/ipythontasks.py", line 429, in detect_sv

return ipython.zip_args(apply(structural.detect_sv, *args))


 "/home/pastore/data/bcbio/anaconda/lib/python2.7/site-packages/bcbio/structural/__init__.py", line 197, in detect_sv

for svdata in caller_fn(items):


 "/home/pastore/data/bcbio/anaconda/lib/python2.7/site-packages/bcbio/structural/titancna.py", line 28, in run

het_file = _titan_het_file(heterogeneity.get_variants(paired.tumor_data), work_dir, paired)


 "/home/pastore/data/bcbio/anaconda/lib/python2.7/site-packages/bcbio/structural/titancna.py", line 127, in _titan_het_file

work_dir, paired, OutWriter)


 "/home/pastore/data/bcbio/anaconda/lib/python2.7/site-packages/bcbio/heterogeneity/bubbletree.py", line 147, in prep_vrn_file

stats = _is_possible_loh(rec, bcf_in, params, somatic_info)


 "/home/pastore/data/bcbio/anaconda/lib/python2.7/site-packages/bcbio/heterogeneity/bubbletree.py", line 309, in _is_possible_loh

stats = _tumor_normal_stats(rec, somatic_info)


 "/home/pastore/data/bcbio/anaconda/lib/python2.7/site-packages/bcbio/heterogeneity/bubbletree.py", line 292, in _tumor_normal_stats

alt, depth, freq = sample_alt_and_depth(rec, sample)


 "/home/pastore/data/bcbio/anaconda/lib/python2.7/site-packages/bcbio/heterogeneity/bubbletree.py", line 350, in sample_alt_and_depth

all_counts = [int(x) for x in sample["AD"]]
TypeError: int() argument must be a string or a number, not 'NoneType'`