On 4/12/06, Matthew Bevan <[EMAIL PROTECTED]> wrote:
>
> > Running 0.9a1 my CMS works fine in 'setup.py develop' mode, allowing me to
> > create a site with a sitetemplate and start adding content.  Brilliant.
> > But after upgrading to 0.9a4 and updating the occasional moved function
> > (turbogears.jsonify to turbojson.jsonify, for example), I can no longer
> > even run tg-admin, as it bombs with the following traceback:
>
> Further investigation narrows it down to my startup code automatically
> importing the model for the CMS component libraries.  The CMS model works
> fine, with no errors while running a clean tg-admin with lines 25 to 27 of
> TG-Content/setup.py commented out - i.e. without CMS components.
>
> What is the reccomended way of including models from EGG entry points?

I didn't see anything that immediately struck me as wrong about your
use of entry points. (I did notice that it was on import of the
component model that it failed, but I didn't spot a difference in how
your component model and main models were set up that would cause
SQLObject to trigger a request for a connection.

Kevin

--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to