Alberto schrieb:
I could reproduce your results, however, I'm afraid that the drastic decrease in imports that you're getting from the workingenv is because TG didn't get installed properly (maybe a bug in WE?).
> [...] > ImportError: No module named cherrypy
Duh, how silly of me, I thought I checked the import before I redirected stderr, but obviously I didn't. I had a missing module too, thatswhy Python exited much earlier. Funnily enough, the missing module was SQLObject, not CherryPy.
After manually (why?) installing all required packages so the import succeeds I get:
I get 549 (454 unique) imports in WE now, after I installed all missing eggs ;-)
The long import time is probably because all TG widgets are exported to the turbogears.widgets namespace so any imported symbol from the widget api causes all widgets to load *and* pre-compile their templates. It could easily be fixed by tweaking the widget metaclass so it compiles those templates lazily. It was discussed a while back in the trunk ML but no one got up to do it.... would you mind filing a ticket for that?
Yeah, I'll try to do that tomorrow, maybe I'll test it on two other machines as well before that.
Chris --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---

