[zope2-tracker] [Bug 501265] [NEW] PLone 4.0 trunk - load_site.py: error in literal at line 248

Mirto Silvio Busico m.busico at ieee.org
Tue Dec 29 05:17:38 EST 2009


Public bug reported:

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'))                                                   

Source taken from:
https://svn.plone.org/svn/plone/buildouts/plone-coredev/branches/4.0/
at revision: 32719

** Affects: zope2
     Importance: Undecided
         Status: New

-- 
PLone 4.0 trunk - load_site.py: error in literal at line 248
https://bugs.launchpad.net/bugs/501265
You received this bug notification because you are a member of Zope 2
Developers, which is subscribed to Zope 2.


More information about the zope2-tracker mailing list