Issues

Issue #134 resolved

AWS_PRELOAD_METADATA - perser error

Anonymous created an issue

I try to set {{{

!python

AWS_PRELOAD_METADATA = True }}} but when I run {{{

!python

python manage.py collectstatic --noinput --settings=settings.devel }}} the library raises an exception.

Here the Trace: {{{

!python

Traceback (most recent call last): File "manage.py", line 14, in <module> execute_manager(settings) File "/usr/lib/python2.7/dist-packages/django/core/management/init.py", line 438, in execute_manager utility.execute() File "/usr/lib/python2.7/dist-packages/django/core/management/init.py", line 379, in execute self.fetch_command(subcommand).run_from_argv(self.argv) File "/usr/lib/python2.7/dist-packages/django/core/management/base.py", line 191, in run_from_argv self.execute(args, options.dict) File "/usr/lib/python2.7/dist-packages/django/core/management/base.py", line 220, in execute output = self.handle(*args, options) File "/usr/lib/python2.7/dist-packages/django/core/management/base.py", line 351, in handle return self.handle_noargs(options) File "/usr/lib/python2.7/dist-packages/django/contrib/staticfiles/management/commands/collectstatic.py", line 89, in handle_noargs self.copy_file(path, prefixed_path, storage, options) File "/usr/lib/python2.7/dist-packages/django/contrib/staticfiles/management/commands/collectstatic.py", line 184, in copy_file if not self.delete_file(path, prefixed_path, source_storage, *options): File "/usr/lib/python2.7/dist-packages/django/contrib/staticfiles/management/commands/collectstatic.py", line 118, in delete_file target_last_modified = self.storage.modified_time(prefixed_path) File "/usr/local/lib/python2.7/dist-packages/storages/backends/s3boto.py", line 334, in modified_time return _parse_datestring(entry.last_modified) File "/usr/local/lib/python2.7/dist-packages/storages/backends/s3boto.py", line 119, in _parse_datestring raise ValueError("Could not parse date string: " + dstr) ValueError: Could not parse date string: 2012-09-26T09:54:47.000Z }}}

Comments (8)

  1. Log in to comment