lewiscawte / CIA.vc

Automatically exported from code.google.com/p/cia-vc
1 stars 0 forks source link

Internal server error from KDE RSS feed #38

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
If applicable, what steps will reproduce the problem?
1. Fetch the RSS feed: http://cia.vc/stats/project/KDE/.rss

What is the expected output? What do you see instead?
The server fails and outputs:
Internal Server Error
Sorry, it looks like you just found a bug. If you would like to help us
identify the problem, please email a copy of this page to the webmaster of
this site along with a description of what happened. Thanks!
Current time:  Wed, 07 Apr 2010 17:42:32 +0000
  Requested path:  /stats/project/KDE/.rss
  Exception type:  <type 'exceptions.ValueError'>
  Exception value:  need more than 2 values to unpack
  Traceback:
Traceback (most recent call last):
  File "/usr/lib/python2.5/site-packages/twisted/internet/defer.py", line
317, in _runCallbacks
    self.result = callback(self.result, *args, **kw)
  File "/home/cia/cia/LibCIA/Stats/Target.py", line 169, in _getMTime
    result.callback(counter['lastEventTime'])
  File "/usr/lib/python2.5/site-packages/twisted/internet/defer.py", line
239, in callback
    self._startRunCallbacks(result)
  File "/usr/lib/python2.5/site-packages/twisted/internet/defer.py", line
304, in _startRunCallbacks
    self._runCallbacks()
--- <exception caught here> ---
  File "/usr/lib/python2.5/site-packages/twisted/internet/defer.py", line
317, in _runCallbacks
    self.result = callback(self.result, *args, **kw)
  File "/home/cia/cia/LibCIA/Web/Stats/Feed.py", line 68, in _render
    if (mtime is None) or (request.setLastModified(mtime) is not
http.CACHED):
  File "/usr/lib/python2.5/site-packages/twisted/web/http.py", line 796,
in setLastModified
    modified_since = stringToDatetime(modified_since.split(';', 1)[0])
  File "/usr/lib/python2.5/site-packages/twisted/web/http.py", line 298,
in stringToDatetime
    hour, min, sec = map(int, time.split(':'))
exceptions.ValueError: need more than 2 values to unpack

If applicable, what project is affected?
So far I have only seen this problem on the KDE feed.

Original issue reported on code.google.com by technosk...@gmail.com on 7 Apr 2010 at 5:45