On Dec 6, 2006, at 8:38 PM, Jose Soares wrote:

>
> I can't understand what the following error means and how to avoid it:
>
>   File "/usr/lib/python2.4/site-packages/TurboGears-1.0b2-py2.4.egg/ 
> turbogears/controllers.py", line 53, in _process_output
>     js[script.location].add(script)
> KeyError: 'bodybottom'

You need to initialize and bind toscawidgets.mods.tg.Turbogears in  
your app's start-myapp.py to toscawidgets.framework. It will take  
care of monkey-patching TG's util.Enum to be less strict. Take a look  
at how it's done here:  http://tinyurl.com/y576ne

Alberto

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

Reply via email to