Traceback (most recent call last):


 "C:\ProgramData\Miniconda3\lib\threading.py", line 916, in _bootstrap_inner

self.run()


 "C:\ProgramData\Miniconda3\lib\threading.py", line 864, in run

self._target(*self._args, **self._kwargs)


 "./app\Trading.py", line 417, in action

self.logger.debug('price:%.8f buyprice:%.8f sellprice:%.8f bid:%.8f ask:%.8f spread:%.2f
Originalsellprice:%.8f' % (lastPrice, buyPrice, profitableSellingPrice, lastBid, lastAsk, spreadPerc, profitableSellingPrice-(lastBid *self.commision)
))
TypeError: must be real number, not NoneType

ning@ning:~$ Traceback (most recent call last):


 "/home/ning/.local/bin/ykdl", line 11, in <module>

sys.exit(main())


 "/home/ning/.local/lib/python3.5/site-packages/cykdl/__main__.py", line 149, in main

info = parser(u)


 "/home/ning/.local/lib/python3.5/site-packages/ykdl/extractor.py", line 24, in parser

info = self.prepare()


 "/home/ning/.local/lib/python3.5/site-packages/ykdl/extractors/netease/video.py", line 24, in prepare

code = _vid[-2:]
TypeError: 'NoneType' object is not subscriptable
