-
Notifications
You must be signed in to change notification settings - Fork 58
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
jira-cli cannot work well with linux/Mac pipe o/p #75
Comments
This is a python3 problem I suspect. The encode here is returning a bytes that then cannot be concatenated with strings later-
a "fix" for that in python3 is to just remove the |
I tried this on macOS 11 (Big Sur) and couldn't duplicate the issue.
This works fine! No python errors. I suspect this issue is stale and can be closed. |
I see this issue on v2.2 and (just upgraded) 3.0. It also triggers with output redirection. (e.g. Using python v3. |
Heads up, that this fixes it. bridge/init.py line ~116
|
This is a handy tool!
In Linux/Mac, we use " | grep " a lot to do the filter work.
But while I tried to use jira-cli to filter the result, I see this error.
➜ ~ jira-cli list projects|grep -i web
Traceback (most recent call last):
File "/usr/local/bin/jira-cli", line 11, in
load_entry_point('jira-cli==2.2', 'console_scripts', 'jira-cli')()
File "/usr/local/lib/python3.7/site-packages/jiracli/interface.py", line 272, in cli
return post_args.cmd(jira, post_args).execute()
File "/usr/local/lib/python3.7/site-packages/jiracli/processor.py", line 30, in execute
return self.eval()
File "/usr/local/lib/python3.7/site-packages/jiracli/processor.py", line 121, in eval
val += " [" + colorfunc(item['key'], 'magenta') + "]"
TypeError: can only concatenate str (not "bytes") to str
➜ ~
The text was updated successfully, but these errors were encountered: