bonzanini / Book-SocialMediaMiningPython

Companion code for the book "Mastering Social Media Mining with Python"
548 stars 264 forks source link

twitter_time_series.py error when run #6

Closed alphagamer7 closed 7 years ago

alphagamer7 commented 7 years ago

Using Windows 10 , python 3.5.3 Chapter 2-3. When I run the twitter_time_series.py (with the following argument -python twitter_time_series.py streamRWC2015RWCFinal_Rugby.jsonl ) I am getting the following error image Why is the jsonl file not read?

bonzanini commented 7 years ago

How did you create the .jsonl file and is it in the correct JSON Lines format? e.g. one tweet per line, no empty lines

alphagamer7 commented 7 years ago

Fixed issue.The issue was that the .jsonl file created had empty line when it was created.