已在 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(dot)com/installer/apps/edx/#how-to-install-a-custom-standford-theme 中的步骤操作
** 我收到 500 个内部服务器错误。
阿帕奇日志
[2017 年 10 月 18 日星期三 00:51:26.682720] [:error] [pid 25207] 文件“/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] 文件“/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) [2017 年 10 月 18 日星期三 00:51:26.682733] [:error] [pid 25207] 文件“/opt/bitnami/apps/edx/venvs/edxapp/lib/python2.7/site-packages/mako/runtime.py”,第 752 行,在 _include_file [10 月 18 日星期三 00:51:26.682736 2017] [:error] [pid 25207] callable_(ctx, **_kwargs_for_include(callable_, context._data, **kwargs)) [2017 年 10 月 18 日星期三 00:51:26.682739] [:error] [pid 25207 ] 文件“/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='theme-header.html')), _template_uri, online_help_token=online_help_token) [2017 年 10 月 18 日星期三 00:51:26.682746 ] [:error] [pid 25207] 文件“/opt/bitnami/apps/edx/venvs/edxapp/lib/python2.7/site-packages/mako/runtime.py”,第 625 行,在**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='theme- header.html')), _template_uri, online_help_token=online_help_token) [2017 年 10 月 18 日星期三 00:51:26.682746] [:error] [pid 25207] 文件“/opt/bitnami/apps/edx/venvs/edxapp/lib/python2 .7/site-packages/mako/runtime.py”,第 625 行,在**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='theme- header.html')), _template_uri, online_help_token=online_help_token) [2017 年 10 月 18 日星期三 00:51:26.682746] [:error] [pid 25207] 文件“/opt/bitnami/apps/edx/venvs/edxapp/lib/python2 .7/site-packages/mako/runtime.py”,第 625 行,在682742 2017] [:error] [pid 25207] runtime._include_file(context, (static.get_themed_template_path(relative_path='theme-header.html', default_path='theme-header.html')), _template_uri, online_help_token=online_help_token) [2017 年 10 月 18 日星期三 00:51:26.682746] [:error] [pid 25207] 文件“/opt/bitnami/apps/edx/venvs/edxapp/lib/python2.7/site-packages/mako/runtime.py” ,第 625 行,在682742 2017] [:error] [pid 25207] runtime._include_file(context, (static.get_themed_template_path(relative_path='theme-header.html', default_path='theme-header.html')), _template_uri, online_help_token=online_help_token) [2017 年 10 月 18 日星期三 00:51:26.682746] [: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 “静态”没有成员“get_themed_template_path”
我的网站现在关闭了。有人可以帮我解决这个问题吗?