0

我是 OpenEdx 的新手,我已经使用 Bitnami 堆栈设置了我的系统。但我似乎无法设置自定义综合主题。LMS 引发内部服务器错误。我在我的尾部服务器日志下面

这是我到目前为止所做的。

  1. 从 - https://themex.io/下载主题
  2. 设置 COMPREHENSIVE_THEME_DIR = "/path-to-theme"
  3. Ran SERVICE_VARIANT=lms ./bin/paver.edxapp update_assets lms --settings=aws 并成功完成
  4. 启动 LMS,500 内部服务器错误

我究竟做错了什么?

[Mon Sep 12 05:10:14.551555 2016] [:error] [pid 31981] [remote 127.0.0.1:512]     runtime._include_file(context, (static.get_themed_template_path(relative_path='theme-header.html', default_path='navigation.html')), _template_uri)
[Mon Sep 12 05:10:14.551570 2016] [:error] [pid 31981] [remote 127.0.0.1:512]   File "/home/harrypalace/manjaro_vlp/apps/edx/edx-platform/venv/lib/python2.7/site-packages/mako/runtime.py", line 752, in _include_file
[Mon Sep 12 05:10:14.551592 2016] [:error] [pid 31981] [remote 127.0.0.1:512]     callable_(ctx, **_kwargs_for_include(callable_, context._data, **kwargs))
[Mon Sep 12 05:10:14.551607 2016] [:error] [pid 31981] [remote 127.0.0.1:512]   File "/home/harrypalace/manjaro_vlp/.tmp/mako_lms/a2ab4a911ea1f0731584a3dbc36a191f/navigation.html.py", line 48, in render_body
[Mon Sep 12 05:10:14.551630 2016] [:error] [pid 31981] [remote 127.0.0.1:512]     _mako_get_namespace(context, '__anon_0x7f3dc61e5950')._populate(_import_ns, [u'login_query', u'stanford_theme_enabled'])
[Mon Sep 12 05:10:14.551645 2016] [:error] [pid 31981] [remote 127.0.0.1:512]   File "/home/harrypalace/manjaro_vlp/apps/edx/edx-platform/venv/lib/python2.7/site-packages/mako/runtime.py", line 525, in _populate
[Mon Sep 12 05:10:14.551667 2016] [:error] [pid 31981] [remote 127.0.0.1:512]     d[ident] = getattr(self, ident)
[Mon Sep 12 05:10:14.551688 2016] [:error] [pid 31981] [remote 127.0.0.1:512]   File "/home/harrypalace/manjaro_vlp/apps/edx/edx-platform/venv/lib/python2.7/site-packages/mako/runtime.py", line 625, in __getattr__
[Mon Sep 12 05:10:14.551711 2016] [:error] [pid 31981] [remote 127.0.0.1:512]     (self.name, key))
[Mon Sep 12 05:10:14.551736 2016] [:error] [pid 31981] [remote 127.0.0.1:512] AttributeError: Namespace '__anon_0x7f3dc61e5950' has no member 'stanford_theme_enabled'
4

1 回答 1

-1

你应该看看下面的指南:

如何安装自定义主题

它描述了在 Bitnami OpenEDX 上安装自定义它们的过程。

于 2016-10-11T13:45:57.320 回答