[ 
https://issues.apache.org/jira/browse/AIRAVATA-3530?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17430547#comment-17430547
 ] 

Marcus Christie edited comment on AIRAVATA-3530 at 10/19/21, 1:30 PM:
----------------------------------------------------------------------

This bug is also causing an issue with the custom UI tutorial since the 
new_default_theme fails to load there as well, specifically this step in the 
tutorial:

{code}
docker exec custom-ui-tutorial python manage.py load_cms_data new_default_theme
{code}
 
(https://apache-airavata-django-portal.readthedocs.io/en/latest/tutorial/custom_ui_tutorial/#setup-local-django-portal-development-environment)

I'll rebuild and push the Docker image.





was (Author: marcuschristie):
This bug is also causing an issue with the custom UI tutorial since the 
new_default_theme fails to load there as well, specifically this step in the 
tutorial:

```
docker exec custom-ui-tutorial python manage.py load_cms_data new_default_theme
```
 
(https://apache-airavata-django-portal.readthedocs.io/en/latest/tutorial/custom_ui_tutorial/#setup-local-django-portal-development-environment)

I'll rebuild and push the Docker image.



> Cannot load the default gateway theme
> -------------------------------------
>
>                 Key: AIRAVATA-3530
>                 URL: https://issues.apache.org/jira/browse/AIRAVATA-3530
>             Project: Airavata
>          Issue Type: Bug
>          Components: Django Portal
>         Environment: https://scigateway.ucmerced.edu/ 
>            Reporter: Eroma
>            Assignee: Marcus Christie
>            Priority: Major
>
> Loading the default gateway theme to a new Django Portal is throwing errors
> Traceback (most recent call last):
>   File 
> “/var/www/portals/django-ucmerced/venv/lib64/python3.6/site-packages/django/db/backends/utils.py”,
>  line 84, in _execute
>     return self.cursor.execute(sql, params)
>   File 
> “/var/www/portals/django-ucmerced/venv/lib64/python3.6/site-packages/django/db/backends/mysql/base.py”,
>  line 73, in execute
>     return self.cursor.execute(query, args)
>   File 
> “/var/www/portals/django-ucmerced/venv/lib64/python3.6/site-packages/MySQLdb/cursors.py”,
>  line 206, in execute
>     res = self._query(query)
>   File 
> “/var/www/portals/django-ucmerced/venv/lib64/python3.6/site-packages/MySQLdb/cursors.py”,
>  line 319, in _query
>     db.query(q)
>   File 
> “/var/www/portals/django-ucmerced/venv/lib64/python3.6/site-packages/MySQLdb/connections.py”,
>  line 259, in query
>     _mysql.connection.query(self, query)
> MySQLdb._exceptions.IntegrityError: (1062, “Duplicate entry ‘’ for key 
> ‘wagtailembeds_embed_hash_c9bd8c9a_uniq’“)
>  
>  
> When tried the gateway domain, getting 
> "Page Not Found We couldn’t find that page."



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Reply via email to