Hi guys,
I'm trying to use jit interface to TG. The installation phase is ok
(using pip) and the initial load of the module works:
> paster shell development.ini
>>> import tw2.jit
>>> from tw2.jit.samples.chart import (DemoAreaChart, DemoBarChart,
>>> DemoPieChart)
Traceback (most recent call last):
File "<console>", line 1, in <module>
File "/usr/local/TG/tg2env/lib/python2.6/site-packages/tw2/jit/
samples/__init__.py", line 2, in <module>
from tw2.jit.samples.chart import (DemoAreaChart, DemoBarChart,
DemoPieChart)
File "/usr/local/TG/tg2env/lib/python2.6/site-packages/tw2/jit/
samples/chart.py", line 43, in <module>
twc.core.request_local()
['middleware'].controllers.register(DemoAreaChart,
KeyError: 'middleware'
>>> import tw2.core as twc
>>> twc.core.request_local()
{}
as you can see I cannot import the DemoAreaChart and so on, the
reason seems to be the fact that twc.core.request_local() is empty.
any suggestion ?
Thanks !
--
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.