Ernesto Revilla
2004-06-25 13:12:01 UTC
Dear Sébastien,
going through dynamic, I'm really impressed. (I can learn a lot of stuff
File "<interactive input>", line 1, in ?
File "C:\prg\python23\Lib\site-packages\Modeling\dynamic.py", line
153, in build
module_name=model.packageName()
TypeError: 'str' object is not callable
May be this is not a bug? The: m=Model("TheModel") should create an
empty model.
With regards,
Erny
going through dynamic, I'm really impressed. (I can learn a lot of stuff
from Modeling.PyModel import Model, Entity, AString
from Modeling import dynamic
m=Model("TheModel")
e=Entity("Person",properties=[AString("name")]
m.entities.append(e)
dynamic.build(m)
Traceback (most recent call last):from Modeling import dynamic
m=Model("TheModel")
e=Entity("Person",properties=[AString("name")]
m.entities.append(e)
dynamic.build(m)
File "<interactive input>", line 1, in ?
File "C:\prg\python23\Lib\site-packages\Modeling\dynamic.py", line
153, in build
module_name=model.packageName()
TypeError: 'str' object is not callable
May be this is not a bug? The: m=Model("TheModel") should create an
empty model.
With regards,
Erny