MaximPiessen / instagram_network_analysis

75 stars 45 forks source link

KeyError #7

Open sinatmertens opened 3 years ago

sinatmertens commented 3 years ago

Hey Maxim!

First thank you for that great documentation! I tried to run your bot and everything went just fine so far but whenever I try to run you from_relations_to_json.py I get this:

Traceback (most recent call last): File "relations_to_json.py", line 83, in relations_to_json(config) File "relations_to_json.py", line 55, in relations_to_json id_2 = name_toid[accounts[1]] KeyError: 'zackbumm'

Account 2 is pretty much the followed account in the very first line, as if: https://www.instagram.com/sina_tabea/ https://www.instagram.com/zackbumm_/

It's not about that particular account name, I tried to delete a row and I always get the same result. I'm working on a mac and maybe it's something about the .txt formation?

Thanks in advance!

matt496 commented 2 years ago

Hello, I have the same problem, did you find a solution ?