Diez B. Roggisch schrieb: > Hi, > > with latest versions of TG2, tgdev & tg.ext.repozewho I get this: > > (TG2)192:GroupLearn deets$ python > Python 2.5.1 (r251:54869, Apr 18 2007, 22:08:04) > [GCC 4.0.1 (Apple Computer, Inc. build 5367)] on darwin > Type "help", "copyright", "credits" or "license" for more information. > >>> import tg > /Users/deets/.virtualenvs/TG2/lib/python2.5/site-packages/Paste-1.7.1-py2.5.egg/paste/__init__.py:4: > > UserWarning: Module tg was already imported from > /Users/deets/projects/privat/TurboGears/Versions/TG2/tg2/tg/__init__.pyc, > but > /Users/deets/projects/privat/TurboGears/Versions/TG2/tg.ext.repoze.who > is being added to sys.path > import pkg_resources > >>> import tg.ext > Traceback (most recent call last): > File "<stdin>", line 1, in <module> > ImportError: No module named ext > >>> > > A fresh quickstarted app fails because of that. > > I dimly remember a discussion about tg.ext not being a good namespace, > and that there should be something done about that. What was the outcome > of that discussion?
Ok, I found the problem: the tg.ext.repoze.who must come before the tg2 in the easy-install.pth. Diez --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---

