[Zope] ZPyIRC and Zope 2.7

J Cameron Cooper zope-l at jcameroncooper.com
Thu Jul 21 18:00:09 EDT 2005


David wrote:
> Hi
> 
> I installed ZPyIRC version 0.1.3 in Zope 2.7.5 and I get Zope  Template 
> Errors on two of the frames when trying to start a chat  client. I don't 
> know ZTP very well. (Python is 2.3.5)
> 
> I was hoping that maybe somebody has fixed the templates for 2.7.
> 
> Any help very welcome!
> 
> DR
> 
> Here a traceback from cwindowlist:
> 
> Traceback (innermost last):
> 
> Module ZPublisher.Publish, line 101, in publish
> Module ZPublisher.mapply, line 88, in mapply
> Module ZPublisher.Publish, line 39, in call_object
> Module Shared.DC.Scripts.Bindings, line 306, in __call__
> Module Shared.DC.Scripts.Bindings, line 343, in _bindAndExec
> Module Products.PageTemplates.PageTemplateFile, line 106, in _exec
> Module Products.PageTemplates.PageTemplate, line 88, in pt_render
> <PageTemplateFile at /site/chat/stratis/ 
> 4d9d10fad2a83777ee81bbbae6be3f44/cwindowlist>
> Warning: Compilation failed
> Warning: TAL.HTMLTALParser.NestingError: Open tags <html>, <head>,  
> <script> do not match close tag </div>, at line 262, column 50
> PTRuntimeError: Page Template has errors.
> 
> Here a traceback from cuserlist:
> 
> Traceback (innermost last):
> 
> Module ZPublisher.Publish, line 101, in publish
> Module ZPublisher.mapply, line 88, in mapply
> Module ZPublisher.Publish, line 39, in call_object
> Module Shared.DC.Scripts.Bindings, line 306, in __call__
> Module Shared.DC.Scripts.Bindings, line 343, in _bindAndExec
> Module Products.PageTemplates.PageTemplateFile, line 106, in _exec
> Module Products.PageTemplates.PageTemplate, line 88, in pt_render
> <PageTemplateFile at /site/chat/stratis/ 
> 4d9d10fad2a83777ee81bbbae6be3f44/cuserlist>
> Warning: Compilation failed
> Warning: TAL.HTMLTALParser.NestingError: Open tags <html>, <head>,  
> <script> do not match close tag </td>, at line 32, column 79
> PTRuntimeError: Page Template has errors.

The HTML is imbalanced. HTMLTidy may help you, or maybe an editor, but 
you can always count the tags by hand.

		--jcc



More information about the Zope mailing list