← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1488443] [NEW] Any action always cause error ( in kilo)

 

Public bug reported:

When I use French language in Horizon I have this trace :

2015-08-25 09:35:23,185 1024 ERROR django.request Internal Server Error: /dashboard/project/instances/
Traceback (most recent call last):
  File "/usr/lib/python2.7/site-packages/django/core/handlers/base.py", line 132, in get_response
    response = wrapped_callback(request, *callback_args, **callback_kwargs)
  File "/usr/lib/python2.7/site-packages/horizon/decorators.py", line 36, in dec
    return view_func(request, *args, **kwargs)
  File "/usr/lib/python2.7/site-packages/horizon/decorators.py", line 52, in dec
    return view_func(request, *args, **kwargs)
  File "/usr/lib/python2.7/site-packages/horizon/decorators.py", line 36, in dec
    return view_func(request, *args, **kwargs)
  File "/usr/lib/python2.7/site-packages/horizon/decorators.py", line 84, in dec
    return view_func(request, *args, **kwargs)
  File "/usr/lib/python2.7/site-packages/django/views/generic/base.py", line 71, in view
    return self.dispatch(request, *args, **kwargs)
  File "/usr/lib/python2.7/site-packages/django/views/generic/base.py", line 89, in dispatch
    return handler(request, *args, **kwargs)
  File "/usr/lib/python2.7/site-packages/horizon/tables/views.py", line 223, in post
    return self.get(request, *args, **kwargs)
  File "/usr/lib/python2.7/site-packages/horizon/tables/views.py", line 159, in get
    handled = self.construct_tables()
  File "/usr/lib/python2.7/site-packages/horizon/tables/views.py", line 150, in construct_tables
    handled = self.handle_table(table)
  File "/usr/lib/python2.7/site-packages/horizon/tables/views.py", line 125, in handle_table
    handled = self._tables[name].maybe_handle()
  File "/usr/lib/python2.7/site-packages/horizon/tables/base.py", line 1640, in maybe_handle
    return self.take_action(action_name, obj_id)
  File "/usr/lib/python2.7/site-packages/horizon/tables/base.py", line 1482, in take_action
    response = action.multiple(self, self.request, obj_ids)
  File "/usr/lib/python2.7/site-packages/horizon/tables/actions.py", line 302, in multiple
    return self.handle(data_table, request, object_ids)
  File "/usr/lib/python2.7/site-packages/horizon/tables/actions.py", line 827, in handle
    exceptions.handle(request, ignore=ignore)
  File "/usr/lib/python2.7/site-packages/horizon/exceptions.py", line 364, in handle
    six.reraise(exc_type, exc_value, exc_traceback)
  File "/usr/lib/python2.7/site-packages/horizon/tables/actions.py", line 817, in handle
    (self._get_action_name(past=True), datum_display))
UnicodeDecodeError: 'ascii' codec can't decode byte 0xc3 in position 9: ordinal not in range(128)

I have already applied this patch :
https://review.openstack.org/#/c/196637/

But no works.  No pb with english.

** Affects: horizon
     Importance: Undecided
         Status: New

-- 
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/1488443

Title:
  Any action always cause error ( in kilo)

Status in OpenStack Dashboard (Horizon):
  New

Bug description:
  When I use French language in Horizon I have this trace :

  2015-08-25 09:35:23,185 1024 ERROR django.request Internal Server Error: /dashboard/project/instances/
  Traceback (most recent call last):
    File "/usr/lib/python2.7/site-packages/django/core/handlers/base.py", line 132, in get_response
      response = wrapped_callback(request, *callback_args, **callback_kwargs)
    File "/usr/lib/python2.7/site-packages/horizon/decorators.py", line 36, in dec
      return view_func(request, *args, **kwargs)
    File "/usr/lib/python2.7/site-packages/horizon/decorators.py", line 52, in dec
      return view_func(request, *args, **kwargs)
    File "/usr/lib/python2.7/site-packages/horizon/decorators.py", line 36, in dec
      return view_func(request, *args, **kwargs)
    File "/usr/lib/python2.7/site-packages/horizon/decorators.py", line 84, in dec
      return view_func(request, *args, **kwargs)
    File "/usr/lib/python2.7/site-packages/django/views/generic/base.py", line 71, in view
      return self.dispatch(request, *args, **kwargs)
    File "/usr/lib/python2.7/site-packages/django/views/generic/base.py", line 89, in dispatch
      return handler(request, *args, **kwargs)
    File "/usr/lib/python2.7/site-packages/horizon/tables/views.py", line 223, in post
      return self.get(request, *args, **kwargs)
    File "/usr/lib/python2.7/site-packages/horizon/tables/views.py", line 159, in get
      handled = self.construct_tables()
    File "/usr/lib/python2.7/site-packages/horizon/tables/views.py", line 150, in construct_tables
      handled = self.handle_table(table)
    File "/usr/lib/python2.7/site-packages/horizon/tables/views.py", line 125, in handle_table
      handled = self._tables[name].maybe_handle()
    File "/usr/lib/python2.7/site-packages/horizon/tables/base.py", line 1640, in maybe_handle
      return self.take_action(action_name, obj_id)
    File "/usr/lib/python2.7/site-packages/horizon/tables/base.py", line 1482, in take_action
      response = action.multiple(self, self.request, obj_ids)
    File "/usr/lib/python2.7/site-packages/horizon/tables/actions.py", line 302, in multiple
      return self.handle(data_table, request, object_ids)
    File "/usr/lib/python2.7/site-packages/horizon/tables/actions.py", line 827, in handle
      exceptions.handle(request, ignore=ignore)
    File "/usr/lib/python2.7/site-packages/horizon/exceptions.py", line 364, in handle
      six.reraise(exc_type, exc_value, exc_traceback)
    File "/usr/lib/python2.7/site-packages/horizon/tables/actions.py", line 817, in handle
      (self._get_action_name(past=True), datum_display))
  UnicodeDecodeError: 'ascii' codec can't decode byte 0xc3 in position 9: ordinal not in range(128)

  I have already applied this patch :
  https://review.openstack.org/#/c/196637/

  But no works.  No pb with english.

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


Follow ups