安装自定义后,OpenEdx 500 Server出错

时间:2017-10-18 05:40:37

标签: bitnami openedx

已经发布在Bitnami社区。 www.community.bitnami.com/t/500-server-error-after-installing-custom-theme/52736

我试图安装一个开放的edx主题 链接: www.github(dot)com / dadasoz / edx-bootstrap-theme 。并按照以下步骤操作  的 docs.bitnami(点)的COM /安装/应用/ EDX /#如何安装的-A-定制斯坦福主题

**我收到500内部服务器错误。

Apache Logs

[Wed Oct 18 00:51:26.682720 2017] [:error] [pid 25207] File" /opt/bitnami/apps/edx/venvs/edxapp/lib/python2.7/site-packages/ mako / runtime.py",第890行,在_exec_template中 [Wed Oct 18 00:51:26.682723 2017] [:error] [pid 25207] callable_(context,* args,** kwargs) [Wed Oct 18 00:51:26.682726 2017] [:error] [pid 25207] File" /tmp/mako_lms/cd6b613ed628f9f43e33fb106119f020/edx-bootstrap-theme/lms/templates/main.html.py",第293行,在render_body中 [Wed Oct 18 00:51:26.682729 2017] [:error] [pid 25207] runtime._include_file(context,(static.get_template_path(' header.html')),_ template_uri,online_help_token = online_help_token) [Wed Oct 18 00:51:26.682733 2017] [:error] [pid 25207]文件" /opt/bitnami/apps/edx/venvs/edxapp/lib/python2.7/site-packages/mako/runtime .inc",第752行,在_include_file中 [Wed Oct 18 00:51:26.682736 2017] [:error] [pid 25207] callable_(ctx,** _ kwargs_for_include(callable_,context._data,** kwargs)) [Wed Oct 18 00:51:26.682739 2017] [:error] [pid 25207] File" /tmp/mako_lms/cd6b613ed628f9f43e33fb106119f020/edx-bootstrap-theme/lms/templates/header.html.py",第34行,在render_body中 [Wed Oct 18 00:51:26.682742 2017] [:error] [pid 25207] runtime._include_file(context,(static.get_themed_template_path(relative_path =' theme-header.html',default_path =&#39 ; theme-header.html')),_ template_uri,online_help_token = online_help_token) [Wed Oct 18 00:51:26.682746 2017] [:error] [pid 25207]文件" /opt/bitnami/apps/edx/venvs/edxapp/lib/python2.7/site-packages/mako/runtime .py",第625行, getattr [Wed Oct 18 00:51:26.682749 2017] [:error] [pid 25207](self.name,key)) [Wed Oct 18 00:51:26.682752 2017] [:error] [pid 25207] AttributeError:Namespace' static'没有会员' get_themed_template_path'

我的网站现在已关闭。有人可以帮我解决问题。

1 个答案:

答案 0 :(得分:3)

我已经达到了同样的错误,试图找到有关该案例的更多信息,我在主题GitHub存储库中看到有一个open issue,据说这个主题与不兼容桉树

如果您的实例不是很老,那么您将使用 Ficus 这是Bitnami发布的当前版本,如果以前的版本( Eucalyptus )不是与这个主题兼容,我恐怕 Ficus 也不会。

相关问题