It may well be a hardware issue. Did you somehow check that serial connection works as expected and all the data you want to receive is sent?
Either way, please put your code in Python code tags. You can find help here.
Either way, please put your code in Python code tags. You can find help here.