Traceback (most recent call last):


 "/usr/lib/python2.7/runpy.py", line 174, in _run_module_as_main

"__main__", fname, loader, pkg_name)


 "/usr/lib/python2.7/runpy.py", line 72, in _run_code

exec code in run_globals


 "/usr/local/bin/youtube-dl/__main__.py", line 19, in <module>


 "/usr/local/bin/youtube-dl/youtube_dl/__init__.py", line 474, in main


 "/usr/local/bin/youtube-dl/youtube_dl/__init__.py", line 464, in _real_main


 "/usr/local/bin/youtube-dl/youtube_dl/YoutubeDL.py", line 2008, in download


 "/usr/local/bin/youtube-dl/youtube_dl/YoutubeDL.py", line 796, in extract_info


 "/usr/local/bin/youtube-dl/youtube_dl/extractor/common.py", line 530, in extract


 "/usr/local/bin/youtube-dl/youtube_dl/extractor/discovery.py", line 75, in _real_extract


 "/usr/local/bin/youtube-dl/youtube_dl/extractor/common.py", line 2819, in _get_cookies


 "/usr/lib/python2.7/Cookie.py", line 583, in __init__

if input: self.load(input)


 "/usr/lib/python2.7/Cookie.py", line 643, in load

for k, v in rawdata.items():
AttributeError: 'unicode' object has no attribute 'items'

Traceback (most recent call last):


 "run.py", line 33, in <module>

stack.loop( timeout = 0.5, discrete = 0.5 )


 "/usr/local/lib/python3.5/dist-packages/yowsup2-2.5.2-py3.5.egg/yowsup/stacks/yowstack.py", line 188, in loop

asyncore.loop(*args, **kwargs)


 "/usr/lib/python3.5/asyncore.py", line 203, in loop

poll_fun(timeout, map)


 "/usr/lib/python3.5/asyncore.py", line 150, in poll

read(obj)


 "/usr/lib/python3.5/asyncore.py", line 87, in read

obj.handle_error()


 "/usr/lib/python3.5/asyncore.py", line 83, in read

obj.handle_read_event()


 "/usr/lib/python3.5/asyncore.py", line 423, in handle_read_event

self.handle_read()


 "/usr/local/lib/python3.5/dist-packages/yowsup2-2.5.2-py3.5.egg/yowsup/layers/network/layer.py", line 102, in handle_read

self.receive(data)


 "/usr/local/lib/python3.5/dist-packages/yowsup2-2.5.2-py3.5.egg/yowsup/layers/network/layer.py", line 110, in receive

self.toUpper(data)


 "/usr/local/lib/python3.5/dist-packages/yowsup2-2.5.2-py3.5.egg/yowsup/layers/__init__.py", line 79, in toUpper

self.__upper.receive(data)


 "/usr/local/lib/python3.5/dist-packages/yowsup2-2.5.2-py3.5.egg/yowsup/layers/stanzaregulator/layer.py", line 29, in receive

self.processReceived()


 "/usr/local/lib/python3.5/dist-packages/yowsup2-2.5.2-py3.5.egg/yowsup/layers/stanzaregulator/layer.py", line 49, in processReceived

self.toUpper(oneMessageData)


 "/usr/local/lib/python3.5/dist-packages/yowsup2-2.5.2-py3.5.egg/yowsup/layers/__init__.py", line 79, in toUpper

self.__upper.receive(data)


 "/usr/local/lib/python3.5/dist-packages/yowsup2-2.5.2-py3.5.egg/yowsup/layers/auth/layer_crypt.py", line 65, in receive

self.toUpper(payload)


 "/usr/local/lib/python3.5/dist-packages/yowsup2-2.5.2-py3.5.egg/yowsup/layers/__init__.py", line 79, in toUpper

self.__upper.receive(data)


 "/usr/local/lib/python3.5/dist-packages/yowsup2-2.5.2-py3.5.egg/yowsup/layers/coder/layer.py", line 35, in receive

self.toUpper(node)


 "/usr/local/lib/python3.5/dist-packages/yowsup2-2.5.2-py3.5.egg/yowsup/layers/__init__.py", line 79, in toUpper

self.__upper.receive(data)


 "/usr/local/lib/python3.5/dist-packages/yowsup2-2.5.2-py3.5.egg/yowsup/layers/logger/layer.py", line 14, in receive

self.toUpper(data)


 "/usr/local/lib/python3.5/dist-packages/yowsup2-2.5.2-py3.5.egg/yowsup/layers/__init__.py", line 79, in toUpper

self.__upper.receive(data)


 "/usr/local/lib/python3.5/dist-packages/yowsup2-2.5.2-py3.5.egg/yowsup/layers/axolotl/layer_control.py", line 44, in receive

self.toUpper(protocolTreeNode)


 "/usr/local/lib/python3.5/dist-packages/yowsup2-2.5.2-py3.5.egg/yowsup/layers/__init__.py", line 79, in toUpper

self.__upper.receive(data)


 "/usr/local/lib/python3.5/dist-packages/yowsup2-2.5.2-py3.5.egg/yowsup/layers/__init__.py", line 194, in receive

s.receive(data)


 "/usr/local/lib/python3.5/dist-packages/yowsup2-2.5.2-py3.5.egg/yowsup/layers/axolotl/layer_send.py", line 64, in receive

if not self.processIqRegistry(protocolTreeNode):


 "/usr/local/lib/python3.5/dist-packages/yowsup2-2.5.2-py3.5.egg/yowsup/layers/__init__.py", line 161, in processIqRegistry

successClbk(protocolTreeNode, originalIq)


 "/usr/local/lib/python3.5/dist-packages/yowsup2-2.5.2-py3.5.egg/yowsup/layers/axolotl/layer_base.py", line 51, in onSuccess

entity = ResultGetKeysIqProtocolEntity.fromProtocolTreeNode(resultNode)


 "/usr/local/lib/python3.5/dist-packages/yowsup2-2.5.2-py3.5.egg/yowsup/layers/axolotl/protocolentities/iq_keys_get_result.py", line 88, in fromProtocolTreeNode

preKeyId = ResultGetKeysIqProtocolEntity._bytesToInt(preKeyNode.getChild("id").getData())
AttributeError: 'NoneType' object has no attribute 'getChild'