Traceback (most recent call last):

 "/workspace/composer/workflows/dataflowtemplateoperator_create_dataset_and_table_test.py", line 52, in test_creation
client.delete_dataset(dataset, delete_contents=True, not_found_ok=True)UnboundLocalError: local variable 'dataset' referenced before assignment</pre></details>
Traceback (most recent call last):


 "C:\Users\Yan\AppData\Local\Programs\Python\Python36\Scripts\ykdl-script.py", line 11, in <module>

load_entry_point('ykdl==1.6.2', 'console_scripts', 'ykdl')()


 "c:\users\yan\appdata\local\programs\python\python36\lib\site-packages\cykdl\__main__.py", line 173, in main

info = parser(u)


 "c:\users\yan\appdata\local\programs\python\python36\lib\site-packages\ykdl\embedextractor.py", line 43, in parser

self.prepare()


 "c:\users\yan\appdata\local\programs\python\python36\lib\site-packages\ykdl\extractors\acfun.py", line 20, in prepare

data = json.loads(get_content('http://www.acfun.cn/video/getVideo.aspx?id={}'.format(sourceVid)))


 "c:\users\yan\appdata\local\programs\python\python36\lib\site-packages\ykdl\util\html.py", line 67, in get_content

response = urlopen(req)


 "c:\users\yan\appdata\local\programs\python\python36\lib\urllib\request.py", line 223, in urlopen

return opener.open(url, data, timeout)


 "c:\users\yan\appdata\local\programs\python\python36\lib\urllib\request.py", line 532, in open

response = meth(req, response)


 "c:\users\yan\appdata\local\programs\python\python36\lib\urllib\request.py", line 642, in http_response

'http', request, response, code, msg, hdrs)


 "c:\users\yan\appdata\local\programs\python\python36\lib\urllib\request.py", line 564, in error

result = self._call_chain(*args)


 "c:\users\yan\appdata\local\programs\python\python36\lib\urllib\request.py", line 504, in _call_chain

result = func(*args)


 "c:\users\yan\appdata\local\programs\python\python36\lib\urllib\request.py", line 756, in http_error_302

return self.parent.open(new, timeout=req.timeout)


 "c:\users\yan\appdata\local\programs\python\python36\lib\urllib\request.py", line 532, in open

response = meth(req, response)


 "c:\users\yan\appdata\local\programs\python\python36\lib\urllib\request.py", line 642, in http_response

'http', request, response, code, msg, hdrs)


 "c:\users\yan\appdata\local\programs\python\python36\lib\urllib\request.py", line 570, in error

return self._call_chain(*args)


 "c:\users\yan\appdata\local\programs\python\python36\lib\urllib\request.py", line 504, in _call_chain

result = func(*args)


 "c:\users\yan\appdata\local\programs\python\python36\lib\urllib\request.py", line 650, in http_error_default

raise HTTPError(req.full_url, code, msg, hdrs, fp)
urllib.error.HTTPError: HTTP Error 404: Not Found
