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

Make scan_itunes take unicode institutions #17

Open
sjlegg opened this issue Jul 30, 2012 · 0 comments
Open

Make scan_itunes take unicode institutions #17

sjlegg opened this issue Jul 30, 2012 · 0 comments

Comments

@sjlegg
Copy link
Contributor

sjlegg commented Jul 30, 2012

(Mercury)mini-beta:opms steven$ ./manage.py scan_itunes u"東京有明医療大学"
Scan iTunes started at 2012-07-30 14:00:42.967524

Writing errors to: scan_itunes.log
Traceback (most recent call last):
File "./manage.py", line 11, in
execute_manager(settings)
File "/Users/steven/Sites/env/Mercury/lib/python2.7/site-packages/django/core/management/init.py", line 459, in execute_manager
utility.execute()
File "/Users/steven/Sites/env/Mercury/lib/python2.7/site-packages/django/core/management/init.py", line 382, in execute
self.fetch_command(subcommand).run_from_argv(self.argv)
File "/Users/steven/Sites/env/Mercury/lib/python2.7/site-packages/django/core/management/base.py", line 196, in run_from_argv
self.execute(_args, *_options.dict)
File "/Users/steven/Sites/env/Mercury/lib/python2.7/site-packages/django/core/management/base.py", line 232, in execute
output = self.handle(_args, *_options)
File "/Users/steven/Sites/env/Mercury/OPMS/opms/monitors/management/commands/scan_itunes.py", line 70, in handle
self._errorlog(institution + u" is not a recognised institution.")
UnicodeDecodeError: 'ascii' codec can't decode byte 0xe6 in position 1: ordinal not in range(128)

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

1 participant