Closed Bug 1255792 Opened 9 years ago Closed 9 years ago

[stage] django.template.base.TemplateSyntaxError: Invalid filter: 'sort'

Categories

(Participation Infrastructure :: Phonebook, defect)

2016-3.3
defect
Not set
normal

Tracking

(Not tracked)

VERIFIED FIXED

People

(Reporter: nemo-yiannis, Assigned: nemo-yiannis)

References

Details

[2016-03-11 06:23:42] [localhost] finished: cd /data/python-stage/src/mozillians.allizom.org/mozillians && python manage.py cron generate_humanstxt & (5.972s) [localhost] err: Traceback (most recent call last): [localhost] err: File "manage.py", line 10, in <module> [localhost] err: execute_from_command_line(sys.argv) [localhost] err: File "/data/python-stage/src/mozillians.allizom.org/venv/lib/python2.7/site-packages/django/core/management/__init__.py", line 354, in execute_from_command_line [localhost] err: utility.execute() [localhost] err: File "/data/python-stage/src/mozillians.allizom.org/venv/lib/python2.7/site-packages/django/core/management/__init__.py", line 346, in execute [localhost] err: self.fetch_command(subcommand).run_from_argv(self.argv) [localhost] err: File "/data/python-stage/src/mozillians.allizom.org/venv/lib/python2.7/site-packages/django/core/management/base.py", line 394, in run_from_argv [localhost] err: self.execute(*args, **cmd_options) [localhost] err: File "/data/python-stage/src/mozillians.allizom.org/venv/lib/python2.7/site-packages/django/core/management/base.py", line 445, in execute [localhost] err: output = self.handle(*args, **options) [localhost] err: File "/data/python-stage/src/mozillians.allizom.org/venv/lib/python2.7/site-packages/cronjobs/management/commands/cron.py", line 64, in handle [localhost] err: registered[script](*args) [localhost] err: File "/data/python-stage/src/mozillians.allizom.org/mozillians/mozillians/humans/cron.py", line 41, in generate_humanstxt [localhost] err: humans_txt = render_to_string('humans/humans.txt', data) [localhost] err: File "/data/python-stage/src/mozillians.allizom.org/venv/lib/python2.7/site-packages/django/template/loader.py", line 98, in render_to_string [localhost] err: template = get_template(template_name, using=using) [localhost] err: File "/data/python-stage/src/mozillians.allizom.org/venv/lib/python2.7/site-packages/django/template/loader.py", line 35, in get_template [localhost] err: return engine.get_template(template_name, dirs) [localhost] err: File "/data/python-stage/src/mozillians.allizom.org/venv/lib/python2.7/site-packages/django/template/backends/django.py", line 30, in get_template [localhost] err: return Template(self.engine.get_template(template_name, dirs)) [localhost] err: File "/data/python-stage/src/mozillians.allizom.org/venv/lib/python2.7/site-packages/django/template/engine.py", line 167, in get_template [localhost] err: template, origin = self.find_template(template_name, dirs) [localhost] err: File "/data/python-stage/src/mozillians.allizom.org/venv/lib/python2.7/site-packages/django/template/engine.py", line 141, in find_template [localhost] err: source, display_name = loader(name, dirs) [localhost] err: File "/data/python-stage/src/mozillians.allizom.org/venv/lib/python2.7/site-packages/django/template/loaders/base.py", line 13, in __call__ [localhost] err: return self.load_template(template_name, template_dirs) [localhost] err: File "/data/python-stage/src/mozillians.allizom.org/venv/lib/python2.7/site-packages/django/template/loaders/base.py", line 23, in load_template [localhost] err: template = Template(source, origin, template_name, self.engine) [localhost] err: File "/data/python-stage/src/mozillians.allizom.org/venv/lib/python2.7/site-packages/django/template/base.py", line 191, in __init__ [localhost] err: self.nodelist = engine.compile_string(template_string, origin) [localhost] err: File "/data/python-stage/src/mozillians.allizom.org/venv/lib/python2.7/site-packages/django/template/engine.py", line 261, in compile_string [localhost] err: return parser.parse() [localhost] err: File "/data/python-stage/src/mozillians.allizom.org/venv/lib/python2.7/site-packages/django/template/base.py", line 342, in parse [localhost] err: compiled_result = compile_func(self, token) [localhost] err: File "/data/python-stage/src/mozillians.allizom.org/venv/lib/python2.7/site-packages/django/template/defaulttags.py", line 871, in do_for [localhost] err: sequence = parser.compile_filter(bits[in_index + 1]) [localhost] err: File "/data/python-stage/src/mozillians.allizom.org/venv/lib/python2.7/site-packages/django/template/base.py", line 424, in compile_filter [localhost] err: return FilterExpression(token, self) [localhost] err: File "/data/python-stage/src/mozillians.allizom.org/venv/lib/python2.7/site-packages/django/template/base.py", line 634, in __init__ [localhost] err: filter_func = parser.find_filter(filter_name) [localhost] err: File "/data/python-stage/src/mozillians.allizom.org/venv/lib/python2.7/site-packages/django/template/base.py", line 430, in find_filter [localhost] err: raise TemplateSyntaxError("Invalid filter: '%s'" % filter_name) [localhost] err: django.template.base.TemplateSyntaxError: Invalid filter: 'sort'
Blocks: 1243710
Commits pushed to master at https://github.com/mozilla/mozillians https://github.com/mozilla/mozillians/commit/270733710092633ef264f13971f43a43c2880757 [Fix bug 1255792] Fix humans.txt template path. https://github.com/mozilla/mozillians/commit/9b1bded1adb8973b5177723e5874fee97133a2ca Merge pull request #1374 from johngian/fix-humans-template-path [Fix bug 1255792] Fix humans.txt template path.
Status: NEW → RESOLVED
Closed: 9 years ago
Resolution: --- → FIXED
Status: RESOLVED → VERIFIED
Assignee: nobody → jgiannelos
Version: other → next
Version: next → 2016-3.3
You need to log in before you can comment on or make changes to this bug.