[ckan-changes] [ckan/ckan] 4684f1: Remove Jinja2 Bytecode cache

GitHub noreply at github.com
Fri May 4 09:59:45 UTC 2018


  Branch: refs/heads/master
  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.


  Commit: f83ad01492a25c0b8e35ca4a9c3aee0df4417344
      https://github.com/ckan/ckan/commit/f83ad01492a25c0b8e35ca4a9c3aee0df4417344
  Author: Adrià Mercader <amercadero at gmail.com>
  Date:   2018-05-04 (Fri, 04 May 2018)

  Changed paths:
    M ckan/lib/jinja_extensions.py

  Log Message:
  -----------
  Merge pull request #4223 from ckan/remove-jinja-bytecode-cache

Remove Jinja2 Bytecode cache


Compare: https://github.com/ckan/ckan/compare/fa3462e374f8...f83ad01492a2
      **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