Closed tongnick closed 3 years ago
Hi @gnotkcin! You should usually not create Github issues. Please check the troubleshooting section from the docs: https://docs.tutor.overhang.io/troubleshooting.html
I must say that your problem does appear at first sight like a Tutor/Open edX issue, and I appreciate the thorough details you provided. However, the problem seems to come from your custom theme, as is shown by the following lines from the stacktrace:
File "/tmp/mako_cms/a5eebd6bfdd582a823356cb512d2e4e2/dvi-usaf-edx-theme/cms/templates/asset_index_content_header.html.py", line 35, in render_body
cms_1 | "{copyright_email}").format(copyright_email=settings.COPYRIGHT_EMAIL)))
cms_1 | File "/openedx/venv/lib/python3.8/site-packages/django/conf/__init__.py", line 80, in __getattr__
cms_1 | val = getattr(self._wrapped, name)
cms_1 | AttributeError: 'Settings' object has no attribute 'COPYRIGHT_EMAIL'
The "dvi-usaf-theme" contains a reference to the COPYRIGHT_EMAIL
, which does not exist.
I can confirm that the assets page works fine with the default theme: https://studio.demo.openedx.overhang.io/assets/course-v1:edX+DemoX+Demo_Course/
Hi @regisb – Thank you for pointing out the problem and confirming it works fine with the default theme! Will be sure to post to the support forums for any troubleshooting going forward.
Bug description
When attempting to access Files & Uploads (assets) for any course in Studio (https://studio.someTutorInstance.com/assets/course-v1:edX+DemoX+Demo_Course/), an error message is displayed from Tutor in the browser and
cms_1 | 2021-02-01 06:55:15,777 ERROR 16 [root] [user None] [ip None] signals.py:22 - Uncaught exception from None
is printed to the logs.How to reproduce
To reproduce:
1) Install Tutor 11.1.1 on Ubuntu 20.04.1 LTS.
2) tutor local importdemocourse
3) Login to the Studio web interface, select the demo course, and click on the "Files & Uploads" option as shown below:
4) Note the error that is displayed:
5) Note the statements that are printed to the logs upon clicking the "Files & Uploads" button by running tutor
local logs --follow
:Environment
tutor --version
tutor, version 11.1.1
lsb_release -a
lshw
Additional context
cat $(tutor config printroot)/env/local/docker-compose.yml
Directory & Files Listing for /tutor/data/