John Speno
unread,Jul 5, 2005, 3:49:19 PM7/5/05Sign in to reply to author
Sign in to forward
You do not have permission to delete messages in this group
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to subway...@googlegroups.com
I'm trying the latest noteboard example and getting this exception:
Traceback (most recent call last):
File "/usr/local/lib/python2.4/site-packages/cherrypy/
_cphttptools.py", line 167, in run
main()
File "/usr/local/lib/python2.4/site-packages/cherrypy/
_cphttptools.py", line 327, in main
body = func(*(virtualPathList + cherrypy.request.paramList),
File "/home/speno/src/noteboard/controller/root.py", line 6, in index
return view.index(notes=model.Note.select())
File "/usr/local/lib/python2.4/site-packages/subway/view.py", line
92, in __call__
content = unicode(self.template_class(searchList=sl))
File "/usr/local/lib/python2.4/site-packages/subway/view.py", line
144, in _get_template_class
return get_cheetah_template(self.filename)
File "/usr/local/lib/python2.4/site-packages/subway/view.py", line
61, in get_cheetah_template
a = imp.load_module(tname, fp, pathname, description)
File "/home/speno/src/noteboard/view/root/index_tmpl.py", line 31,
in ?
from site import site
ImportError: cannot import name site
I start subway using python scripts/start.py and it starts up
normally. Any ideas on what
the error is?
Thanks!