Message698
Do the following:
create a classic tracker.
Add:
timelog = Class(db, "timelog", period=Interval())
to dbinit.py, initalise the tracker and log in as admin.
go to the class list and edit the timelog class.
add:
X,+ 1:10
to the window and try to save changes. You should
get the attached file whose summary is:
TypeError: new property "period" not an Interval 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__ = 'Inappropriate argument type.'
__getitem__ = <bound method
TypeError.__getitem__ of <exceptions.TypeError
instance>>
__init__ = <bound method TypeError.__init__ of
<exceptions.TypeError instance>>
__module__ = 'exceptions'
__str__ = <bound method TypeError.__str__ of
<exceptions.TypeError instance>>
args = ('new property "period" not an Interval',)
This is with cygwin python 2.2.2. I first discovered
this while trying to correct a null interval in the timelog
list. I went to edit it and got the same general crash.
-- rouilj
|
|
Date |
User |
Action |
Args |
2009-02-03 14:20:17 | admin | link | issue699837 messages |
2009-02-03 14:20:17 | admin | create | |
|