Open mikedkelly opened 6 years ago
Thanks for the info, @mikedkelly ! I haven't yet tested the XBlock on Hawthorn but it's time to. Looks like your comment was cut off, though—would you be able to try including the error message again?
@brtanlandia - "Error: 'i18n' is not a registered tag library. Must be one of:" is the entire message that is returned in the dialog.
@ bryanlandia: Any new update on this issue?
Hi,
The problem is that the django template engine doesn't load the templatetag or library 'i18n'. We can solve this problem adding the library when we instance the Engine class in the utils.py:
# video_xblock/utils.py(55)render_template()
engine = Engine(dirs=template_dirs, debug=True, libraries={'i18n':'django.templatetags.i18n'})
I was able to install video_xblock in Hawthorn.1 after installing xblock-utils. I can import a course containing video_xblock units, but I cannot edit or create new units. I get the following error: Error: 'i18n' is not a registered tag library. Must be one of: