You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
File "./manage.py", line 10, in
execute_from_command_line(sys.argv)
File "lib/python2.7/site-packages/django/core/management/init.py", line 399, in execute_from_command_line
utility.execute()
File "lib/python2.7/site-packages/django/core/management/init.py", line 392, in execute
self.fetch_command(subcommand).run_from_argv(self.argv)
File "lib/python2.7/site-packages/django/core/management/base.py", line 242, in run_from_argv
self.execute(_args, *_options.dict)
File "lib/python2.7/site-packages/django/core/management/base.py", line 285, in execute
output = self.handle(_args, *_options)
File "lib/python2.7/site-packages/django/db/transaction.py", line 339, in inner
return func(_args, *_kwargs)
File "lib/python2.7/site-packages/autofixture/management/commands/loadtestdata.py", line 227, in handle
autofixture.create(model, count, *_kwargs)
File "lib/python2.7/site-packages/autofixture/init.py", line 131, in create
return autofixture.create(count, *_create_kwargs)
File "lib/python2.7/site-packages/autofixture/base.py", line 535, in create
instance = self.create_one(commit=commit, **kwargs)
File "lib/python2.7/site-packages/autofixture/base.py", line 482, in create_one
self.process_field(instance, field)
File "lib/python2.7/site-packages/autofixture/base.py", line 381, in process_field
value = self.get_value(field)
File "lib/python2.7/site-packages/autofixture/base.py", line 377, in get_value
value = generator()
File "lib/python2.7/site-packages/autofixture/generators.py", line 70, in call
return self.get_value()
File "lib/python2.7/site-packages/autofixture/generators.py", line 66, in get_value
value = self.generate()
File "lib/python2.7/site-packages/autofixture/generators.py", line 639, in generate
ContentFile(get_placeholder_image(width, height))
File "lib/python2.7/site-packages/autofixture/placeholder.py", line 22, in get_placeholder_image
font = ImageFont.truetype(font, size=fontsize, encoding=encoding)
File "lib/python2.7/site-packages/PIL/ImageFont.py", line 218, in truetype
return FreeTypeFont(filename, size, index, encoding)
File "lib/python2.7/site-packages/PIL/ImageFont.py", line 134, in init
self.font = core.getfont(file, size, index, encoding)
File "lib/python2.7/site-packages/PIL/ImageFont.py", line 34, in getattr
raise ImportError("The _imagingft C module is not installed")
ImportError: The _imagingft C module is not installed
The text was updated successfully, but these errors were encountered:
@rofrnnds thanks for clarifying this. I will close the ticket as this seems to be not a problem with django-autofixture but with the Pillow installation.
I got it on Mac OS 10.10.1
File "./manage.py", line 10, in
execute_from_command_line(sys.argv)
File "lib/python2.7/site-packages/django/core/management/init.py", line 399, in execute_from_command_line
utility.execute()
File "lib/python2.7/site-packages/django/core/management/init.py", line 392, in execute
self.fetch_command(subcommand).run_from_argv(self.argv)
File "lib/python2.7/site-packages/django/core/management/base.py", line 242, in run_from_argv
self.execute(_args, *_options.dict)
File "lib/python2.7/site-packages/django/core/management/base.py", line 285, in execute
output = self.handle(_args, *_options)
File "lib/python2.7/site-packages/django/db/transaction.py", line 339, in inner
return func(_args, *_kwargs)
File "lib/python2.7/site-packages/autofixture/management/commands/loadtestdata.py", line 227, in handle
autofixture.create(model, count, *_kwargs)
File "lib/python2.7/site-packages/autofixture/init.py", line 131, in create
return autofixture.create(count, *_create_kwargs)
File "lib/python2.7/site-packages/autofixture/base.py", line 535, in create
instance = self.create_one(commit=commit, **kwargs)
File "lib/python2.7/site-packages/autofixture/base.py", line 482, in create_one
self.process_field(instance, field)
File "lib/python2.7/site-packages/autofixture/base.py", line 381, in process_field
value = self.get_value(field)
File "lib/python2.7/site-packages/autofixture/base.py", line 377, in get_value
value = generator()
File "lib/python2.7/site-packages/autofixture/generators.py", line 70, in call
return self.get_value()
File "lib/python2.7/site-packages/autofixture/generators.py", line 66, in get_value
value = self.generate()
File "lib/python2.7/site-packages/autofixture/generators.py", line 639, in generate
ContentFile(get_placeholder_image(width, height))
File "lib/python2.7/site-packages/autofixture/placeholder.py", line 22, in get_placeholder_image
font = ImageFont.truetype(font, size=fontsize, encoding=encoding)
File "lib/python2.7/site-packages/PIL/ImageFont.py", line 218, in truetype
return FreeTypeFont(filename, size, index, encoding)
File "lib/python2.7/site-packages/PIL/ImageFont.py", line 134, in init
self.font = core.getfont(file, size, index, encoding)
File "lib/python2.7/site-packages/PIL/ImageFont.py", line 34, in getattr
raise ImportError("The _imagingft C module is not installed")
ImportError: The _imagingft C module is not installed
The text was updated successfully, but these errors were encountered: