[Zope] Zope 2.5.1 import error on Red Hat 7.3
Dieter Maurer
dieter@handshake.de
Wed, 3 Jul 2002 20:44:35 +0200
Andrea Bacherini writes:
> we have import error with some zope plugins.
> This is a Traceback :
> Traceback (most recent call last):
> File "/home/Zope/lib/python/OFS/Application.py", line 531, in
> import_product product=__import__(pname, global_dict, global_dict, silly)
> File "/home/Zope/lib/python/Products/GUM/__init__.py", line 38, in ?
> import gum
> File "/home/Zope/lib/python/Products/GUM/gum.py", line 31, in ?
> from ZPublisher.HTTPRequest import html_quote
> ImportError: cannot import name html_quote
"GUM" imports "html_quote" from a strange place.
Change the import path to "DocumentTemplate.html_quote".
Dieter