[Product-Developers] Re: PLone 4.0 trunk - load_site.py: error in literal at line 248

Mirto Silvio Busico mirtosilvio.busico at fastwebnet.it
Tue Dec 29 10:14:24 UTC 2009


Maurits van Rees ha scritto:
> 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/
>
>   
Thanks.

I got this during the fisrt "bin/develop rb"
I don't know if it has side effects because the develop started 
complaining that it cannot install PIL==1.1.6 that is already installed 
in the system

Mirto





-------------- next part --------------
A non-text attachment was scrubbed...
Name: mirtosilvio_busico.vcf
Type: text/x-vcard
Size: 272 bytes
Desc: not available
URL: <http://lists.plone.org/pipermail/plone-product-developers/attachments/20091229/ce690a88/attachment.vcf>


More information about the Product-Developers mailing list