On Jan 25, 2007, at 4:39 AM, shday wrote:
> > Hi, > > I managed to get my boss to allow me to build a very small app (just a > single form to update a database) using TG. Anyhow, I figured I'd use > ToscaWidgets, but I can't even get the sample app to work. > http://svn.turbogears.org/projects/ToscaWidgets/trunk/examples/ > tgsample/ > > Traceback (most recent call last): > File "start-tgsample.py", line 26, in ? > from tgsample.controllers import Root > File "C:\Documents and > Settings\Daystev\Desktop\tgsample\tgsample\controllers. > py", line 12, in ? > from tw_samples import AddUserForm > File "C:\Documents and > Settings\Daystev\Desktop\tgsample\tgsample\tw_samples\_ > _init__.py", line 2, in ? > from js_forms import AddUserForm > File "C:\Documents and > Settings\Daystev\Desktop\tgsample\tgsample\tw_samples\j > s_forms.py", line 7, in ? > from toscawidgets.widgets.mochikit import mochikit, connect > ImportError: No module named mochikit > > > I'm using r2453 of ToscaWidgets. Is this sample app badly broken, > or is > there an easy fix here?... I couldn't figure it out. MochiKit lives in a separate egg, twMochiKit. You can either install that manually by: easy_install twMochiKit or upgrade tgsample which I just fixed to correct the dependencies so it automatically pulls everything it needs: easy_install -f http://toscawidgets.org/download -U tgsample Alberto --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "TurboGears Trunk" 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-trunk?hl=en -~----------~----~----~----~------~----~------~--~---
