do you have xmlns:py="http://purl.org/kid/ns#"; in your html tag in the template?

On 11/27/05, sergio <[EMAIL PROTECTED]> wrote:
>
> i have been working on the wiki demo this afternoon, and am up to page 3,
> but i have run into a snag... after adding the new page to the database, i
> am getting a page full of errors with this at the end..
>
>   File
> "/usr/lib/python2.4/site-packages/kid-0.7adev_r186-py2.4.egg/kid/pull.py",
> line 361, in feed
>     raise e
> ExpatError: unbound prefix: line 2, column 9
>
> i have double and triple checked everything i have done so far, and i have
> just cut and pasted everything in, and i don't see anything where i made an
> obvious error..
>
> any help is appreciated..
>
> the entire screen dump says:
>
> 500 Internal error
>
> Server got itself in trouble
>
> Traceback (most recent call last):
>   File
> "/usr/lib/python2.4/site-packages/CherryPy-2.1.0-py2.4.egg/cherrypy/_cphttptools.py",
> line 271, in run
>     main()
>   File
> "/usr/lib/python2.4/site-packages/CherryPy-2.1.0-py2.4.egg/cherrypy/_cphttptools.py",
> line 502, in main
>     body = page_handler(*args, **cherrypy.request.paramMap)
>   File
> "/usr/lib/python2.4/site-packages/TurboGears-0.8a4-py2.4.egg/turbogears/controllers.py",
> line 122, in newfunc
>     return controllers._process_output(tg_format, output,
> html)
>   File
> "/usr/lib/python2.4/site-packages/TurboGears-0.8a4-py2.4.egg/turbogears/controllers.py",
> line 38, in _process_output
>     output = view.render(output, tg_format, template=template)
>   File
> "/usr/lib/python2.4/site-packages/TurboGears-0.8a4-py2.4.egg/turbogears/view.py",
> line 93, in render
>     tclass = lookupTemplate(template)
>   File
> "/usr/lib/python2.4/site-packages/TurboGears-0.8a4-py2.4.egg/turbogears/view.py",
> line 69, in lookupTemplate
>     mod = kid.load_template(tfile, name=classname)
>   File
> "/usr/lib/python2.4/site-packages/kid-0.7adev_r186-py2.4.egg/kid/__init__.py",
> line 118, in load_template
>     code = template.compile(dump_code=cache)
>   File
> "/usr/lib/python2.4/site-packages/kid-0.7adev_r186-py2.4.egg/kid/compiler.py",
> line 87, in compile
>     code = self.code
>   File
> "/usr/lib/python2.4/site-packages/kid-0.7adev_r186-py2.4.egg/kid/compiler.py",
> line 101, in code
>     self._code = py_compile(self.python, pyfile, 'exec')
>   File
> "/usr/lib/python2.4/site-packages/kid-0.7adev_r186-py2.4.egg/kid/compiler.py",
> line 108, in python
>     py = kid.parser.parse_file(self.kid_file, self.encoding)
>   File
> "/usr/lib/python2.4/site-packages/kid-0.7adev_r186-py2.4.egg/kid/parser.py",
> line 55, in parse_file
>     return parse(source, encoding, filename=filename)
>   File
> "/usr/lib/python2.4/site-packages/kid-0.7adev_r186-py2.4.egg/kid/parser.py",
> line 44, in parse
>     return parser.parse()
>   File
> "/usr/lib/python2.4/site-packages/kid-0.7adev_r186-py2.4.egg/kid/parser.py",
> line 71, in parse
>     self.proc_stream(self.module_code)
>   File
> "/usr/lib/python2.4/site-packages/kid-0.7adev_r186-py2.4.egg/kid/parser.py",
> line 126, in proc_stream
>     for (ev, item) in self.stream:
>   File
> "/usr/lib/python2.4/site-packages/kid-0.7adev_r186-py2.4.egg/kid/pull.py",
> line 152, in _track
>     for p in stream:
>   File
> "/usr/lib/python2.4/site-packages/kid-0.7adev_r186-py2.4.egg/kid/pull.py",
> line 179, in _coalesce
>     for ev, item in stream:
>   File
> "/usr/lib/python2.4/site-packages/kid-0.7adev_r186-py2.4.egg/kid/pull.py",
> line 321, in __iter__
>     for (ev, stuff) in self._expat_stream():
>   File
> "/usr/lib/python2.4/site-packages/kid-0.7adev_r186-py2.4.egg/kid/pull.py",
> line 293, in _expat_stream
>     feed(data)
>   File
> "/usr/lib/python2.4/site-packages/kid-0.7adev_r186-py2.4.egg/kid/pull.py",
> line 361, in feed
>     raise e
> ExpatError: unbound prefix: line 2, column 9
>
>
>
>
>
> ___
>
> peace,
>
> sergio
>
> photographer, journalist, visionary
>
> www.coffee-black.com
>
>


--
cheers
    elvelind grandin

Reply via email to