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'",)
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
1174 # doing anything
1175 current = node.get(propname, None)
1176 if value == current:
|
value = '+ 3:55', current = <Interval + 3:55>
1177 del propvalues[propname]
1178 continue
1257 if exists:
1258 # edit existing
cl = <hyperdb.Class "timelog">, global set = undefined, nodeid = '10', d = {'period': '+ 3:55'}
1260 else:
1261 # new node
534 raise ValueError, 'No such action "%s"'%action
535 # call the mapped action
536 getattr(self, method)()
|
global getattr = undefined, self = <_roundup_tracker_1.interfaces.Client instance>, method = 'editCSVAction'
537 except Redirect:
538 raise
264 except:
265 # everything else
266 self.write(cgitb.html())
|
self = <_roundup_tracker_1.interfaces.Client instance>, global write = undefined, global cgitb = <module 'roundup.cgi.cgitb' from '/usr/lib/python2.2/site-packages/roundup/cgi/cgitb.py'>, global html = undefined
267
268 def clean_sessions(self):