Good morning,

i see 2 problems

1/ With the svn version, you need to install CPSMailAccess with
GenericSetup, instead of an external
   method: by going into the zmi, in porta_setup, and importing
CPSMailAccess profile. (see changes in doc)


2/ in your log, I can see lines in pages templates that are ending with
"\r\n" instead of
"\n". The template engine brakes on that.

This is a typical problem under windows, if you don't specifically
configure the way svn
gets the file IIRC

You need to clean up all page templates file (pt or zpt extensions). I
am not sure but i think
editors like ultraedit does it. Otherwise, maybe windows has a shell
utility like we have (dos2unix)

This does not happens with released packages.

Regards

Tarek


[EMAIL PROTECTED] wrote:

>>Tarek Ziadé wrote:
>>
>>    
>>
>>>Nadine Wickord wrote:
>>>
>>>
>>>
>>>      
>>>
>>>>   img = self.image
>>>>AttributeError: image
>>>>
>>>>
>>>>
>>>>        
>>>>
>>>looks like a problem with the layout, did you customized the look with
>>>CPSSkins ?
>>>
>>>
>>>Tarek
>>>
>>>      
>>>
>
>Good morning again,
>
>yes, I played around with the themes, but that doesn't seem to be the
>problem. With the default theme I get the same error and the output on the
>console is the following:
>
>[EMAIL PROTECTED]:~/zope29> bin/runzope
>/usr/local/Zope-2.9.0/lib/python/App/ImageFile.py:21: DeprecationWarning:
>Using OFS.content_types is deprecated (will be removed in Zope 2.11).
>Instead use zope.app.contenttypes.
>  from OFS.content_types import guess_content_type
>2006-03-15 07:33:25 INFO ZServer HTTP server started at Wed Mar 15
>07:33:25 2006
>        Hostname: 0.0.0.0
>        Port: 8080
>2006-03-15 07:33:26 INFO CPSSchemas No PIL library found so no image
>resizing will be done
>2006-03-15 07:33:26 INFO Epoz is not installed EpozPatch can't be applied
>2006-03-15 07:33:27 INFO LDAPDirectory Disabled (no LDAP user folder
>product found).
>2006-03-15 07:33:27 INFO LDAPDirectoryVocabulary Disabled (no LDAP user
>folder product found).
>2006-03-15 07:33:28 INFO CPSRelation.GraphDrawer pydot could not be found
>2006-03-15 07:33:28 INFO CPSRelation rdflib is not installed (or no
>compatible version): no RDF feature will be available
>2006-03-15 07:33:28 INFO CPSRelation Redland is not installed, no RDF
>feature will be available
>/home/nadine/zope29/Products/CMFQuickInstallerTool/__init__.py:34:
>DeprecationWarning: The product_name parameter of ToolInit is deprecated
>and will be ignored in CMF 2.0: QuickInstallerTool
>  icon='tool.gif'
>/home/nadine/zope29/Products/CPSCompat/PatchOFSApplication.py:119:
>DeprecationWarning: __init__.py of Products.ExternalEditor has a long
>deprecated 'methods' attribute. 'methods' will be ignored by
>install_product in Zope 2.10. Please use registerClass instead.
>  DeprecationWarning)
>/usr/local/Zope-2.9.0/lib/python/zope/configuration/fields.py:417:
>UserWarning: You did not specify an i18n translation domain for the
>'title' field in /home/nadine/zope29/Products/CMFonFive/configure.zcml
>  warnings.warn(
>2006-03-15 07:33:29 INFO CPSDirectory.browser python-ldap is not
>installed, no LDAP support will be available
>2006-03-15 07:33:31 INFO Zope Ready to handle requests
>/home/nadine/zope29/Products/CMFCore/ActionsTool.py:197:
>DeprecationWarning: ActionProvider interface not up to date. In CMF 2.0
>portal_actions will ignore listActions() of 'portal_themes'.
>  DeprecationWarning)
>2006-03-15 07:33:43 ERROR PageTemplateFile Error in template
>Compilation failed
>TAL.TALDefs.TALError: Python expression error:
>exceptions.SyntaxError: invalid syntax (line 2) in expression
>'python:keep_last_sort and\r\n                            
>view.renderMailList(keep_last_sort=1) or\r\n                            
>view.renderMailList(int(page), int(nb_items),\r\n                         
>                       sort_with, int(sort_asc),\r\n                      
>                          keep_last_sort)', at line 174, column 5
>
>
>Is there anything I need to install or dor other than that listed in the
>INSTALL.txt?
>
>Thanks,
>Nadine
>  
>

_______________________________________________
cps-users mailing list
[email protected]
http://lists.nuxeo.com/mailman/listinfo/cps-users

Reply via email to