[jira] [Resolved] (AIRAVATA-3697) Handle unicode characters in file names
[ https://issues.apache.org/jira/browse/AIRAVATA-3697?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Marcus Christie resolved AIRAVATA-3697. --- Resolution: Fixed > Handle unicode characters in file names > --- > > Key: AIRAVATA-3697 > URL: https://issues.apache.org/jira/browse/AIRAVATA-3697 > Project: Airavata > Issue Type: Bug > Components: Airavata API, Django Portal >Reporter: Marcus Christie >Assignee: Marcus Christie >Priority: Major > Attachments: Photophysical properties and photodegradation mechanism > of 2-(2′-furanyl)-1H-benzimidazole (Fuberidazole) - ScienceDirect.html > > > Getting the following Django error when browsing experiment output files with > unicode characters in the file names: > {code} > Traceback (most recent call last): > File > "/var/www/portals/django-seagrid/venv/lib64/python3.6/site-packages/rest_framework/views.py", > line 506, in dispatch >response = handler(request, *args, **kwargs) > File > "/var/www/portals/django-seagrid/airavata-django-portal/django_airavata/apps/api/views.py", > line 1467, in get >return self._create_response(request, experiment_id, path) > File > "/var/www/portals/django-seagrid/airavata-django-portal/django_airavata/apps/api/views.py", > line 1471, in _create_response >directories, files = user_storage.list_experiment_dir(request, > experiment_id, path) > File > "/var/www/portals/django-seagrid/venv/lib64/python3.6/site-packages/airavata_django_portal_sdk/user_storage/api.py", > line 629, in list_experiment_dir >backend=backend, owner=experiment.userName) > File > "/var/www/portals/django-seagrid/venv/lib64/python3.6/site-packages/airavata_django_portal_sdk/user_storage/api.py", > line 760, in _get_data_product_uri >if user_file.exists(): > File > "/var/www/portals/django-seagrid/venv/lib64/python3.6/site-packages/django/db/models/query.py", > line 808, in exists >return self.query.has_results(using=self.db) > File > "/var/www/portals/django-seagrid/venv/lib64/python3.6/site-packages/django/db/models/sql/query.py", > line 561, in has_results >return compiler.has_results() > File > "/var/www/portals/django-seagrid/venv/lib64/python3.6/site-packages/django/db/models/sql/compiler.py", > line 1145, in has_results >return bool(self.execute_sql(SINGLE)) > File > "/var/www/portals/django-seagrid/venv/lib64/python3.6/site-packages/django/db/models/sql/compiler.py", > line 1175, in execute_sql >cursor.execute(sql, params) > File > "/var/www/portals/django-seagrid/venv/lib64/python3.6/site-packages/django/db/backends/utils.py", > line 66, in execute >return self._execute_with_wrappers(sql, params, many=False, > executor=self._execute) > File > "/var/www/portals/django-seagrid/venv/lib64/python3.6/site-packages/django/db/backends/utils.py", > line 75, in _execute_with_wrappers >return executor(sql, params, many, context) > File > "/var/www/portals/django-seagrid/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-seagrid/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-seagrid/venv/lib64/python3.6/site-packages/MySQLdb/cursors.py", > line 199, in execute >args = tuple(map(db.literal, args)) > File > "/var/www/portals/django-seagrid/venv/lib64/python3.6/site-packages/MySQLdb/connections.py", > line 280, in literal >s = self.string_literal(o.encode(self.encoding)) > During handling of the above exception ('utf-8' codec can't encode characters > in position 197-199: surrogates not allowed), another exception occurred: > File > "/var/www/portals/django-seagrid/venv/lib64/python3.6/site-packages/django/core/handlers/exception.py", > line 47, in inner >response = get_response(request) > File > "/var/www/portals/django-seagrid/venv/lib64/python3.6/site-packages/django/core/handlers/base.py", > line 181, in _get_response >response = wrapped_callback(request, *callback_args, **callback_kwargs) > File > "/var/www/portals/django-seagrid/venv/lib64/python3.6/site-packages/django/views/decorators/csrf.py", > line 54, in wrapped_view >return view_func(*args, **kwargs) > File > "/var/www/portals/django-seagrid/venv/lib64/python3.6/site-packages/django/views/generic/base.py", > line 70, in view >return self.dispatch(request, *args, **kwargs) > File > "/var/www/portals/django-seagrid/venv/lib64/python3.6/site-packages/rest_framework/views.py", > line 509, in dispatch >response = self.handle_exception(exc) > File >
[jira] [Commented] (AIRAVATA-3697) Handle unicode characters in file names
[ https://issues.apache.org/jira/browse/AIRAVATA-3697?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17767584#comment-17767584 ] ASF subversion and git services commented on AIRAVATA-3697: --- Commit 71bc7c3d30e34daef0b308de15092f00cfe821cb in airavata's branch refs/heads/master from Marcus Christie [ https://gitbox.apache.org/repos/asf?p=airavata.git;h=71bc7c3d30 ] AIRAVATA-3697 Set lang and locale on WSGIDaemonProcess Copying this change over from the template to the per gateway override files. > Handle unicode characters in file names > --- > > Key: AIRAVATA-3697 > URL: https://issues.apache.org/jira/browse/AIRAVATA-3697 > Project: Airavata > Issue Type: Bug > Components: Airavata API, Django Portal >Reporter: Marcus Christie >Assignee: Marcus Christie >Priority: Major > Attachments: Photophysical properties and photodegradation mechanism > of 2-(2′-furanyl)-1H-benzimidazole (Fuberidazole) - ScienceDirect.html > > > Getting the following Django error when browsing experiment output files with > unicode characters in the file names: > {code} > Traceback (most recent call last): > File > "/var/www/portals/django-seagrid/venv/lib64/python3.6/site-packages/rest_framework/views.py", > line 506, in dispatch >response = handler(request, *args, **kwargs) > File > "/var/www/portals/django-seagrid/airavata-django-portal/django_airavata/apps/api/views.py", > line 1467, in get >return self._create_response(request, experiment_id, path) > File > "/var/www/portals/django-seagrid/airavata-django-portal/django_airavata/apps/api/views.py", > line 1471, in _create_response >directories, files = user_storage.list_experiment_dir(request, > experiment_id, path) > File > "/var/www/portals/django-seagrid/venv/lib64/python3.6/site-packages/airavata_django_portal_sdk/user_storage/api.py", > line 629, in list_experiment_dir >backend=backend, owner=experiment.userName) > File > "/var/www/portals/django-seagrid/venv/lib64/python3.6/site-packages/airavata_django_portal_sdk/user_storage/api.py", > line 760, in _get_data_product_uri >if user_file.exists(): > File > "/var/www/portals/django-seagrid/venv/lib64/python3.6/site-packages/django/db/models/query.py", > line 808, in exists >return self.query.has_results(using=self.db) > File > "/var/www/portals/django-seagrid/venv/lib64/python3.6/site-packages/django/db/models/sql/query.py", > line 561, in has_results >return compiler.has_results() > File > "/var/www/portals/django-seagrid/venv/lib64/python3.6/site-packages/django/db/models/sql/compiler.py", > line 1145, in has_results >return bool(self.execute_sql(SINGLE)) > File > "/var/www/portals/django-seagrid/venv/lib64/python3.6/site-packages/django/db/models/sql/compiler.py", > line 1175, in execute_sql >cursor.execute(sql, params) > File > "/var/www/portals/django-seagrid/venv/lib64/python3.6/site-packages/django/db/backends/utils.py", > line 66, in execute >return self._execute_with_wrappers(sql, params, many=False, > executor=self._execute) > File > "/var/www/portals/django-seagrid/venv/lib64/python3.6/site-packages/django/db/backends/utils.py", > line 75, in _execute_with_wrappers >return executor(sql, params, many, context) > File > "/var/www/portals/django-seagrid/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-seagrid/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-seagrid/venv/lib64/python3.6/site-packages/MySQLdb/cursors.py", > line 199, in execute >args = tuple(map(db.literal, args)) > File > "/var/www/portals/django-seagrid/venv/lib64/python3.6/site-packages/MySQLdb/connections.py", > line 280, in literal >s = self.string_literal(o.encode(self.encoding)) > During handling of the above exception ('utf-8' codec can't encode characters > in position 197-199: surrogates not allowed), another exception occurred: > File > "/var/www/portals/django-seagrid/venv/lib64/python3.6/site-packages/django/core/handlers/exception.py", > line 47, in inner >response = get_response(request) > File > "/var/www/portals/django-seagrid/venv/lib64/python3.6/site-packages/django/core/handlers/base.py", > line 181, in _get_response >response = wrapped_callback(request, *callback_args, **callback_kwargs) > File > "/var/www/portals/django-seagrid/venv/lib64/python3.6/site-packages/django/views/decorators/csrf.py", > line 54, in wrapped_view >return view_func(*args, **kwargs) > File >
[jira] [Commented] (AIRAVATA-3697) Handle unicode characters in file names
[ https://issues.apache.org/jira/browse/AIRAVATA-3697?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17767585#comment-17767585 ] ASF subversion and git services commented on AIRAVATA-3697: --- Commit b3d68364c323bd03af0f435c54b6039a3743f148 in airavata's branch refs/heads/master from Marcus Christie [ https://gitbox.apache.org/repos/asf?p=airavata.git;h=b3d68364c3 ] Merge branch 'AIRAVATA-3697' > Handle unicode characters in file names > --- > > Key: AIRAVATA-3697 > URL: https://issues.apache.org/jira/browse/AIRAVATA-3697 > Project: Airavata > Issue Type: Bug > Components: Airavata API, Django Portal >Reporter: Marcus Christie >Assignee: Marcus Christie >Priority: Major > Attachments: Photophysical properties and photodegradation mechanism > of 2-(2′-furanyl)-1H-benzimidazole (Fuberidazole) - ScienceDirect.html > > > Getting the following Django error when browsing experiment output files with > unicode characters in the file names: > {code} > Traceback (most recent call last): > File > "/var/www/portals/django-seagrid/venv/lib64/python3.6/site-packages/rest_framework/views.py", > line 506, in dispatch >response = handler(request, *args, **kwargs) > File > "/var/www/portals/django-seagrid/airavata-django-portal/django_airavata/apps/api/views.py", > line 1467, in get >return self._create_response(request, experiment_id, path) > File > "/var/www/portals/django-seagrid/airavata-django-portal/django_airavata/apps/api/views.py", > line 1471, in _create_response >directories, files = user_storage.list_experiment_dir(request, > experiment_id, path) > File > "/var/www/portals/django-seagrid/venv/lib64/python3.6/site-packages/airavata_django_portal_sdk/user_storage/api.py", > line 629, in list_experiment_dir >backend=backend, owner=experiment.userName) > File > "/var/www/portals/django-seagrid/venv/lib64/python3.6/site-packages/airavata_django_portal_sdk/user_storage/api.py", > line 760, in _get_data_product_uri >if user_file.exists(): > File > "/var/www/portals/django-seagrid/venv/lib64/python3.6/site-packages/django/db/models/query.py", > line 808, in exists >return self.query.has_results(using=self.db) > File > "/var/www/portals/django-seagrid/venv/lib64/python3.6/site-packages/django/db/models/sql/query.py", > line 561, in has_results >return compiler.has_results() > File > "/var/www/portals/django-seagrid/venv/lib64/python3.6/site-packages/django/db/models/sql/compiler.py", > line 1145, in has_results >return bool(self.execute_sql(SINGLE)) > File > "/var/www/portals/django-seagrid/venv/lib64/python3.6/site-packages/django/db/models/sql/compiler.py", > line 1175, in execute_sql >cursor.execute(sql, params) > File > "/var/www/portals/django-seagrid/venv/lib64/python3.6/site-packages/django/db/backends/utils.py", > line 66, in execute >return self._execute_with_wrappers(sql, params, many=False, > executor=self._execute) > File > "/var/www/portals/django-seagrid/venv/lib64/python3.6/site-packages/django/db/backends/utils.py", > line 75, in _execute_with_wrappers >return executor(sql, params, many, context) > File > "/var/www/portals/django-seagrid/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-seagrid/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-seagrid/venv/lib64/python3.6/site-packages/MySQLdb/cursors.py", > line 199, in execute >args = tuple(map(db.literal, args)) > File > "/var/www/portals/django-seagrid/venv/lib64/python3.6/site-packages/MySQLdb/connections.py", > line 280, in literal >s = self.string_literal(o.encode(self.encoding)) > During handling of the above exception ('utf-8' codec can't encode characters > in position 197-199: surrogates not allowed), another exception occurred: > File > "/var/www/portals/django-seagrid/venv/lib64/python3.6/site-packages/django/core/handlers/exception.py", > line 47, in inner >response = get_response(request) > File > "/var/www/portals/django-seagrid/venv/lib64/python3.6/site-packages/django/core/handlers/base.py", > line 181, in _get_response >response = wrapped_callback(request, *callback_args, **callback_kwargs) > File > "/var/www/portals/django-seagrid/venv/lib64/python3.6/site-packages/django/views/decorators/csrf.py", > line 54, in wrapped_view >return view_func(*args, **kwargs) > File > "/var/www/portals/django-seagrid/venv/lib64/python3.6/site-packages/django/views/generic/base.py", > line 70, in view >return self.dispatch(request, *args, **kwargs) > File >
[jira] [Commented] (AIRAVATA-3697) Handle unicode characters in file names
[ https://issues.apache.org/jira/browse/AIRAVATA-3697?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17767583#comment-17767583 ] ASF subversion and git services commented on AIRAVATA-3697: --- Commit 6fcefb2c476fd73cc5070d378f0730713f5ac65f in airavata's branch refs/heads/master from Marcus Christie [ https://gitbox.apache.org/repos/asf?p=airavata.git;h=6fcefb2c47 ] AIRAVATA-3697 Switching to column level utf8 character set > Handle unicode characters in file names > --- > > Key: AIRAVATA-3697 > URL: https://issues.apache.org/jira/browse/AIRAVATA-3697 > Project: Airavata > Issue Type: Bug > Components: Airavata API, Django Portal >Reporter: Marcus Christie >Assignee: Marcus Christie >Priority: Major > Attachments: Photophysical properties and photodegradation mechanism > of 2-(2′-furanyl)-1H-benzimidazole (Fuberidazole) - ScienceDirect.html > > > Getting the following Django error when browsing experiment output files with > unicode characters in the file names: > {code} > Traceback (most recent call last): > File > "/var/www/portals/django-seagrid/venv/lib64/python3.6/site-packages/rest_framework/views.py", > line 506, in dispatch >response = handler(request, *args, **kwargs) > File > "/var/www/portals/django-seagrid/airavata-django-portal/django_airavata/apps/api/views.py", > line 1467, in get >return self._create_response(request, experiment_id, path) > File > "/var/www/portals/django-seagrid/airavata-django-portal/django_airavata/apps/api/views.py", > line 1471, in _create_response >directories, files = user_storage.list_experiment_dir(request, > experiment_id, path) > File > "/var/www/portals/django-seagrid/venv/lib64/python3.6/site-packages/airavata_django_portal_sdk/user_storage/api.py", > line 629, in list_experiment_dir >backend=backend, owner=experiment.userName) > File > "/var/www/portals/django-seagrid/venv/lib64/python3.6/site-packages/airavata_django_portal_sdk/user_storage/api.py", > line 760, in _get_data_product_uri >if user_file.exists(): > File > "/var/www/portals/django-seagrid/venv/lib64/python3.6/site-packages/django/db/models/query.py", > line 808, in exists >return self.query.has_results(using=self.db) > File > "/var/www/portals/django-seagrid/venv/lib64/python3.6/site-packages/django/db/models/sql/query.py", > line 561, in has_results >return compiler.has_results() > File > "/var/www/portals/django-seagrid/venv/lib64/python3.6/site-packages/django/db/models/sql/compiler.py", > line 1145, in has_results >return bool(self.execute_sql(SINGLE)) > File > "/var/www/portals/django-seagrid/venv/lib64/python3.6/site-packages/django/db/models/sql/compiler.py", > line 1175, in execute_sql >cursor.execute(sql, params) > File > "/var/www/portals/django-seagrid/venv/lib64/python3.6/site-packages/django/db/backends/utils.py", > line 66, in execute >return self._execute_with_wrappers(sql, params, many=False, > executor=self._execute) > File > "/var/www/portals/django-seagrid/venv/lib64/python3.6/site-packages/django/db/backends/utils.py", > line 75, in _execute_with_wrappers >return executor(sql, params, many, context) > File > "/var/www/portals/django-seagrid/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-seagrid/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-seagrid/venv/lib64/python3.6/site-packages/MySQLdb/cursors.py", > line 199, in execute >args = tuple(map(db.literal, args)) > File > "/var/www/portals/django-seagrid/venv/lib64/python3.6/site-packages/MySQLdb/connections.py", > line 280, in literal >s = self.string_literal(o.encode(self.encoding)) > During handling of the above exception ('utf-8' codec can't encode characters > in position 197-199: surrogates not allowed), another exception occurred: > File > "/var/www/portals/django-seagrid/venv/lib64/python3.6/site-packages/django/core/handlers/exception.py", > line 47, in inner >response = get_response(request) > File > "/var/www/portals/django-seagrid/venv/lib64/python3.6/site-packages/django/core/handlers/base.py", > line 181, in _get_response >response = wrapped_callback(request, *callback_args, **callback_kwargs) > File > "/var/www/portals/django-seagrid/venv/lib64/python3.6/site-packages/django/views/decorators/csrf.py", > line 54, in wrapped_view >return view_func(*args, **kwargs) > File > "/var/www/portals/django-seagrid/venv/lib64/python3.6/site-packages/django/views/generic/base.py", > line 70, in view >return
[jira] [Commented] (AIRAVATA-3641) UAmedTOURS
[ https://issues.apache.org/jira/browse/AIRAVATA-3641?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17767451#comment-17767451 ] Vikas Gupta commented on AIRAVATA-3641: --- RESOLVE IT > UAmedTOURS > -- > > Key: AIRAVATA-3641 > URL: https://issues.apache.org/jira/browse/AIRAVATA-3641 > Project: Airavata > Issue Type: Bug >Reporter: UAmedTOURS >Priority: Major > > UAmedTOURS to ukraińska firma, która organizuje wyjazdy medyczne na Ukrainę > dla polskich kobiet na zabiegi aborcyjne. > Aborcja może być przeprowadzona za pomocą: > Aborcja medyczna - za pomocą tabletek. > [*Aborcja > próżniowa*|https://uamedtours.pl/directions/aborcja-metoda-prozniowa] - za > pomocą pompy próżniowej. > Aborcja chirurgiczna - całkowity zabieg chirurgiczny. > Aborcja na Ukrainie jest bezwstydną, legalną i poufną opcją przerwania ciąży. > -- This message was sent by Atlassian Jira (v8.20.10#820010)
[jira] [Resolved] (AIRAVATA-3705) CLONE - UAmedTOURS
[ https://issues.apache.org/jira/browse/AIRAVATA-3705?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Vikas Gupta resolved AIRAVATA-3705. --- Resolution: Fixed > CLONE - UAmedTOURS > -- > > Key: AIRAVATA-3705 > URL: https://issues.apache.org/jira/browse/AIRAVATA-3705 > Project: Airavata > Issue Type: Bug >Reporter: Vikas Gupta >Priority: Major > > UAmedTOURS to ukraińska firma, która organizuje wyjazdy medyczne na Ukrainę > dla polskich kobiet na zabiegi aborcyjne. > Aborcja może być przeprowadzona za pomocą: > Aborcja medyczna - za pomocą tabletek. > [*Aborcja > próżniowa*|https://uamedtours.pl/directions/aborcja-metoda-prozniowa] - za > pomocą pompy próżniowej. > Aborcja chirurgiczna - całkowity zabieg chirurgiczny. > Aborcja na Ukrainie jest bezwstydną, legalną i poufną opcją przerwania ciąży. > -- This message was sent by Atlassian Jira (v8.20.10#820010)
[jira] [Created] (AIRAVATA-3705) CLONE - UAmedTOURS
Vikas Gupta created AIRAVATA-3705: - Summary: CLONE - UAmedTOURS Key: AIRAVATA-3705 URL: https://issues.apache.org/jira/browse/AIRAVATA-3705 Project: Airavata Issue Type: Bug Reporter: Vikas Gupta UAmedTOURS to ukraińska firma, która organizuje wyjazdy medyczne na Ukrainę dla polskich kobiet na zabiegi aborcyjne. Aborcja może być przeprowadzona za pomocą: Aborcja medyczna - za pomocą tabletek. [*Aborcja próżniowa*|https://uamedtours.pl/directions/aborcja-metoda-prozniowa] - za pomocą pompy próżniowej. Aborcja chirurgiczna - całkowity zabieg chirurgiczny. Aborcja na Ukrainie jest bezwstydną, legalną i poufną opcją przerwania ciąży. -- This message was sent by Atlassian Jira (v8.20.10#820010)