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 #15

Closed
emilianox opened this issue Jul 26, 2015 · 2 comments
Closed

UnicodeEncodeError #15

emilianox opened this issue Jul 26, 2015 · 2 comments

Comments

@emilianox
Copy link

Traceback (most recent call last):
File "/home/emiliano/.qfc/bin/qfc", line 33, in
parse_arguments()
File "/home/emiliano/.qfc/bin/qfc", line 16, in parse_arguments
return args.func(args)
File "/home/emiliano/.qfc/bin/qfc", line 19, in cmd_get
output = core.get_selected_command_or_input(args.search)
File "/home/emiliano/.qfc/bin/../qfc/core.py", line 12, in get_selected_command_or_input
ui.refresh(state)
File "/home/emiliano/.qfc/bin/../qfc/ui.py", line 20, in refresh
lines, num_rows = _construct_output(state)
File "/home/emiliano/.qfc/bin/../qfc/ui.py", line 45, in _construct_output
fm = ' '+str(m)
UnicodeEncodeError: 'ascii' codec can't encode character u'\xe1' in position 2: ordinal not in range(128)
Traceback (most recent call last):
File "/home/emiliano/.qfc/bin/qfc", line 33, in
parse_arguments()
File "/home/emiliano/.qfc/bin/qfc", line 16, in parse_arguments
return args.func(args)
File "/home/emiliano/.qfc/bin/qfc", line 19, in cmd_get
output = core.get_selected_command_or_input(args.search)
File "/home/emiliano/.qfc/bin/../qfc/core.py", line 12, in get_selected_command_or_input
ui.refresh(state)
File "/home/emiliano/.qfc/bin/../qfc/ui.py", line 20, in refresh
lines, num_rows = _construct_output(state)
File "/home/emiliano/.qfc/bin/../qfc/ui.py", line 45, in _construct_output
fm = ' '+str(m)
UnicodeEncodeError: 'ascii' codec can't encode character u'\xe1' in position 2: ordinal not in range(128)

Version Python 2.7.6 (default, Jun 22 2015, 17:58:13)
Test in Guake and bash 2.1 at elementary freya

@pindexis
Copy link
Owner

9e3db84 should fix this.

@emilianox
Copy link
Author

That works! Thanks! 👍

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

2 participants