Hmmm... I suppose it could be due to asn error routine that only imports regex when called... You might want to grep over the source and find where it gets imported. Where to look, of course, depends upon your zope setup. BTW, you didn't say which zope version you are using. Incidentally, the deprecation warning comes from python and not from zope. On Thu, 28 Aug 2003, Todd Loomis, (SAIC) wrote:
Thanks, however the site has been running for over a year and I've not installed any products recently!
============================================ Todd
-----Original Message----- From: Dennis Allison [mailto:allison@sumeru.stanford.EDU] Sent: Thursday, August 28, 2003 12:30 PM To: Todd Loomis, (SAIC) Cc: Zope@zope.org Subject: Re: [Zope] Help Error!!!
Todd, You have installed a product which use the old (deprecated) regex module rather than the current re module. It should not be a problem (it is only a warning). You may want to find the offending product and either upgrade to a newer version that uses re or modify the product to use re.
Your "zope not responding" problem is not related to this particular message.
On Thu, 28 Aug 2003, Todd Loomis, (SAIC) wrote:
All:
I'm getting this error message every time I try to start Zope:
/var/www/zope/lib/python/ts_regex.py:87: DeprecationWarning: the regex module is deprecated; please use the re module import regex, regsub #, Sync /usr/lib/python2.1/regsub.py:15: DeprecationWarning: the regsub module is deprecated; please use re.sub() DeprecationWarning)
What gives, it was working fine then I got a call saying the site wasn't responding. So I restarted Zope and got this. Any help will be greatly appreciated.
============================================
Todd
_______________________________________________ Zope maillist - Zope@zope.org http://mail.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://mail.zope.org/mailman/listinfo/zope-announce http://mail.zope.org/mailman/listinfo/zope-dev )