--> --> -->
 
 
<type 'exceptions.AttributeError'>
Python 2.7.8: /usr/bin/python
Sat Oct 25 11:15:52 2014

A problem occurred in a Python script. Here is the sequence of function calls leading up to the error, in the order they occurred.

 /home/quango/blog/tb.cgi in ()
    509 if __name__ == '__main__':
    510     if os.environ.get('REQUEST_METHOD'):
=>  511         main()
    512     else:
    513         test()
main = <function main>
 /home/quango/blog/tb.cgi in main()
    482 
    483     if not entryid:
=>  484         tb_feed()
    485     elif reqmeth == 'GET':
    486         if not LEGACY_MODE or (LEGACY_MODE and mode=='rss'):
global tb_feed = <function tb_feed>
 /home/quango/blog/tb.cgi in tb_feed(entryid=None)
    410     expires = DateTime.gmt()+(DateTime.oneMinute*blog.TTL)
    411 
=>  412     print 'Last-Modified: %s' % DateTime.ARPA.strGMT(latest)
    413     print 'Expires: %s' % DateTime.ARPA.strGMT(expires)
    414     print 'Content-Type: application/xml; charset=utf-8\n'
global DateTime = <module 'mx.DateTime' from '/usr/lib/python2.7/dist-packages/mx/DateTime/__init__.pyc'>, DateTime.ARPA = <module 'mx.DateTime.ARPA' from '/usr/lib/python2.7/dist-packages/mx/DateTime/ARPA.pyc'>, DateTime.ARPA.strGMT = <function strGMT>, latest = datetime.datetime(2012, 3, 30, 11, 26, 37, tzinf...2.tz.FixedOffsetTimezone(offset=-240, name=None))
 /usr/lib/python2.7/dist-packages/mx/DateTime/ARPA.py in strGMT(datetime=datetime.datetime(2012, 3, 30, 11, 26, 37, tzinf...2.tz.FixedOffsetTimezone(offset=-240, name=None)))
    179     """
    180     return '%s, %02i %s %04i %02i:%02i:%02i GMT' % (
=>  181         _days[datetime.day_of_week], datetime.day, 
    182         _months[datetime.month], datetime.year,
    183         datetime.hour, datetime.minute, datetime.second)
global _days = ['Mon', 'Tue', 'Wed', 'Thu', 'Fri', 'Sat', 'Sun'], datetime = datetime.datetime(2012, 3, 30, 11, 26, 37, tzinf...2.tz.FixedOffsetTimezone(offset=-240, name=None)), datetime.day_of_week undefined, datetime.day = 30

<type 'exceptions.AttributeError'>: 'datetime.datetime' object has no attribute 'day_of_week'
      args = ("'datetime.datetime' object has no attribute 'day_of_week'",)
      message = "'datetime.datetime' object has no attribute 'day_of_week'"