ZeroDivisionError on launchpad.net/~linaro/+upcomingwork
Bug #1000787 reported by
James Tunnicliffe
This bug affects 2 people
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Launchpad itself |
Fix Released
|
Critical
|
Данило Шеган |
Bug Description
Module lp.registry.
100.0 * total_done / float(total_items))
ZeroDivisionError: float division
OOPS-3f57bbc6472c9df6c57ea05cca011f90
Related branches
lp:~danilo/launchpad/bug-1000787
- Raphaël Badin (community): Approve
- Francesco Banconi (community): Approve (code*)
-
Diff: 68 lines (+44/-2)2 files modifiedlib/lp/registry/browser/person.py (+2/-2)
lib/lp/registry/browser/tests/test_person_upcomingwork.py (+42/-0)
Changed in launchpad: | |
assignee: | nobody → James Tunnicliffe (dooferlad) |
status: | New → Confirmed |
Changed in launchpad: | |
status: | Confirmed → Triaged |
tags: | added: oops |
description: | updated |
summary: |
- upcomingwork page fails when there are no work items + ZeroDivisionError on launchpad.net/~linaro/+upcomingwork |
Changed in launchpad: | |
assignee: | James Tunnicliffe (dooferlad) → Данило Шеган (danilo) |
Changed in launchpad: | |
importance: | Undecided → Critical |
Changed in launchpad: | |
status: | Triaged → In Progress |
Changed in launchpad: | |
status: | Fix Committed → Fix Released |
To post a comment you must log in.
Here's the error:
Traceback (most recent call last): publish, line 134, in publish callObject( request, obj) webapp. publication, line 499, in callObject getPositionalAr guments( ), request) publish, line 109, in mapply e.metaconfigure .SimpleViewClas s from /srv/launchpad. net/production/ launchpad- rev-15259/ lib/lp/ registry/ browser/ ../templates/ person- upcomingwork. pt instance at 0x2b4b703946d0> publish, line 115, in debug_call webapp. publisher, line 395, in __call__ initialize( ) browser. person, line 4469, in initialize
Module zope.publisher.
result = publication.
Module lp.services.
return mapply(ob, request.
Module zope.publisher.
return debug_call(obj, args)
- __traceback_info__: <security proxied zope.browserpag
Module zope.publisher.
return obj(*args)
Module lp.services.
self.
Module lp.registry.
100.0 * total_done / float(total_items))
ZeroDivisionError: float division