My project has grown to the size where I need a separate directory for
my controllers.  So, I have a "controllers" directory, which contains
base.py which has the includes for all of my other controllers, in
addition to what comes with TG as the generic "controllers.py"

Now, one of my modules is an admin module, and it needs references to
the User and Group objects in the model.py file.  However, when I
include such objects in my project, I get an error as follows:

  File "build\bdist.win32\egg\sqlalchemy\schema.py", line 128, in
__call__
sqlalchemy.exceptions.ArgumentError: Table 'visit' is already defined
for this M
etaData instance.

This does not occur on any of my non-Activemapper objects, which I have
declared all OVER the place.

So, unless someone has a better way to fix this problem, I propose the
solution is to re-write all of the identity classes without
activemapper, hence aleviating my problem.

Any thoughts?
-chris
www.percious.com


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"TurboGears" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/turbogears?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to