Mirto Silvio Busico, on 2009-12-28: > > Hi all, > I've encountered this error in Plone 4.0 trunk. > I'm able to login to http://dev.plone.org/plone/ but I cannot file a ticket. > > So here is the the error for which I cannot file a ticket: > >========================================================= > In load_site.py I receive this error. > It seems that a newline is not escaped. > From file: > else: > body = ("<html><head><title><dtml-var title_or_id></title> > (<===here the error?) > </head><body bgcolor="#FFFFFF">\n\n" + > body + "\n\n</body></html>") > > From log: > src/Record/_Record.c:425: warning: initialization from incompatible > pointer type > SyntaxError: ('EOL while scanning string literal', > ('build/bdist.linux-x86_64/egg/Zope2/utilities/load_site.py', 248, 70, > ' body = ("<html><head><title><dtml-var > title_or_id></title>\n')) > > SyntaxError: ('EOL while scanning string literal', > ('/My/SW/Plone/for_plone4/plone40devel/eggs/tmpdUIAud/Zope2-2.12.2-py2.6-linux-x86_64.egg/Zope2/utilities/load_site.py', > > 248, 70, ' body = ("<html><head><title><dtml-var > title_or_id></title>\n'))
That looks like an error in the Zope2 egg. When I check that file with pyflakes I get the same syntax error. I can start the instance just fine though. When do you get this error? Anyway, this is a Zope2 bug and can be reported in a different tracker: https://bugs.launchpad.net/zope2/ -- Maurits van Rees | http://maurits.vanrees.org/ Work | http://zestsoftware.nl/ "This is your day, don't let them take it away." [Barlow Girl] _______________________________________________ Product-Developers mailing list [email protected] http://lists.plone.org/mailman/listinfo/product-developers
