Roundup Tracker - Issues

Message699

Author rouilj
Recipients
Date 2003-03-30.06:35:24
Message-id
In-reply-to
Logged In: YES 
user_id=707416

The cvs from 23 Mar 2003 seems to have changed this
bug. I now get a 
crash that looks like:

AttributeError: 'str' object has no attribute 
'sign' Python 2.2.2
/usr/bin/python2.2 

A problem occurred 
while running a Python script. Here is the sequence of function calls 
leading up to the error, with the most recent (innermost) call first. The 
exception attributes are:
      __doc__ = 'Attribute not found.' 
      
__getitem__ = <bound method AttributeError.__getitem__ of 
<exceptions.AttributeError instance>> 
      __init__ = <bound method 
AttributeError.__init__ of <exceptions.AttributeError instance>> 
      
__module__ = 'exceptions' 
      __str__ = <bound method 
AttributeError.__str__ of <exceptions.AttributeError instance>> 
      
args = ("'str' object has no attribute 
'sign'",)

/usr/lib/python2.2/site-packages/roundup/date.py in 
__cmp__(self=<Interval + 3:55>, other='+ 3:55') 
  425             return 1
  
426         for attr in 'sign year month day hour minute second'.split():
  427             r = 
cmp(getattr(self, attr), getattr(other, attr))
 
      r = undefined, global 
cmp = undefined, global getattr = undefined, self = <Interval + 3:55>, attr 
= 'sign', other = '+ 3:55'
  428             if r:
  429                 return r

The full html is 
attached.
History
Date User Action Args
2009-02-03 14:20:17adminlinkissue699837 messages
2009-02-03 14:20:17admincreate