Task #12571 (closed)
Opened 10 years ago
Closed 9 years ago
Script should support unicode
Reported by: | omero-qa | Owned by: | wmoore |
---|---|---|---|
Priority: | major | Milestone: | 5.1.2 |
Component: | Web | Version: | 5.0.4 |
Keywords: | n.a. | Cc: | |
Resources: | n.a. | Referenced By: | n.a. |
References: | n.a. | Remaining Time: | n.a. |
Sprint: | n.a. |
Description (last modified by jamoore)
https://www.openmicroscopy.org/qa2/qa/feedback/9542/
Traceback (most recent call last): File "/data/omero/OMERO.server/lib/python/django/core/handlers/base.py", line 114, in get_response response = wrapped_callback(request, *callback_args, **callback_kwargs) File "/data/omero/OMERO.server/lib/python/omeroweb/decorators.py", line 387, in wrapped retval = f(request, *args, **kwargs) File "/data/omero/OMERO.server/lib/python/omeroweb/webclient/views.py", line 2828, in script_run v = str(request.POST[valueName]) UnicodeEncodeError: 'ascii' codec can't encode character u'\xe9' in position 6: ordinal not in range(128) <WSGIRequest path:/webclient/script_run/77557/, GET:<QueryDict: {}>, POST:<QueryDict: {u'Channel_Names_value2': [u'Sox2 Gt'], u'Channel_Names_value3': [u'DAPI'], u'Channel_Names_value0': [u'E-Cadh\xe9rine'], u'Channel_Names_value1': [u'Sox2 Rb'], u'Merged_Colours_value1': [u'4278190335'], u'Merged_Colours_value0': [u'4278255360'], u'Merged_Colours_value2': [u'4294901760'], u'Merged_Names': [u'on'], u'Z_Start': [u'23'], u'Channel_Names_key2': [u'2'], u'Figure_Name': [u'Split_View_Figure'], u'Channel_Names_key0': [u'0'], u'Channel_Names_key1': [u'1'], u'Format': [u'JPEG'], u'3cName': [u'DAPI'], u'IDs': [u'88794'], u'0cMerged': [u'4278255360'], u'zProjection': [u'z_projection'], u'Merged_Colours_key1': [u'1'], u'Merged_Colours_key0': [u'0'], u'Merged_Colours_key2': [u'2'], u'Overlay_Colour': [u'White'], u'Split_Indexes': [u'0,1,2,3'], u'3cActive': [u'on'], u'0cName': [u'E-Cadh\xe9rine'], u'Z_End': [u'23'], u'Algorithm': [u'Maximum Intensity'], u'Channel_Names_key3': [u'3'], u'2cMerged': [u'4294901760'], u'0cActive': [u'on'], u'2cActive': [u'on'], u'Split_Panels_Grey': [u'on'], u'Image_Labels': [u'Tags'], u'1cActive': [u'on'], u'Width': [u'512'], u'Height': [u'512'], u'2cName': [u'Sox2 Gt'], u'1cMerged': [u'4278190335'], u'Stepping': [u'1'], u'1cName': [u'Sox2 Rb']}>, COOKIES:{'sessionid': 'xhox0nyqt8eo5axynm1vs3akhcy8gjfi'}, META:{'CONTENT_LENGTH': '805', 'CONTENT_TYPE': 'application/x-www-form-urlencoded; charset=UTF-8', 'HTTPS': 'on', 'HTTP_ACCEPT': '*/*', 'HTTP_ACCEPT_ENCODING': 'gzip,deflate', 'HTTP_ACCEPT_LANGUAGE': 'fr-FR,fr;q=0.8,en-US;q=0.6,en;q=0.4', 'HTTP_CONNECTION': 'keep-alive', 'HTTP_CONTENT_LENGTH': '805', 'HTTP_CONTENT_TYPE': 'application/x-www-form-urlencoded; charset=UTF-8', 'HTTP_COOKIE': 'sessionid=xhox0nyqt8eo5axynm1vs3akhcy8gjfi', 'HTTP_HOST': 'luigi.gred-clermont.fr', 'HTTP_ORIGIN': 'https://luigi.gred-clermont.fr', 'HTTP_REFERER': 'https://luigi.gred-clermont.fr/webclient/figure_script/SplitView/?Image=88794', 'HTTP_USER_AGENT': 'Mozilla/5.0 (Macintosh; Intel Mac OS X 10_9_4) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/37.0.2062.120 Safari/537.36', 'HTTP_X_REQUESTED_WITH': 'XMLHttpRequest', 'PATH_INFO': u'/webclient/script_run/77557/', 'QUERY_STRING': '', 'REQUEST_METHOD': 'POST', 'SCRIPT_NAME': u'', 'SERVER_NAME': 'luigi.gred-clermont.fr', 'SERVER_PORT': '443', 'SERVER_PROTOCOL': 'HTTP/1.1', 'wsgi.errors': <flup.server.fcgi_base.TeeOutputStream object at 0x7fed1c4a9190>, 'wsgi.input': <flup.server.fcgi_base.InputStream object at 0x7fed1c14e690>, 'wsgi.multiprocess': True, 'wsgi.multithread': False, 'wsgi.run_once': False, 'wsgi.url_scheme': 'https', 'wsgi.version': (1, 0)}>
Change History (3)
comment:1 Changed 10 years ago by atarkowska
- Priority changed from minor to major
comment:2 Changed 10 years ago by jamoore
- Component changed from from QA to Web
- Description modified (diff)
- Milestone changed from Unscheduled to 5.1.0-m3
comment:3 Changed 9 years ago by wmoore
- Resolution set to fixed
- Status changed from new to closed
Note: See
TracTickets for help on using
tickets.
You may also have a look at Agilo extensions to the ticket.
Fixed https://github.com/openmicroscopy/openmicroscopy/pull/3833
and https://github.com/ome/scripts/pull/101