← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1374210] [NEW] VimExceptions need to support i18n objects

 

Public bug reported:

When lazy is enabled the i18n translation object does not support
str() which causes failures like:
  UnicodeError: Message objects do not support str() because they may
  contain non-ascii characters. Please use unicode() or translate()
  instead.

** Affects: nova
     Importance: Medium
     Assignee: James Carey (jecarey)
         Status: Confirmed

** Affects: oslo.vmware
     Importance: High
     Assignee: James Carey (jecarey)
         Status: Confirmed


** Tags: vmware

** Also affects: nova
   Importance: Undecided
       Status: New

** Tags added: vmware

** Changed in: nova
       Status: New => Confirmed

** Changed in: oslo.vmware
       Status: New => Confirmed

** Changed in: nova
   Importance: Undecided => Medium

** Changed in: oslo.vmware
   Importance: Undecided => High

** Changed in: nova
     Assignee: (unassigned) => James Carey (jecarey)

** Changed in: oslo.vmware
     Assignee: (unassigned) => James Carey (jecarey)

** Changed in: oslo.vmware
    Milestone: None => next-kilo

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

Title:
  VimExceptions need to support i18n objects

Status in OpenStack Compute (Nova):
  Confirmed
Status in Oslo VMware library for OpenStack projects:
  Confirmed

Bug description:
  When lazy is enabled the i18n translation object does not support
  str() which causes failures like:
    UnicodeError: Message objects do not support str() because they may
    contain non-ascii characters. Please use unicode() or translate()
    instead.

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


Follow ups

References