← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1472999] [NEW] filter doesn't handle unicode charaters

 

Public bug reported:

1 go to project/instances
2. insert 'ölk' into filter field
3. enter filter
4. 
UnicodeEncodeError at /project/instances/

'ascii' codec can't encode character u'\xf6' in position 0: ordinal not
in range(128)

Request Method: 	GET
Request URL: 	http://localhost:8000/project/instances/
Django Version: 	1.8.2
Exception Type: 	UnicodeEncodeError
Exception Value: 	

'ascii' codec can't encode character u'\xf6' in position 0: ordinal not
in range(128)

Exception Location: 	/usr/lib64/python2.7/urllib.py in urlencode, line 1347
Python Executable: 	/usr/bin/python
Python Version: 	2.7.10
Python Path: 	

['/home/mrunge/work/horizon',
 '/usr/lib64/python27.zip',
 '/usr/lib64/python2.7',
 '/usr/lib64/python2.7/plat-linux2',
 '/usr/lib64/python2.7/lib-tk',
 '/usr/lib64/python2.7/lib-old',
 '/usr/lib64/python2.7/lib-dynload',
 '/usr/lib64/python2.7/site-packages',
 '/usr/lib64/python2.7/site-packages/gtk-2.0',
 '/usr/lib/python2.7/site-packages',
 '/home/mrunge/work/horizon/openstack_dashboard']

** Affects: horizon
     Importance: High
         Status: New

** Changed in: horizon
   Importance: Undecided => High

-- 
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to OpenStack Dashboard (Horizon).
https://bugs.launchpad.net/bugs/1472999

Title:
  filter doesn't handle unicode charaters

Status in OpenStack Dashboard (Horizon):
  New

Bug description:
  1 go to project/instances
  2. insert 'ölk' into filter field
  3. enter filter
  4. 
  UnicodeEncodeError at /project/instances/

  'ascii' codec can't encode character u'\xf6' in position 0: ordinal
  not in range(128)

  Request Method: 	GET
  Request URL: 	http://localhost:8000/project/instances/
  Django Version: 	1.8.2
  Exception Type: 	UnicodeEncodeError
  Exception Value: 	

  'ascii' codec can't encode character u'\xf6' in position 0: ordinal
  not in range(128)

  Exception Location: 	/usr/lib64/python2.7/urllib.py in urlencode, line 1347
  Python Executable: 	/usr/bin/python
  Python Version: 	2.7.10
  Python Path: 	

  ['/home/mrunge/work/horizon',
   '/usr/lib64/python27.zip',
   '/usr/lib64/python2.7',
   '/usr/lib64/python2.7/plat-linux2',
   '/usr/lib64/python2.7/lib-tk',
   '/usr/lib64/python2.7/lib-old',
   '/usr/lib64/python2.7/lib-dynload',
   '/usr/lib64/python2.7/site-packages',
   '/usr/lib64/python2.7/site-packages/gtk-2.0',
   '/usr/lib/python2.7/site-packages',
   '/home/mrunge/work/horizon/openstack_dashboard']

To manage notifications about this bug go to:
https://bugs.launchpad.net/horizon/+bug/1472999/+subscriptions


Follow ups