When I try to specify
tg.include_widgets = ["turgogears.mochikit"]  in config file I get
errors but no errors when I use a <script> to specify MochiKit.js.

Here is the error for tg.include_widgets = ["turgogears.mochikit"]  in
config file...

Traceback (most recent call last):
  File "/usr/lib/python2.5/site-packages/CherryPy-2.2.1-py2.5.egg/
cherrypy/_cpht tptools.py", line 105, in _run
    self.main()
  File "/usr/lib/python2.5/site-packages/CherryPy-2.2.1-py2.5.egg/
cherrypy/_cpht tptools.py", line 254, in main
    body = page_handler(*virtual_path, **self.params)
  File "<string>", line 3, in login
  File "/usr/local/lib/python2.5/site-packages/TurboGears-1.0.3.2-
py2.5.egg/turb ogears/controllers.py", line 344, in expose
    *args, **kw)
  File "<string>", line 5, in run_with_transaction
  File "/usr/local/lib/python2.5/site-packages/TurboGears-1.0.3.2-
py2.5.egg/turb ogears/database.py", line 312, in so_rwt
    retval = func(*args, **kw)
  File "<string>", line 5, in _expose
  File "/usr/local/lib/python2.5/site-packages/TurboGears-1.0.3.2-
py2.5.egg/turb ogears/controllers.py", line 359, in <lambda>
    mapping, fragment, args, kw)))
  File "/usr/local/lib/python2.5/site-packages/TurboGears-1.0.3.2-
py2.5.egg/turb ogears/controllers.py", line 399, in _execute_func
    return _process_output(output, template, format, content_type,
mapping, frag ment)
  File "/usr/local/lib/python2.5/site-packages/TurboGears-1.0.3.2-
py2.5.egg/turb ogears/controllers.py", line 55, in _process_output
    for script in widget.retrieve_javascript():
AttributeError: 'NoneType' object has no attribute
'retrieve_javascript'

cs

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