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

UnicodeEncodeError #28

Open
rytoj opened this issue May 3, 2017 · 6 comments
Open

UnicodeEncodeError #28

rytoj opened this issue May 3, 2017 · 6 comments

Comments

@rytoj
Copy link

rytoj commented May 3, 2017

Getting UnicodeEncodeError: 'ascii' codec can't encode characters in position 0-2: ordinal not in range(128)
after trying to search command with grep:
╰─± python slack_bot.py 2>&1 | tee /tmp/slack.log

@rytoj rytoj changed the title kee UnicodeEncodeError May 3, 2017
@OrkoHunter
Copy link
Owner

Hey @rytoj, Can you help me with more information? What is the stored command and what was your keep grep command?

@rytoj
Copy link
Author

rytoj commented May 4, 2017

@OrkoHunter yea sure.

Stored keep command:
╰─± python slack_bot.py 2>&1 | tee /tmp/slack.log To get the output on the console AND in a file file.txt

Error is triggered after:
$ keep grep python
$ keep rm slack_bot

I think this error is caused by ╰─± characters, I accidentally copied them from terminal.

@OrkoHunter
Copy link
Owner

Hmm... You can open your ~/.keep/commands.json and manually remove the command-description pair from the json.

@kshitij10496
Copy link

Wouldn't keep rm help here?

@OrkoHunter
Copy link
Owner

@kshitij10496 I think any command involving that character will ultimately raise some error.

@Krknv
Copy link

Krknv commented Jan 23, 2018

Error involved, when I'm trying to using cyrillic symbols

{"echo 123": "вывести 123"}

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants