← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1304623] [NEW] TypeError in database view error handle

 

Public bug reported:

In error handling code inside openstack_dashboard/dashboards/project/databases/views.py, DetailView.get_data,
on the logging line:
            LOG.error('Unable to retrieve flavor details'
                      ' for database instance: %s') % instance_id

That line will always produce the following error:
    openstack_dashboard.dashboards.project.databases.views in get_data
    TypeError: unsupported operand type(s) for %: 'NoneType' and 'unicode'

It's just a parenthesis issue.

** Affects: horizon
     Importance: Undecided
     Assignee: Matthew D. Wood (woodm1979)
         Status: In Progress

** Changed in: horizon
     Assignee: (unassigned) => Matthew D. Wood (woodm1979)

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

Title:
  TypeError in database view error handle

Status in OpenStack Dashboard (Horizon):
  In Progress

Bug description:
  In error handling code inside openstack_dashboard/dashboards/project/databases/views.py, DetailView.get_data,
  on the logging line:
              LOG.error('Unable to retrieve flavor details'
                        ' for database instance: %s') % instance_id

  That line will always produce the following error:
      openstack_dashboard.dashboards.project.databases.views in get_data
      TypeError: unsupported operand type(s) for %: 'NoneType' and 'unicode'

  It's just a parenthesis issue.

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


Follow ups

References