-
Notifications
You must be signed in to change notification settings - Fork 52
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Cannot create or edit video_xblock units in Hawthorn.1 #28
Comments
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:
The text was updated successfully, but these errors were encountered: