from ImageFile import ImageFile
__The short story__: I would like to recommend to all Product developers that for Product initialization, they please the statement: from App.ImageFile import ImageFile instead of: from ImageFile import ImageFile __The long story__: A colleague of mine recently went through much trouble, which eventually boiled down to a name- clash with piddle/PIL. Zope imports the name ImageFile into it's global namespace during startup. A lot of Products take advantage of this during Product initialization, by importing the name using: "form ImageFile import ImageFile" The Zope source, though, states explicitly that "this module will disappear in the future". At the very least, the following Products have trouble (and I suspect many more, as well): TinyTablePlus MetaPublisher LDAPAdapter ZDconfera ZSyncer ZOracleDA NISUserFolder Thanks, Ziniti
participants (1)
-
John Ziniti