[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

[Popcon-developers] popcon.debian.org not being updated



[Petter Reinholdtsen]
> Hm.  I just noticed that <uRL:http://popcon.debian.org/> was last
> updated 2008-03-09.  I suspect this message is about the update
> script failing.  Do not have time to look into it now, but thought
> it best to bring attention to the situation.

I had a few minutes to spare, and started looking at this.  The
problem seem to be that popanal.py crashes when it is called from
/org/popcon.debian.org/bin/popcon-process.sh.  This is the error:

  Traceback (most recent call last):
    File "/org/popcon.debian.org/popcon-mail/../bin/popanal.py", line 244, in ?
      read_submissions(sys.stdin)
    File "/org/popcon.debian.org/popcon-mail/../bin/popanal.py", line 201, in read_submissions
      e = Submission(0, header['ID'], header['TIME'])
    File "/org/popcon.debian.org/popcon-mail/../bin/popanal.py", line 120, in __init__
      ewrite('%s:\n\tSTART: %s' % (owner_id, time.ctime(long(date))))
  ValueError: timestamp out of range for platform time_t

I am not sure what is wrong here, but suspect the messages in
/home/org/popcon.debian.org/logs/prepop.out might be related:

  Bad mtime -2080811534
  Bad mtime -2082847671
  Use of uninitialized value in concatenation (.) or string at
    /org/popcon.debian.org/popcon-mail/../bin/prepop.pl line 28, <> line
    6769413.
  Bad hostid:

I guess there are some bogus popcon entries.  Not quite sure how to
find the problematic entry.  Tried with this, but ran out of time when
I waited for it to complete.

  grep -rl -- -2082847671 /home/org/popcon.debian.org/popcon-mail/popcon-entries/

Happy hacking,
-- 
Petter Reinholdtsen



Reply to: