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 on "wallp info" due to non-ascii characters #1

Open
amol9 opened this issue Nov 30, 2015 · 0 comments
Open

Crash on "wallp info" due to non-ascii characters #1

amol9 opened this issue Nov 30, 2015 · 0 comments
Assignees
Labels

Comments

@amol9
Copy link
Owner

amol9 commented Nov 30, 2015

  1. Issue >wallp info
  2. Crash

Traceback>>
user@machine:~$ wallp info
filepath : /home/user/Pictures/wallp.jpg
url : http://i.imgur.com/AYADW0k.jpg
time : 29 Nov 2015, 11:00:11
type : jpeg
size : 222.2KiB
dimensions : 1920x1080
score : None
artist : chingpongching
Traceback (most recent call last):
File "/usr/local/bin/wallp", line 9, in
load_entry_point('wallp==1.9.1', 'console_scripts', 'wallp')()
File "/usr/local/lib/python2.7/dist-packages/wallp/client/main.py", line 21, in main
command.execute()
File "/usr/local/lib/python2.7/dist-packages/wallp/command/command.py", line 34, in execute
subcmd_func.execute(args)
File "/usr/local/lib/python2.7/dist-packages/wallp/command/subcommand.py", line 21, in execute
self.func(self.subcmd, *arg_list)
File "/usr/local/lib/python2.7/dist-packages/wallp/command/subcommands/info_subcommand.py", line 19, in info
self.print_info()
File "/usr/local/lib/python2.7/dist-packages/wallp/command/subcommands/info_subcommand.py", line 64, in print_info
print("{0:<20}{1} {2}".format(name, ':' if name != '' else ' ', line))
UnicodeEncodeError: 'ascii' codec can't encode character u'\xd7' in position 37: ordinal not in range(128)
<<

@amol9 amol9 added the bug label Nov 30, 2015
@amol9 amol9 self-assigned this Nov 30, 2015
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

1 participant