Skip to content

/ ckanext-blob-storage Registry Initialized Error #6349

Answered by amercader
zesdatascience asked this question in Q&A
Discussion options

You must be logged in to vote

@zesdatascience Not sure what the actual issue is but this is the symptom:

File "/usr/lib/ckan/default/src/ckanext-blob-storage/ckanext/blob_storage/templates/blob_storage/snippets/upload_module.html", line 1, in top-level template code
{% resource 'blob-storage/css/main.3c074c8b.chunk.css' %}

{% resource %} is a CKAN<=2.8 only tag only. Its CKAN>= 2.9 equivalent is {% asset %} . For multi CKAN version extensions like this one there is generally some logic to include one or the other depending on the version, eg:

https://github.com/ckan/ckanext-harvest/blob/e2e8acbb6d87d44663e92c5ff5cbd67401588c2d/ckanext/harvest/templates/base.html#L6-L7

Replies: 3 comments

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Answer selected by zesdatascience
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants