Package: gitstats
Version: 2010.07.27-1
Severity: normal

Hello,

I got a :
{{{
Traceback (most recent call last):
  File "/usr/bin/gitstats", line 1172, in <module>
    g.run(sys.argv[1:])
  File "/usr/bin/gitstats", line 1165, in run
    report.create(data, outputpath)
  File "/usr/bin/gitstats", line 586, in create
    f.write('<dt>Authors</dt><dd>%s (average %.1f commits per author)</dd>' % 
(data.getTotalAuthors(), (1.0 * data.getTotalCommits()) / 
data.getTotalAuthors()))
ZeroDivisionError: float division
}}}

In a normal sized git repository (some devs, some years of push), I
once got this ZeroDivisionError running from a crontab, didn't
reproduced it since.

-- System Information:
Debian Release: 6.0.5
  APT prefers stable-updates
  APT policy: (500, 'stable-updates'), (500, 'stable')
Architecture: amd64 (x86_64)

Kernel: Linux 2.6.32-5-amd64 (SMP w/2 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages gitstats depends on:
ii  git [git-core]          1:1.7.2.5-3      fast, scalable, distributed revisi
ii  git-core                1:1.7.2.5-3      fast, scalable, distributed revisi
ii  gnuplot-nox             4.4.0-1.1+b1     A command-line driven interactive
ii  python                  2.6.6-3+squeeze7 interactive high-level object-orie

gitstats recommends no packages.

gitstats suggests no packages.

-- no debconf information



-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to