Re: [Zope] Can't Track Simple Bug

2006-11-13 Thread Chris Withers
Nancy Donnelly wrote: mailhost=getattr(context, context.superValues('Mail Host')[0].id) what should I substitute for Mail Host MailDrop Host likely, check the source for the correct meta type. Not really, it's a snippet for inserting into zope.conf alongside the other logging

Re: [Zope] Can't Track Simple Bug

2006-11-13 Thread Nancy Donnelly
- Original Message From: Chris Withers [EMAIL PROTECTED]To: Nancy Donnelly [EMAIL PROTECTED] From what Tres has said, you should build yourself a new Zope instance with mkzopeinstance.py and then install any products you need int othe new instance, then finalyl move the Data.fs into it.

Re: [Zope] Can't Track Simple Bug

2006-11-10 Thread Chris Withers
Nancy Donnelly wrote: 7373 You really need to sort your mail client out... You may also want to look at MailingLogger (http://www.simplistix.co.uk/software/zope/mailinglogger103) so that you get emailed salient log entries... Nice! I like that! But I'm confused on one thing. In your

Re: [Zope] Can't Track Simple Bug

2006-11-10 Thread Nancy Donnelly
- Original Message From: Chris Withers [EMAIL PROTECTED]First up, rifling through my trash, I noticed a response of yours to a previous email that I missed. Concerning the line of my script:try: mailhost=getattr(context, context.superValues('Mail Host')[0].id)what should I substitute for

Re: [Zope] Can't Track Simple Bug

2006-11-09 Thread Chris Withers
Nancy Donnelly wrote: 7171 What's with this appearing at the start of all your mails? Silly me! I got so caught up in that error that I didn't think to check the error log! It said it couldn't find a Mail Host. Now, on the first instance, I just added the regular plain vanilla mail host,

Re: [Zope] Can't Track Simple Bug

2006-11-09 Thread Chris Withers
Nancy Donnelly wrote: I have two Zope instances. On one of them, I have a boilerplate script that I use for all my clients' Web sites. Works fine. Has for years. I decided to copy it over to my other instance and I get an error. Here's the line in question: p tal:on-error=string:

Re: [Zope] Can't Track Simple Bug

2006-11-09 Thread Nancy Donnelly
7373- Original Message From: Chris Withers [EMAIL PROTECTED] p tal:on-error="string: mailScript() isn't defined! This should be in your *s* dir with the default installation." tal:replace="structure python:here.mailScript()" / This is extremely bad programming style. Look at

[Zope] Can't Track Simple Bug

2006-11-08 Thread Nancy Donnelly
7474Hi;I have two Zope instances. On one of them, I have a boilerplate script that I use for all my clients' Web sites. Works fine. Has for years. I decided to copy it over to my other instance and I get an error. Here's the line in question:p tal:on-error="string: mailScript() isn't defined!

Re: [Zope] Can't Track Simple Bug

2006-11-08 Thread Maciej Wisniowski
p tal:on-error=string: mailScript() isn't defined! This should be in your *s* dir with the default installation. tal:replace=structure python:here.mailScript() / Use just: p tal:replace=structure python:here.mailScript() / and tell us what error do you see now. tal:on-error catches

Re: [Zope] Can't Track Simple Bug

2006-11-08 Thread Nancy Donnelly
7171- Original Message From: Maciej Wisniowski [EMAIL PROTECTED] Use just: p tal:replace="structure python:here.mailScript()" / and tell us what error do you see now.Silly me! I got so caught up in that error that I didn't think to check the error log! It said it couldn't find a Mail