[ckan-changes] [ckan/ckan] 4684f1: Remove Jinja2 Bytecode cache
GitHub
noreply at github.com
Thu May 3 12:06:49 UTC 2018
Branch: refs/heads/remove-jinja-bytecode-cache
Home: https://github.com/ckan/ckan
Commit: 4684f12d266eb00d5567a7bdde8be50b62b142db
https://github.com/ckan/ckan/commit/4684f12d266eb00d5567a7bdde8be50b62b142db
Author: amercader <amercadero at gmail.com>
Date: 2018-05-03 (Thu, 03 May 2018)
Changed paths:
M ckan/lib/jinja_extensions.py
Log Message:
-----------
Remove Jinja2 Bytecode cache
I'm getting random failures with the scheming extensions
File '/home/adria/dev/pyenvs/ckan/src/ckanext-scheming/ckanext/scheming/templates/scheming/package/read.html', line 3 in top-level template code
{%- set schema = h.scheming_get_dataset_schema(dataset_type) -%}
File '/home/adria/dev/pyenvs/ckan/local/lib/python2.7/site-packages/jinja2/environment.py', line 434 in getattr
return obj[attribute]
File '/home/adria/dev/pyenvs/ckan/src/ckan/ckan/lib/helpers.py', line 85 in __getitem__
key=key
HelperError: Helper 'scheming_get_dataset_schema' has not been defined.
Removing the bytecode cache stops the failures entirely.
**NOTE:** This service been marked for deprecation: https://developer.github.com/changes/2018-04-25-github-services-deprecation/
Functionality will be removed from GitHub.com on January 31st, 2019.
More information about the ckan-changes
mailing list