Skip to content
This repository has been archived by the owner on Jan 9, 2018. It is now read-only.

Getting Error! #41

Open
raianul opened this issue Feb 28, 2014 · 0 comments
Open

Getting Error! #41

raianul opened this issue Feb 28, 2014 · 0 comments

Comments

@raianul
Copy link

raianul commented Feb 28, 2014

Dj version: 1.6
Using : django.contrib.staticfiles

While post_process getting the following error in some point -

Post-processed 'websites/bespoke/fonts/specimen_files/specimen_stylesheet.e2cb9ea14b54.css.gz' as 'websites/bespoke/fonts/specimen_files/specimen_stylesheet.e2cb9ea14b54.css.gz'
Post-processed 'websites/dfm/js/olympics/jquery.countdown.a085c11d8052.js.gz' as 'websites/dfm/js/olympics/jquery.countdown.a085c11d8052.js.gz'
Post-processed 'websites/entertainow/css/fonts/stylesheet.7b7585a64514.css.gz' as 'websites/entertainow/css/fonts/stylesheet.7b7585a64514.css.gz'
Post-processed 'websites/fargo/img/My Financial Guide – Financial Literacy Tools and Resources – Wells Fargo_files/jquery-ui.35fa8b687574.js.gz' as 'websites/fargo/img/My Financial Guide – Financial Literacy Tools and Resources – Wells Fargo_files/jquery-ui.35fa8b687574.js.gz'
Post-processed 'websites/fargo/img/My Financial Guide – Financial Literacy Tools and Resources – Wells Fargo_files/jquery.fb4562709c25.js.gz' as 'websites/fargo/img/My Financial Guide – Financial Literacy Tools and Resources – Wells Fargo_files/jquery.fb4562709c25.js.gz'
Traceback (most recent call last):
  File "manage.py", line 10, in <module>
    execute_from_command_line(sys.argv)
  File "/Users/newscred/projects/python/pycms/lib/python2.7/site-packages/django/core/management/__init__.py", line 399, in execute_from_command_line
    utility.execute()
  File "/Users/newscred/projects/python/pycms/lib/python2.7/site-packages/django/core/management/__init__.py", line 392, in execute
    self.fetch_command(subcommand).run_from_argv(self.argv)
  File "/Users/newscred/projects/python/pycms/lib/python2.7/site-packages/django/core/management/base.py", line 242, in run_from_argv
    self.execute(*args, **options.__dict__)
  File "/Users/newscred/projects/python/pycms/lib/python2.7/site-packages/django/core/management/base.py", line 285, in execute
    output = self.handle(*args, **options)
  File "/Users/newscred/projects/python/pycms/lib/python2.7/site-packages/django/core/management/base.py", line 415, in handle
    return self.handle_noargs(**options)
  File "/Users/newscred/projects/python/pycms/lib/python2.7/site-packages/django/contrib/staticfiles/management/commands/collectstatic.py", line 167, in handle_noargs
    collected = self.collect()
  File "/Users/newscred/projects/python/pycms/lib/python2.7/site-packages/django/contrib/staticfiles/management/commands/collectstatic.py", line 118, in collect
    for original_path, processed_path, processed in processor:
  File "/Users/newscred/projects/python/cms/cms/pipeline/pipeline_storage.py", line 14, in post_process
    for name, hashed_name, processed in super(GZipPipelineStorage, self).post_process(paths, dry_run, **options):
  File "/Users/newscred/projects/python/pycms/lib/python2.7/site-packages/pipeline/storage.py", line 77, in post_process
    if not matches_patterns(path, self.gzip_patterns):
  File "/Users/newscred/projects/python/pycms/lib/python2.7/site-packages/django/contrib/staticfiles/utils.py", line 14, in matches_patterns
    if fnmatch.fnmatchcase(path, pattern):
  File "/Users/newscred/projects/python/pycms/lib/python2.7/fnmatch.py", line 79, in fnmatchcase
    return _cache[pat].match(name) is not None
TypeError: expected string or buffer

@raianul raianul closed this as completed Feb 28, 2014
@raianul raianul reopened this Feb 28, 2014
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant