I was following the tutorial here:
http://docs.turbogears.org/2.0/RoughDocs/ToscaWidgets/Cookbook/FlexiGrid

and when I got to the "fetch" method, TG2 appears not to be serving up
json pages properly.

Here is the dump of my system:
TurboGears2 Complete Version Information

TurboGears2 requires:

* simplejson 1.8.1
* PasteDeploy 1.3.1
* Pylons 0.9.7beta3dev-20080411
* DBSprockets 0.2rc2-r352
* PasteScript 1.6.2
* Beaker 0.9.3
* nose 0.10.1
* WebOb 0.9
* Tempita 0.1
* DecoratorTools 1.7
* sqlalchemy-migrate 0.4.5.dev-r423
* WebError 0.8a
* PyProtocols 1.0a0dev-r2302
* TurboGears2 2.0a1dev-r4353
* Babel 0.9.2
* Mako 0.1.10
* FormEncode 1.0.1
* decorator 2.2.0
* tw.forms 0.2dev-r74
* Genshi 0.4.4
* Paste 1.6
* Routes 1.8
* WebHelpers 0.6dev-20080410
* SQLAlchemy 0.4.6dev-r4479
* ToscaWidgets 0.2rc3dev-r3795
* wsgiref 0.1.2
* RuleDispatch 0.5a0.dev-r2306

TurboGears2 Commands

* serve (TurboGears2 2.0a1dev-r4353)
* shell (TurboGears2 2.0a1dev-r4353)
* crud (TurboGears2 2.0a1dev-r4353)
* tginfo (TurboGears2 2.0a1dev-r4353)
* quickstart (TurboGears2 2.0a1dev-r4353)

Widget Packages

* widgets (DBSprockets 0.2rc2-r352)
* widgets (tw.forms 0.2dev-r74)
* samples (tw.forms 0.2dev-r74)
* widgets (ToscaWidgets 0.2rc3dev-r3795)
* resources (ToscaWidgets 0.2rc3dev-r3795)
* widgets (tw.jquery 0.1a0dev-r121)
* samples (tw.jquery 0.1a0dev-r121)

TurboGears2 Templates

* turbogears2 (TurboGears2 2.0a1dev-r4353)

Toolbox2 Gadgets


Template Engines

* pylonsmyghty (Pylons 0.9.7beta3dev-20080411)
* mako (Mako 0.1.10)
* toscawidgets (ToscaWidgets 0.2rc3dev-r3795)
* genshi-markup (Genshi 0.4.4)
* genshi-text (Genshi 0.4.4)
* genshi (Genshi 0.4.4)

and here is the error message:

URL: http://localhost:8080/fetch
File '/Users/cperkins1/nrel/lib/python2.5/site-packages/WebError-0.8a-
py2.5.egg/weberror/evalexception/middleware.py', line 364 in respond
  app_iter = self.application(environ, detect_start_response)
File '/Users/cperkins1/nrel/lib/python2.5/site-packages/
ToscaWidgets-0.2rc3dev_r3795-py2.5.egg/toscawidgets/middleware.py',
line 40 in __call__
  return self.wsgi_app(environ, start_response)
File '/Users/cperkins1/nrel/lib/python2.5/site-packages/Paste-1.6-
py2.5.egg/paste/registry.py', line 334 in __call__
  app_iter = self.application(environ, start_response)
File '/Users/cperkins1/nrel/lib/python2.5/site-packages/
ToscaWidgets-0.2rc3dev_r3795-py2.5.egg/toscawidgets/middleware.py',
line 55 in wsgi_app
  app_iter = self.application(environ, start_response)
File '/Users/cperkins1/nrel/lib/python2.5/site-packages/Beaker-0.9.3-
py2.5.egg/beaker/middleware.py', line 74 in __call__
  return self.app(environ, start_response)
File '/Users/cperkins1/nrel/lib/python2.5/site-packages/Beaker-0.9.3-
py2.5.egg/beaker/middleware.py', line 145 in __call__
  return self.wrap_app(environ, session_start_response)
File '/Users/cperkins1/nrel/lib/python2.5/site-packages/Routes-1.8-
py2.5.egg/routes/middleware.py', line 99 in __call__
  response = self.app(environ, start_response)
File '/Users/cperkins1/nrel/src/pylons/pylons/wsgiapp.py', line 95 in
__call__
  response = self.dispatch(controller, environ, start_response)
File '/Users/cperkins1/nrel/src/pylons/pylons/wsgiapp.py', line 260 in
dispatch
  return controller(environ, start_response)
File '/Users/cperkins1/nrel/src/openmat/branches/wander/wander/lib/
base.py', line 39 in __call__
  return TGController.__call__(self, environ, start_response)
File '/Users/cperkins1/nrel/src/pylons/pylons/controllers/core.py',
line 171 in __call__
  response = self._dispatch_call()
File '/Users/cperkins1/nrel/src/pylons/pylons/controllers/core.py',
line 127 in _dispatch_call
  response = self._inspect_call(func)
File '/Users/cperkins1/nrel/src/pylons/pylons/controllers/core.py',
line 82 in _inspect_call
  result = self._perform_call(func, args)
File '/Users/cperkins1/nrel/src/tg2/tg/controllers.py', line 311 in
_perform_call
  self, controller, params, remainder=remainder)
File '/Users/cperkins1/nrel/src/tg2/tg/controllers.py', line 194 in
_perform_call
  response = self._render_response(controller, output)
File '/Users/cperkins1/nrel/src/tg2/tg/controllers.py', line 115 in
_render_response
  pylons.buffet.prepare(engine_name, **template_options)
File '/Users/cperkins1/nrel/src/pylons/pylons/templating.py', line 357
in prepare
  '"%s" to use its functionality' % engine_name)
TemplateEngineMissing: Please install a plugin for "json" to use its
functionality

cheers.
-chris
--~--~---------~--~----~------------~-------~--~----~
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