Closed chuanyinhuang closed 5 years ago
Hmmm @chuanyinhuang I'm not entirely sure about this one. So getting errors about failure to subscribe is actually quite normally. Sadly, the APIs we're using aren't that great from a tps perspective, and we use a couple third-party packages for the data pulls that can be less than 100% reliable. That said, this shouldn't be breaking (it isn't for me and many others), so that makes me suspect there's something fishy with either your environment or package versions, etc.
My advice would be to start up a new virtual environment (conda or otherwise) and then install packages only based on the requirements.txt. Then once that is working without a problem, run the app out of the virtual environment and give it maybe 2ish minutes total (that's the absolute LONGEST it should probably take to get all the connections set), and then go to your local host to be sure it's running. Aside from that, I don't have any sage advice I'm afraid. Hope this helps som!
Closing this for now. If you feel the need to re-open later on feel free.
Hi @pmaji,
When I try to launch app.py then I got some exception as below,
Then I set a break point at
to figure out what happens, then I got the error as below,
<class 'dict'>: {'type': 'error', 'message': 'Failed to subscribe', 'reason': '**No channels provided**'}
Could you give me guidance on how to solve this problem? Thank you.