Re: [Modeling-users] bug 841315: multiplicity constraints, [1,1]
Status: Abandoned
Brought to you by:
sbigaret
From: Mario R. <ma...@ru...> - 2003-11-13 10:26:24
|
> And, if I try to run my test code, on the first import line for the > entity (A), > I get a strange error: > > ImportError: No module named pympack.A > Exception exceptions.TypeError: "'NoneType' object is not callable" in > <bound method EditingContext.__del__ of > <Modeling.EditingContext.EditingContext instance at 0x1c9b70>> ignored My mistake on this one... for some reason my script to regenerate the db and code stops after the validation phase (becuase of the warnings I guess). As I had cleaned up the package before doing it, there is therefore physically no module on disk... so, for sure it fails ;) If I regenerate the py package and run my code, when such a required relationship is not set, saveChanges fails correctly. mario |