keep
keep copied to clipboard
UnicodeEncodeError
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
Hey @rytoj, Can you help me with more information? What is the stored command and what was your keep grep command?
@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.
Hmm... You can open your ~/.keep/commands.json
and manually remove the command-description pair from the json.
Wouldn't keep rm
help here?
@kshitij10496 I think any command involving that character will ultimately raise some error.
Error involved, when I'm trying to using cyrillic symbols
{"echo 123": "вывести 123"}