django-aesfield icon indicating copy to clipboard operation
django-aesfield copied to clipboard

AttributeError during key generation.

Open Sancus opened this issue 6 years ago • 0 comments

When running generate_aes_keys an exception is thrown. This is after the key is successfully generated, so doesn't substantially impact functionality. Here's the full traceback:

./manage.py generate_aes_keys Traceback (most recent call last): File "./manage.py", line 11, in execute_from_command_line(sys.argv) File "/usr/local/lib/python2.7/site-packages/django/core/management/init.py", line 354, in execute_from_command_line utility.execute() File "/usr/local/lib/python2.7/site-packages/django/core/management/init.py", line 346, in execute self.fetch_command(subcommand).run_from_argv(self.argv) File "/usr/local/lib/python2.7/site-packages/django/core/management/base.py", line 394, in run_from_argv self.execute(*args, **cmd_options) File "/usr/local/lib/python2.7/site-packages/django/core/management/base.py", line 445, in execute output = self.handle(*args, **options) File "/usr/local/lib/python2.7/site-packages/aesfield/management/commands/generate_aes_keys.py", line 42, in handle self.stdout.write(self.style.SUCCESS('Wrote new key: %s' % dest)) AttributeError: 'Style' object has no attribute 'SUCCESS'

Sancus avatar Jul 18 '18 05:07 Sancus