defaultnamehere / zzzzz

Roleplay as the NSA by making creepy graphs of your friends
MIT License
1.3k stars 131 forks source link

Can't generate .csv files: No such file or directory: 'log/.txt' #16

Closed MindaugasJucius closed 8 years ago

MindaugasJucius commented 8 years ago

Trying to run python graph.py yields the following error Traceback (most recent call last): File "graph.py", line 64, in <module> g.generate_all_csvs(start_time=now - 3 * ONE_DAY_SECONDS, end_time=now) File "graph.py", line 56, in generate_all_csvs self.to_csv(uid, start_time, end_time) File "graph.py", line 27, in to_csv status_history = history.StatusHistory(uid) File "/Users/vinted/Documents/zzzzz-master/history.py", line 18, in __init__ with open("log/{uid}.txt".format(uid=uid)) as f: IOError: [Errno 2] No such file or directory: 'log/.txt' A workaround is to replace {uid} with a concrete uid

defaultnamehere commented 8 years ago

You need to first collect some data with python3 fetcher.py.

MindaugasJucius commented 8 years ago

well I have done that

MindaugasJucius commented 8 years ago

ok, downloaded again and now it works