sorl/django-mockups — Issue #13: UnicodeDecodeError at commands/mockups.py
Author: yrik
Created: 2012-01-07 22:19:46+00:00
State: open

Traceback (most recent call last):
File "project/manage.py", line 14, in
execute_manager(settings)
File "/Users/cccccaaa/Desktop/django_projects/q5/.env/src/django/django/core/management/__init__.py", line 436, in execute_manager
utility.execute()
File "/Users/cccccaaa/Desktop/django_projects/q5/.env/src/django/django/core/management/__init__.py", line 359, in execute
self.fetch_command(subcommand).run_from_argv(self.argv)
File "/Users/cccccaaa/Desktop/django_projects/q5/.env/src/django/django/core/management/base.py", line 196, in run_from_argv
self.execute(*args, **options.__dict__)
File "/Users/cccccaaa/Desktop/django_projects/q5/.env/src/django/django/core/management/base.py", line 232, in execute
output = self.handle(*args, **options)
File "/Users/cccccaaa/Desktop/django_projects/q5/.env/src/django/django/db/transaction.py", line 209, in inner
return func(*args, **kwargs)
File "/Users/cccccaaa/Desktop/django_projects/q5/.env/src/mockups/mockups/management/commands/mockups.py", line 219, in handle
create(model, count, **kwargs)
File "/Users/cccccaaa/Desktop/django_projects/q5/.env/src/mockups/mockups/helpers.py", line 105, in create
return mockup.create(count)
File "/Users/cccccaaa/Desktop/django_projects/q5/.env/src/mockups/mockups/base.py", line 341, in create
instance = self.create_one(commit=commit)
File "/Users/cccccaaa/Desktop/django_projects/q5/.env/src/mockups/mockups/base.py", line 326, in create_one
committed=commit)
File "/Users/cccccaaa/Desktop/django_projects/q5/.env/src/django/django/dispatch/dispatcher.py", line 172, in send
response = receiver(signal=self, sender=sender, **named)
File "/Users/cccccaaa/Desktop/django_projects/q5/.env/src/mockups/mockups/management/commands/mockups.py", line 95, in print_instance
self.format_output(instance),
UnicodeDecodeError: 'ascii' codec can't decode byte 0xd0 in position 26: ordinal not in range(128)
make: *** [fake_install] Error 1