TypeError: unsupported operand type(s) for *: 'NoneType' and 'int' on +repository-size page

Bug #965317 reported by Diogo Matsubara
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Launchpad itself
Fix Released
Critical
Steve Kowalik

Bug Description

OOPS-23b453907564a28ba65935d86d3df5a1 was logged when the user tried to access the +repository-size page.

  Module zope.traversing.adapters, line 138, in traversePathElement
    return traversable.traverse(nm, further_path)
   - __traceback_info__: (<zope.browserpage.metaconfigure.SimpleViewClass from /srv/launchpad.net/production/launchpad-rev-14996/lib/lp/soyuz/browser/../templates/archive-index.pt object at 0x10300f10>, 'repository_usage')
  Module zope.traversing.adapters, line 44, in traverse
    attr = getattr(subject, name, _marker)
   - __traceback_info__: (<zope.browserpage.metaconfigure.SimpleViewClass from /srv/launchpad.net/production/launchpad-rev-14996/lib/lp/soyuz/browser/../templates/archive-index.pt object at 0x10300f10>, 'repository_usage', [])
  Module lp.services.propertycache, line 116, in __get__
    value = self.populate(instance)
  Module lp.soyuz.browser.archive, line 620, in repository_usage
    quota = self.context.authorized_size * (2 ** 20)
TypeError: unsupported operand type(s) for *: 'NoneType' and 'int'

Tags: oops qa-ok

Related branches

William Grant (wgrant)
Changed in launchpad:
assignee: nobody → Steve Kowalik (stevenk)
status: Triaged → In Progress
Revision history for this message
Launchpad QA Bot (lpqabot) wrote :
tags: added: qa-needstesting
Changed in launchpad:
status: In Progress → Fix Committed
Curtis Hovey (sinzui)
tags: added: qa-ok
removed: qa-needstesting
Deryck Hodge (deryck)
Changed in launchpad:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.