[ZCM] [ZC] 2168/ 2 Assign "Five: deprecation warning breaks due to missing import"

Collector: Zope Bugs, Features, and Patches ... zope-coders-admin at zope.org
Sun Aug 20 12:41:07 EDT 2006


Issue #2168 Update (Assign) "Five: deprecation warning breaks due to missing import"
 Status Accepted, Zope/bug+solution critical
To followup, visit:
  http://www.zope.org/Collectors/Zope/2168

==============================================================
= Assign - Entry #2 by ajung on Aug 20, 2006 12:41 pm

 Status: Pending => Accepted

 Supporters added: philikon


________________________________________
= Request - Entry #1 by ree on Aug 20, 2006 12:34 pm

I found this in the new zope2.10 beta. It's a trivial missing "import warnings". However this means that the 2.10 and Five1.5 has to be re-released because all the code that wants to give this deprecation warning will be plain broken.
 
2006-08-20 17:59:41 ERROR Application Couldn't install Five
 Traceback (most recent call last):
  ...
  File "/usr/local/lib/zope2.10/lib/python/Products/Five/metaconfigure.py", line 51, in __init__
    warnings.warn_explicit(
zope.configuration.xmlconfig.ZopeXMLConfigurationError: File "/var/lib/zope2.10/instance/kukit/etc/site.zcml", line 18.2-18.23
    ZopeXMLConfigurationError: File "/var/lib/zope2.10/instance/kukit/Products/azax/configure.zcml", line 6.2-6.31    ZopeXMLConfigurationError: File "/var/lib/zope2.10/instance/kukit/Products/azax/plugins/configure.zcml", line 9.4-9.31
    ZopeXMLConfigurationError: File "/var/lib/zope2.10/instance/kukit/Products/azax/plugins/json/configure.zcml", line 82.8
    NameError: global name 'warnings' is not defined
==============================================================



More information about the Zope-Collector-Monitor mailing list