Okay, that got it working... sort of. Most of the page seems to be
rendered okay but there are large bits of raw html showing also.

http://img49.imageshack.us/img49/7075/tgsamplebug3rs.png

I suspect the problem is somewhere with kid or the template (I have
kid-0.9.3-py2.4.egg). I have another tg app on the same computer that
works, but I'm using Genshi for that one. I actually want to use Genshi
for this project also. What I'll probaly try to do is convert your
tgsample app to use Genshi...

Steve

On Jan 25, 6:16 am, Alberto Valverde <[EMAIL PROTECTED]> wrote:
> 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 -fhttp://toscawidgets.org/download-U tgsample
> 
> Alberto- Hide quoted text -- Show quoted text -


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

Reply via email to