Your code opened the pickle file for writing first:
dataList = open('data.txt','wb')
That truncates the file to 0; by the time you then try to load pickles from that same file it is empty.
Only open the file for writing when you are actually going to write a new pickle to it, not before.