This is quite a strange Zope error - basically Zope objects to Windows line breaks (\r\n) in a Python expression but it is quite happy with Unix line breaks (\n).
We have standardized on Unix line breaks in the MailManager code and I've checked the report page templates and they seem to be okay. You can convert a file containing Windows breaks to Unix breaks with this command: tr -d '\r' <file >fixedfile On 3 Jul 2006, at 13:31, Vishal Mailinglist wrote: > Hi , > > > When checking Reports the errors I recive is as follows > > > System Config: > FC-5 > PostgreSQL 8.1.3 > Zope : (Zope 2.8.6-final, python 2.3.5, linux2) > Python : 2.3.5 (#1, Mar 26 2006, 18:21:48) [GCC 4.1.0 20060304 (Red > Hat 4.1.0-3)] > > <code> > > Site Error > An error was encountered while publishing this resource. > > Error Type: PTRuntimeError > Error Value: Page Template has errors: ['Compilation failed', > 'TAL.TALDefs.TALError: Python expression error:\ninvalid syntax > (Python expression "here.fixSubsection(section, subsection,\r > request.SESSION)", line 1) in expression \'python:here.fixSubsection > (section, subsection,\\r\\n request.SESSION)\', at line 1, column 1'] > > Troubleshooting Suggestions > > The URL may be incorrect. > The parameters passed to this resource may be incorrect. > A resource that this resource relies on may be encountering an error. > For more detailed information about the error, please refer to the > error log. > > If the error persists please contact the site maintainer. Thank you > for your patience. > > </code> > Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Mailmanager-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/mailmanager-users
