Warning: Can't synchronize with repository "(default)" (/home/git/ome.git does not appear to be a Git repository.). Look in the Trac log for more information.
Notice: In order to edit this ticket you need to be either: a Product Owner, The owner or the reporter of the ticket, or, in case of a Task not yet assigned, a team_member"

Task #11941 (closed)

Opened 10 years ago

Closed 10 years ago

Last modified 10 years ago

UnicodeEncodeError" ordinal not in range(128)

Reported by: omero-qa Owned by: atarkowska
Priority: major Milestone: 5.0.0
Component: from QA Version: 4.4.10
Keywords: n.a. Cc:
Resources: n.a. Referenced By: n.a.
References: n.a. Remaining Time: 0.0d
Sprint: n.a.

Description (last modified by atarkowska)


Traceback (most recent call last):

  File "/home/cc36812/apps/OMERO.server/lib/python/django/core/handlers/base.py", line 114, in get_response
    response = wrapped_callback(request, *callback_args, **callback_kwargs)

  File "/home/cc36812/apps/OMERO.server/lib/python/omeroweb/decorators.py", line 387, in wrapped
    retval = f(request, *args, **kwargs)

  File "/home/cc36812/apps/OMERO.server/lib/python/omeroweb/decorators.py", line 434, in wrapper
    context = f(request, *args, **kwargs)

  File "/home/cc36812/apps/OMERO.server/lib/python/omeroweb/webclient/views.py", line 389, in load_template
    init['query'] = str(request.REQUEST.get('search_query')).replace(" ", "%20")

UnicodeEncodeError: 'ascii' codec can't encode character u'\u0119' in position 1: ordinal not in range(128)

GET:<QueryDict: {}>,
POST:<QueryDict: {u'search_query': [u't\u0119tnicsa']}>,
COOKIES:{'sessionid': 'blkv1ammlcxw94hkqh5b1hw84qx6mjw3'},
 'CONTENT_TYPE': 'application/x-www-form-urlencoded',
 'DOCUMENT_ROOT': '/var/www',
 'HTTP_ACCEPT': 'text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8',
 'HTTP_ACCEPT_ENCODING': 'gzip, deflate',
 'HTTP_ACCEPT_LANGUAGE': 'en-US,en;q=0.5',
 'HTTP_CONNECTION': 'keep-alive',
 'HTTP_COOKIE': 'sessionid=blkv1ammlcxw94hkqh5b1hw84qx6mjw3',
 'HTTP_HOST': 'microscopy.oi.up.poznan.pl',
 'HTTP_REFERER': 'http://microscopy.oi.up.poznan.pl/omero/webclient/search/',
 'HTTP_USER_AGENT': 'Mozilla/5.0 (Windows NT 6.2; WOW64; rv:21.0) Gecko/20100101 Firefox/21.0',
 'PATH': '/usr/local/bin:/usr/bin:/bin',
 'PATH_INFO': u'/webclient/search/',
 'PATH_TRANSLATED': '/var/www/webclient/search/',
 'REMOTE_PORT': '51483',
 'REQUEST_URI': '/omero/webclient/search/',
 'SCRIPT_FILENAME': '/home/cc36812/apps/OMERO.server-5.0.0-rc1-ice34-b10/var/omero.fcgi',
 'SCRIPT_NAME': u'/omero',
 'SERVER_ADMIN': 'webmaster@localhost',
 'SERVER_NAME': 'microscopy.oi.up.poznan.pl',
 'SERVER_PORT': '80',
 'SERVER_SIGNATURE': '<address>Apache/2.2.22 (Debian) Server at microscopy.oi.up.poznan.pl Port 80</address>\n',
 'SERVER_SOFTWARE': 'Apache/2.2.22 (Debian)',
 'wsgi.errors': <flup.server.fcgi_base.TeeOutputStream object at 0x4722690>,
 'wsgi.input': <flup.server.fcgi_base.InputStream object at 0x47223d0>,
 'wsgi.multiprocess': True,
 'wsgi.multithread': False,
 'wsgi.run_once': False,
 'wsgi.url_scheme': 'http',
 'wsgi.version': (1, 0)}>

Change History (4)

comment:1 Changed 10 years ago by atarkowska

  • Description modified (diff)
  • Milestone changed from Unscheduled to 5.0.0
  • Priority changed from minor to major

comment:2 Changed 10 years ago by atarkowska

  • Resolution set to fixed
  • Status changed from new to closed

comment:3 Changed 10 years ago by Aleksandra Tarkowska <A.Tarkowska@…>

  • Remaining Time set to 0

(In [3fd7adaa5a26a072390c26efcb1442cdc907d854/ome.git] on branch develop) fixing UnicodeEncodeError? when searching, close #11941

comment:4 Changed 10 years ago by Josh Moore <josh@…>

(In [a47affde2838a881b8762e14fda1667ccc2a3af3/ome.git] on branch develop) Merge pull request #2033 from aleksandra-tarkowska/11941_unicode_searching

fixing UnicodeEncodeError? when searching, close #11941

Note: See TracTickets for help on using tickets. You may also have a look at Agilo extensions to the ticket.

1.3.13-PRO © 2008-2011 Agilo Software all rights reserved (this page was served in: 0.65095 sec.)

We're Hiring!