[ 
https://issues.apache.org/jira/browse/AIRAVATA-3237?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Eroma closed AIRAVATA-3237.
---------------------------

A theme can be only uploaded without issues if its the very first theme OR 
after the first theme DB is deleted.

> Error when tried to add gateway theme to a Django portal
> --------------------------------------------------------
>
>                 Key: AIRAVATA-3237
>                 URL: https://issues.apache.org/jira/browse/AIRAVATA-3237
>             Project: Airavata
>          Issue Type: Sub-task
>          Components: Django Portal
>    Affects Versions: 0.18
>         Environment: 
> /home/pga/portals/django-searchsra/airavata-django-portal in staging
>            Reporter: Eroma
>            Assignee: Marcus Christie
>            Priority: Major
>             Fix For: 0.19
>
>
> I was trying to add the existing search SRA theme and getting error
>   File 
> "/var/www/portals/django-searchsra/venv/lib64/python3.6/site-packages/MySQLdb/cursors.py",
>  line 312, in _query
>     db.query(q)
>   File 
> "/var/www/portals/django-searchsra/venv/lib64/python3.6/site-packages/MySQLdb/connections.py",
>  line 224, in query
>     _mysql.connection.query(self, query)
> django.db.utils.IntegrityError: Problem installing fixture 
> '/var/www/portals/django-searchsra/airavata-django-portal/django_airavata/wagtailapps/base/fixtures/searchingsra.json':
>  Could not load wagtailimages.Rendition(pk=2): (1062, "Duplicate entry 
> '2-max-165x165-' for key 
> 'wagtailimages_rendition_image_id_filter_spec_foc_323c8fe0_uniq'")



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

Reply via email to