can you please post the template (and the master.kid)
one of the biggest problems of kid is it's errors, they are
practically meaninless :)


On 11/12/06, jeff <[EMAIL PROTECTED]> wrote:
>
> im getting a kid error template on a template that doesnt have any kid
> stuff...heres the error::
>
> Page handler: <bound method Root.index of <wheelsmall.controllers.Root
> object at 0xb751306c>>
> Traceback (most recent call last):
>   File
> "/usr/local/lib/python2.4/site-packages/CherryPy-2.2.1-py2.4.egg/cherrypy/_cphttptools.py",
> line 105, in _run
>     self.main()
>   File
> "/usr/local/lib/python2.4/site-packages/CherryPy-2.2.1-py2.4.egg/cherrypy/_cphttptools.py",
> line 254, in main
>     body = page_handler(*virtual_path, **self.params)
>   File "<string>", line 3, in index
>   File
> "/usr/local/lib/python2.4/site-packages/TurboGears-1.0b1-py2.4.egg/turbogears/controllers.py",
> line 326, in expose
>     output = database.run_with_transaction(
>   File "<string>", line 5, in run_with_transaction
>   File
> "/usr/local/lib/python2.4/site-packages/TurboGears-1.0b1-py2.4.egg/turbogears/database.py",
> line 246, in so_rwt
>     retval = func(*args, **kw)
>   File "<string>", line 5, in _expose
>   File
> "/usr/local/lib/python2.4/site-packages/TurboGears-1.0b1-py2.4.egg/turbogears/controllers.py",
> line 343, in <lambda>
>     mapping, fragment, args, kw)))
>   File
> "/usr/local/lib/python2.4/site-packages/TurboGears-1.0b1-py2.4.egg/turbogears/controllers.py",
> line 380, in _execute_func
>     return _process_output(output, template, format, content_type,
> mapping, fragment)
>   File
> "/usr/local/lib/python2.4/site-packages/TurboGears-1.0b1-py2.4.egg/turbogears/controllers.py",
> line 74, in _process_output
>     fragment=fragment)
>   File
> "/usr/local/lib/python2.4/site-packages/TurboGears-1.0b1-py2.4.egg/turbogears/view/base.py",
> line 131, in render
>     return engine.render(**kw)
>   File
> "/usr/local/lib/python2.4/site-packages/TurboKid-0.9.8-py2.4.egg/turbokid/kidsupport.py",
> line 140, in render
>     tclass = self.load_template(template)
>   File
> "/usr/local/lib/python2.4/site-packages/TurboKid-0.9.8-py2.4.egg/turbokid/kidsupport.py",
> line 110, in load_template
>     mod = _compile_template(package, basename, tfile, classname)
>   File
> "/usr/local/lib/python2.4/site-packages/TurboKid-0.9.8-py2.4.egg/turbokid/kidsupport.py",
> line 14, in _compile_template
>     mod = kid.load_template(tfile, name=classname)
>   File
> "/usr/local/lib/python2.4/site-packages/kid-0.9.3-py2.4.egg/kid/__init__.py",
> line 123, in load_template
>     code = template.compile(dump_code=cache,
> dump_source=os.environ.get('KID_OUTPUT_PY'))
>   File
> "/usr/local/lib/python2.4/site-packages/kid-0.9.3-py2.4.egg/kid/compiler.py",
> line 87, in compile
>     code = self.code
>   File
> "/usr/local/lib/python2.4/site-packages/kid-0.9.3-py2.4.egg/kid/compiler.py",
> line 101, in code
>     self._code = py_compile(self.python, pyfile, 'exec')
>   File
> "/usr/local/lib/python2.4/site-packages/kid-0.9.3-py2.4.egg/kid/compiler.py",
> line 108, in python
>     py = kid.parser.parse_file(self.kid_file, self.encoding)
>   File
> "/usr/local/lib/python2.4/site-packages/kid-0.9.3-py2.4.egg/kid/parser.py",
> line 58, in parse_file
>     return parse(source, encoding, filename=filename)
>   File
> "/usr/local/lib/python2.4/site-packages/kid-0.9.3-py2.4.egg/kid/parser.py",
> line 46, in parse
>     return parser.parse()
>   File
> "/usr/local/lib/python2.4/site-packages/kid-0.9.3-py2.4.egg/kid/parser.py",
> line 76, in parse
>     self.proc_stream(self.module_code)
>   File
> "/usr/local/lib/python2.4/site-packages/kid-0.9.3-py2.4.egg/kid/parser.py",
> line 133, in proc_stream
>     for (ev, item) in self.stream:
>   File
> "/usr/local/lib/python2.4/site-packages/kid-0.9.3-py2.4.egg/kid/pull.py",
> line 168, in _track
>     for p in stream:
>   File
> "/usr/local/lib/python2.4/site-packages/kid-0.9.3-py2.4.egg/kid/pull.py",
> line 210, in _coalesce
>     for ev, item in stream:
>   File
> "/usr/local/lib/python2.4/site-packages/kid-0.9.3-py2.4.egg/kid/pull.py",
> line 374, in __iter__
>     for (ev, stuff) in self._expat_stream():
>   File
> "/usr/local/lib/python2.4/site-packages/kid-0.9.3-py2.4.egg/kid/pull.py",
> line 346, in _expat_stream
>     feed(data)
>   File
> "/usr/local/lib/python2.4/site-packages/kid-0.9.3-py2.4.egg/kid/pull.py",
> line 414, in feed
>     raise e
> ExpatError: mismatched tag: line 16, column 2
>
> ill post my contoller.py too if you want
>
>
> >
>

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