Yasir Khan schrieb:
> Hi,
> 
> i developed a successful application using AJAX with turbogears 1.0.x and
> cherrypy2.3. Then i upgraded cherrypy to version 3.1. I had to upgrade
> turbogears to branch 1.5. But then i reverted turbogears back to version
> 1.0.x. Now my application gives the error "loadJSONDoc is not defined"
> (firebug). My tg-admin info is:

This is a JavaScript error. "loadJSONDoc" is provided by the MochiKit
library. If you are using widgets, this should be included automatically
when needed in your page. If you have custom JavaScript code that relies
on MochikIt, you need to set

tg.inlucde_widgets = ['turbogears.mochikit']

in your "app.cfg".

> /var/lib/python-support/python2.5/kid/pull.py:16: DeprecationWarning:
> kid.pull has been superseded by kid.parser
>   warnings.warn("kid.pull has been superseded by kid.parser",

You are using an incompatible version of kid from a debian/ubuntu?
distribution package.

I suggest you start from the beginning try the non-root installation
method with virtualenv:

http://docs.turbogears.org/1.0/InstallNonRoot

Chris

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