-
Notifications
You must be signed in to change notification settings - Fork 100
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Make beginner-friendly guide on how to use #27
Comments
Maybe a Colab notebook? |
+1 any progress on this? Several hours deep and still not managed to get running, be great to find an easier (or any!) way to use this...thanks! |
Sorry to hear! What problems are you hitting? Feel free to open issues for any kind of problem! |
I have a lot of experience with python, will jump into the repo and hopefully try to write a tutorial tomorrow. |
Thanks! Not related to this project more general python modules and libraries issues, the kind that often generate the unhelpful response r/learnpython elsewhere...but if I identify something specific to this I will let you know. Thanks again! |
Hi, just made a tutorial part 0 to help with installing and setting up chatistics. It's based off of a handout I made for a course I TA'd for, so let me know if you'd like to change anything! Part 1 will be a colab notebook, any suggestions for what to include in it? Edit: Will make a .ipynb notebook instead |
Got it working, thanks! |
I would prefer using Binder since maybe not all users are comfortable sharing their chat history with Google? Although I don't have strong opinions on this. |
Isn't Google Cloud one of the supporters of binder? Anyway, good point, I'll make it a notebook they can run locally. |
Any Progress on the tutorial for beginners? I am hitting issues which I think are very basic as I"m new to python. When I try and run the script for messenger I get the following error.
|
Oh, that issue might be because python can't find your 'logging.conf' config file. This is defined inside the Chatistics directory, so since your current working directory is being searched the logging.conf isn't found. Try navigating to inside the Chatistics folder first and running the command again? I haven't forgotten about making the tutorial, it's just been hard to motivate myself. I'll try to see if I can block off time this weekend to work on it. |
Thanks, That worked! but now I have another problem. I am getting an error with the names. :(
|
This error is due to a missing import, I've made a pull request to fix it. Just to make sure, have you put the contents of the messages folder (from your FB JSON download) into Chatistics/raw_data/messenger ? |
This is definitely strange. This is the code snippet that's responsible for it: Chatistics/parsers/messenger.py Lines 17 to 19 in 079fb53
Let's contrast this with the empty input file checker in the whatsapp parser: Chatistics/parsers/whatsapp.py Lines 70 to 73 in 079fb53
Notice that in os.path.join, the messenger one has an extra '**'. I bet if you removed this you would fix this particular error. It seems what's going on is that the code expects you to put the messages folder inside instead of the contents of the messages folder. This goes against what README.md says. Thanks for pointing this out! |
Amazing, works fine now! I really appreciate all your help! |
Hey Guys, IDK where is the error. After i downloaded the messenger data, copied into the raw_directory, created a venv in conda, set up a directory I tried to run parse.py messenger command (in anaconda terminal) , i still receive the following error. Could you please help me what could be the issue? Thank you a lot.
|
Multiple people with little knowledge of Python have expressed interest in running the scripts.
There should be either a very simple guide or video, or a guided script that would let anyone render the final graphics.
The text was updated successfully, but these errors were encountered: