Skip to content
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

Crash while converting #24

Closed
step7 opened this issue Feb 15, 2017 · 9 comments
Closed

Crash while converting #24

step7 opened this issue Feb 15, 2017 · 9 comments
Labels

Comments

@step7
Copy link

step7 commented Feb 15, 2017

After downloading user tweets, the script crashes while converting for graphs

"Daily activity distribution (per hour)
###############################################################################
[!] Error: 'ascii' codec can't encode characters in position 7-8: ordinal not in range(128)"

I tracked it down to daily and weekly distribution activity charts printing.
Both are crashing, so commenting the daily distribution activity does not work as the weekly one crashes too.

@x0rz x0rz added the bug label Feb 16, 2017
@x0rz
Copy link
Owner

x0rz commented Feb 16, 2017

Can you give me a username that will produce this result?
Thank you

@step7
Copy link
Author

step7 commented Feb 16, 2017

hi, anything throws this error.

@Potus i.e. but also @support

@x0rz
Copy link
Owner

x0rz commented Feb 17, 2017

What's your python version and OS you're using? I can't reproduce.

@step7
Copy link
Author

step7 commented Feb 17, 2017

Debian 8, python version I will check later.

@step7
Copy link
Author

step7 commented Feb 19, 2017

python is version 2.7.9

@x0rz
Copy link
Owner

x0rz commented Feb 22, 2017

Are you sure you are running the latest version from the repository? I'm not reproducing this bug :(

@step7
Copy link
Author

step7 commented Feb 25, 2017

Confirmed, latest version, still buggy. I suspect some locale Mismatch??

@step7
Copy link
Author

step7 commented Feb 26, 2017

Ok came around the issue. I setup the locale and now works flawlessly.

Commands to set locale:
1: export LANG=en_US.UTF-8
2: dpkg-reconfigure locales
and select the desired locale.

I think you can close it!

@x0rz
Copy link
Owner

x0rz commented Feb 27, 2017

Cool! 👍

@x0rz x0rz closed this as completed Feb 27, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants